09a270
Name: hesiod
09a270
Version: 3.2.1
09a270
Release: 11%{?dist}
09a270
License: MIT
09a270
Summary: Shared libraries for querying the Hesiod naming service
09a270
09a270
Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz
09a270
BuildRequires: autoconf, automake, libtool, libidn-devel
09a270
Obsoletes: hesinfo < 3.2
09a270
09a270
%description
09a270
Hesiod is a system which uses existing DNS functionality to provide access
09a270
to databases of information that changes infrequently.  It is often used to
09a270
distribute information kept in the /etc/passwd, /etc/group, and /etc/printcap
09a270
files, among others.
09a270
09a270
%package devel
09a270
Summary: Development libraries and headers for Hesiod
09a270
Requires: hesiod = %{version}-%{release}
09a270
09a270
%description devel
09a270
Hesiod is a system which uses existing DNS functionality to provide access
09a270
to databases of information that changes infrequently.  It is often used to
09a270
distribute information which might otherwise kept in the /etc/passwd,
09a270
/etc/group, and /etc/printcap files over a network, eliminating the need to
09a270
ensure the files are synchronized among multiple hosts.  This package contains
09a270
the header files and libraries required for building programs which use Hesiod.
09a270
09a270
%prep
09a270
%setup -q
09a270
autoreconf -vif
09a270
09a270
%build
09a270
%configure --disable-static
09a270
make
09a270
09a270
%install
09a270
make install DESTDIR=$RPM_BUILD_ROOT
09a270
# Remove libtool archives and static libs
09a270
find %{buildroot} -type f -name "*.la" -delete
09a270
09a270
%post -p /sbin/ldconfig
09a270
09a270
%postun -p /sbin/ldconfig
09a270
09a270
%files
09a270
%license COPYING
09a270
%doc README NEWS
09a270
%{_bindir}/*
09a270
%{_libdir}/libhesiod.so.*
09a270
%{_mandir}/man1/*
09a270
%{_mandir}/man5/*
09a270
09a270
%files devel
09a270
%{_libdir}/libhesiod.so
09a270
%{_libdir}/pkgconfig/*
09a270
%{_includedir}/hesiod.h
09a270
%{_mandir}/man3/*
09a270
09a270
%changelog
09a270
* Mon Apr  2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.1-11
09a270
- Cleanup and modernise spec
09a270
09a270
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-10
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
09a270
09a270
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-9
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
09a270
09a270
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-8
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
09a270
09a270
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-7
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
09a270
09a270
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-6
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
09a270
09a270
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-5
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
09a270
09a270
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-4
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
09a270
09a270
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-3
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
09a270
09a270
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
09a270
09a270
* Wed Apr  3 2013 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.2.1-1
09a270
- update to 3.2.1
09a270
  - merged all patches or equivalents
09a270
  - re-merged hesinfo, so we obsolete it now
09a270
  - adds a pkgconfig configuration file for libhesiod
09a270
- correct inconsistent changelog dates, assuming day-of-week is correct
09a270
- add build requirement on libidn-devel
09a270
- package the license
09a270
09a270
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-23
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
09a270
09a270
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-22
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
09a270
09a270
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-21
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
09a270
09a270
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-20
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
09a270
09a270
* Fri Feb 19 2010 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-19
09a270
- fix the release number noted for the previous changelog entry (#225884)
09a270
- remove unapplied "classes" patch (#225884)
09a270
09a270
* Wed Jan 13 2010 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-18
09a270
- adjust buildroot location (guidelines)
09a270
- disable static libraries (guidelines)
09a270
- tweak default payload attributes (guidelines)
09a270
09a270
* Tue Oct 13 2009 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-17
09a270
- add a disttag
09a270
09a270
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-16
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
09a270
09a270
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-15
09a270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
09a270
09a270
* Tue Dec  2 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-14
09a270
- adjust the package summary
09a270
09a270
* Tue Jul 22 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-13
09a270
- rebuild
09a270
09a270
* Thu Jun 12 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-12
09a270
- call aclocal directly, because autoreconf didn't see the magic comment in
09a270
  the distributed version of aclocal.m4 which made it look like it was safe
09a270
  to generate a new one (#449550)
09a270
09a270
* Mon Jun  2 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-11
09a270
- force autoreconf to overwrite files (should fix #449550)
09a270
09a270
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.1.0-10
09a270
- Autorebuild for GCC 4.3
09a270
09a270
* Wed Aug 23 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-9
09a270
- rebuild
09a270
09a270
* Mon Jul 17 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-8
09a270
- rebuild
09a270
09a270
* Fri Jul  7 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-7
09a270
- use the system libtool to consistently link libhesiod.la with libresolv
09a270
09a270
* Fri Jul  7 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-6
09a270
- run autoreconf instead of autoconf after untarring so that we get a
09a270
  config.h.in which suits the changes we make to configure.in (part of #197938)
09a270
09a270
* Tue Jun 20 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-5
09a270
- don't override libtool's defaults for permissions on its .la file, because
09a270
  we don't get debuginfo if the execute bit isn't set (pjones, in #190219)
09a270
09a270
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 3.1.0-4
09a270
- rebuild for -devel deps
09a270
09a270
* Thu Mar 30 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-3
09a270
- no, we really did need that patch
09a270
09a270
* Thu Mar 30 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-2
09a270
- drop a no-longer-needed patch for detecting libresolv properly
09a270
09a270
* Thu Mar 30 2006 Nalin Dahyabhai <nalin@redhat.com> - 3.1.0-1
09a270
- update to 3.1.0 (#187372)
09a270
09a270
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0.2-31.2.1
09a270
- bump again for double-long bug on ppc(64)
09a270
09a270
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0.2-31.2
09a270
- rebuilt for new gcc4.1 snapshot and glibc changes
09a270
09a270
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
09a270
- rebuilt
09a270
09a270
* Wed Mar 16 2005 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-31
09a270
- rebuild
09a270
09a270
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
09a270
- rebuilt
09a270
09a270
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
09a270
- rebuilt
09a270
09a270
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
09a270
- rebuilt
09a270
09a270
* Sun Oct 19 2003 Florian La Roche <Florian.LaRoche@redhat.de>
09a270
- add a %%clean specfile target
09a270
09a270
* Mon Jun 16 2003 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-28
09a270
- rebuild
09a270
09a270
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
09a270
- rebuilt
09a270
09a270
* Mon Jan 27 2003 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-26
09a270
- link libhesiod with libresolv on all platforms
09a270
09a270
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 3.0.2-25
09a270
- rebuilt
09a270
09a270
* Fri Jan 10 2003 Phil Knirsch <pknirsch@redhat.com> 3.0.2-24
09a270
- Fixed wrong .so name for s390/s390x.
09a270
09a270
* Fri Jan 10 2003 Phil Knirsch <pknirsch@redhat.com> 3.0.2-23
09a270
- Build shared lib correctly on s390 and s390x (with gcc -shared -fPIC).
09a270
09a270
* Wed Sep 25 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-22
09a270
- look harder for res_mkquery() in libresolv
09a270
09a270
* Wed Aug 21 2002 Nalin Dahyabhai <nalin@redhat.com>
09a270
- don't choke on large response packets
09a270
09a270
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
09a270
- automated rebuild
09a270
09a270
* Sun May 26 2002 Tim Powers <timp@redhat.com>
09a270
- automated rebuild
09a270
09a270
* Thu May 16 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-19
09a270
- rebuild in new environment
09a270
09a270
* Mon Apr 15 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-18
09a270
- add missing post/postun calls to ldconfig
09a270
09a270
* Wed Feb 20 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-17
09a270
- rebuild in new environment
09a270
09a270
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
09a270
- automated rebuild
09a270
09a270
* Fri Oct 26 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-15
09a270
- actually set the soname in the shared library (ld doesn't automatically
09a270
  set the soname to the output file's name, oops)
09a270
09a270
* Fri Oct  5 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0.2-14
09a270
- on second thought, put the shared library back in, using a soversion of 0
09a270
  to have a chance at providing compatibility with apps linked dynamically
09a270
  on other distributions
09a270
- make -devel depend on the same version of the main package
09a270
09a270
* Wed Oct  3 2001 Nalin Dahyabhai <nalin@redhat.com>
09a270
- remove the shared library patch -- different packages with shared libraries
09a270
  tend to use different sonames, so we'd run inevitably run into problems
09a270
09a270
* Thu Aug 23 2001 Nalin Dahyabhai <nalin@redhat.com>
09a270
- remove pre and post scripts -- authconfig handles that stuff now
09a270
- add the hesiod man page back in, as bind-devel doesn't provide it any more
09a270
09a270
* Wed Jan 17 2001 Jeremy Katz <jlkatz@eos.ncsu.edu>
09a270
- hesiod-devel requires hesiod (bug #128)
09a270
09a270
* Thu Sep 14 2000 Jeremy Katz <jlkatz@eos.ncsu.edu>
09a270
- remove hesiod man page from hesiod-devel as it conflicts with the one 
09a270
  from bind-devel
09a270
09a270
* Thu Sep 14 2000 Jeremy Katz <jlkatz@eos.ncsu.edu>
09a270
- use rpm macros where possible and FHS-ify
09a270
- split into main and devel packages
09a270
- add back requires for nscd
09a270
09a270
* Fri Jul 28 2000 Jeremy Katz <jlkatz@eos.ncsu.edu>
09a270
- rebuild in new environment
09a270
09a270
* Thu Mar 16 2000 Jeremy Katz <jlkatz@unity.ncsu.edu>
09a270
- rebuild in new environment
09a270
09a270
* Thu Sep  2 1999 Nalin Dahyabhai <nsdahya1@eos.ncsu.edu>
09a270
- removed dependency on nscd
09a270
- changed requires: nscd back to caching-nameserver
09a270
09a270
* Mon May 17 1999 Nalin Dahyabhai <nsdahya1@eos.ncsu.edu>
09a270
- started changelog
09a270
- moved addition of hesiod to nsswitch.conf to this package because we
09a270
  no longer use a separate libnss_hesiod.so
09a270
- changed requires: caching-nameserver to nscd
09a270
- added post-install script snippet to activate nscd on install