Blame SPECS/hesiod.spec

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