Blame SPECS/hesiod.spec

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