]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
spec file from paul wouters
authorJelte Jansen <jelte@NLnetLabs.nl>
Mon, 2 Jun 2008 09:12:42 +0000 (09:12 +0000)
committerJelte Jansen <jelte@NLnetLabs.nl>
Mon, 2 Jun 2008 09:12:42 +0000 (09:12 +0000)
packaging/fedora/ldns.spec

index 8c4d036407522b2686a48cf1d0eeb39dc6820bfc..0dbf37adabd1c4b2fd814b96a09696fcfc9436a5 100644 (file)
-Summary: Lowlevel DNS(SEC) library with API
-Name: ldns
-Version: 1.3.0
-Release: 1%{?dist}
-License: BSD
-Url: http://www.nlnetlabs.nl/%{name}/
-Source: http://www.nlnetlabs.nl/downloads/%{name}-%{version}.tar.gz
-Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libtool, autoconf, automake, gcc-c++, openssl-devel, doxygen, perl
-
-%description
-ldns is a library with the aim to simplify DNS programing in C. All
-lowlevel DNS/DNSSEC operations are supported. We also define a higher
-level API which allows a programmer to (for instance) create or sign
-packets.
-
-%package devel
-Summary: Development package that includes the ldns header files
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}, openssl-devel
-
-%description devel
-The devel package contains the ldns library and the include files
-
-%prep
-%setup -q 
-
-# To built svn snapshots
-#rm config.guess config.sub ltmain.sh
-
-%configure --disable-rpath
-
-%build
-make %{?_smp_mflags}
-(cd drill ; %configure --disable-rpath --with-ldns=../ldns/)
-(cd examples ; %configure --disable-rpath --with-ldns=../ldns/)
-( cd drill ; make %{?_smp_mflags} )
-( cd examples ; make %{?_smp_mflags} )
-make %{?_smp_mflags} doc
-
-%install
-rm -rf %{buildroot}
-
-make DESTDIR=%{buildroot} install
-make DESTDIR=%{buildroot} install-doc
-
-# don't package building script in doc
-rm doc/doxyparse.pl
-#remove doc stubs
-rm -rf doc/.svn
-#remove double set of man pages
-rm -rf doc/man
-
-# remove .la files
-rm -rf %{buildroot}%{_libdir}/*.la
-(cd drill ; make DESTDIR=%{buildroot} install)
-(cd examples; make DESTDIR=%{buildroot} install)
-
-%clean
-rm -rf %{buildroot}
-
-%files 
-%defattr(-,root,root)
-%{_libdir}/libldns*so
-%{_bindir}/drill
-%{_bindir}/ldns-*
-%{_bindir}/ldnsd
-%doc README LICENSE 
-%{_mandir}/*/*
-
-%files devel
-%defattr(-,root,root,-)
-%{_libdir}/libldns.a
-%dir %{_includedir}/ldns/*
-%doc doc Changelog README
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-%changelog
-* Wed Nov 21 2007 Jelte Jansen <jelte@NLnetLabs.nl> 1.2.2-1
-- Added support for HMAC-MD5 keys in generator
-- Added a new example tool (written by Ondrej Sury): ldns-compare-zones
-- ldns-keygen now checks key sizes for rfc conformancy
-- ldns-signzone outputs SSL error if present
-- Fixed manpages (thanks to Ondrej Sury)
-- Fixed Makefile for -j <x>
-- Fixed a $ORIGIN error when reading zones
-- Fixed another off-by-one error
-
-* Tue Sep 18 2007 Jelte Jansen <jelte@NLnetLabs.nl> 1.2.1-1
-- Updated spec file for release
-
-* Wed Aug  8 2007 Paul Wouters <paul@xelerance.com> 1.2.0-10
-- Patch for ldns-key2ds to write to stdout
-- Again remove extra set of man pages from doc
-
-* Wed Aug  8 2007 Paul Wouters <paul@xelerance.com> 1.2.0-10
-- Added sha256 DS record patch to ldns-key2ds
-- Minor tweaks for proper doc/man page installation.
-- Workaround for parallel builds
-
-* Mon Aug  6 2007 Paul Wouters <paul@xelerance.com> 1.2.0-2
-- Own the /usr/include/ldns directory (bug #233858)
-- Removed obsoleted patch
-- Remove files form previous libtool run accidentally packages by upstream
-
-* Mon Sep 11 2006 Paul Wouters <paul@xelerance.com> 1.0.1-4
-- Commented out 1.1.0 make targets, put make 1.0.1 targets.
-
-* Mon Sep 11 2006 Paul Wouters <paul@xelerance.com> 1.0.1-3
-- Fixed changelog typo in date
-- Rebuild requested for PT_GNU_HASH support from gcc
-- Did not upgrade to 1.1.0 due to compile issues on x86_64
-
-* Fri Jan  6 2006 Paul Wouters <paul@xelerance.com> 1.0.1-1
-- Upgraded to 1.0.1. Removed temporary clean hack from spec file.
-
-* Sun Dec 18 2005 Paul Wouters <paul@xelerance.com> 1.0.0-8
-- Cannot use make clean because there are no Makefiles. Use hardcoded rm.
-
-* Sun Dec 18 2005 Paul Wouters <paul@xelerance.com> 1.0.0-7
-- Patched 'make clean' target to get rid of object files shipped with 1.0.0
-
-* Sun Dec 13 2005 Paul Wouters <paul@xelerance.com> 1.0.0-6
-- added a make clean for 2.3.3 since .o files were left behind upstream,
-  causing failure on ppc platform
-
-* Sun Dec 11 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.0.0-5
-- minor cleanups
-
-* Wed Oct  5 2005 Paul Wouters <paul@xelerance.com> 0.70_1205
-- reworked for svn version
-
-* Sun Sep 25 2005 Paul Wouters <paul@xelerance.com> - 0.70
-- Initial version
+Summary: Lowlevel DNS(SEC) library with API\r
+Name: ldns\r
+Version: 1.3.0\r
+Release: 1%{?dist}\r
+License: BSD\r
+Url: http://www.nlnetlabs.nl/%{name}/\r
+Source: http://www.nlnetlabs.nl/downloads/%{name}-%{version}.tar.gz\r
+Group: System Environment/Libraries\r
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)\r
+BuildRequires: libtool, autoconf, automake, gcc-c++, openssl-devel, doxygen, perl libpcap-devel\r
+\r
+%description\r
+ldns is a library with the aim to simplify DNS programing in C. All\r
+lowlevel DNS/DNSSEC operations are supported. We also define a higher\r
+level API which allows a programmer to (for instance) create or sign\r
+packets.\r
+\r
+%package devel\r
+Summary: Development package that includes the ldns header files\r
+Group: Development/Libraries\r
+Requires: %{name} = %{version}-%{release}, openssl-devel\r
+\r
+%description devel\r
+The devel package contains the ldns library and the include files\r
+\r
+%prep\r
+%setup -q \r
+# To built svn snapshots\r
+#rm config.guess config.sub ltmain.sh\r
+#libtoolize\r
+#autoreconf\r
+\r
+%configure --disable-rpath\r
+\r
+%build\r
+\r
+make %{?_smp_mflags}\r
+(cd drill ; %configure --disable-rpath --with-ldns=../ldns/)\r
+(cd examples ; %configure --disable-rpath --with-ldns=../ldns/)\r
+( cd drill ; make %{?_smp_mflags} )\r
+( cd examples ; make %{?_smp_mflags} )\r
+make %{?_smp_mflags} doc\r
+\r
+%install\r
+rm -rf %{buildroot}\r
+\r
+make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install \r
+make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install-doc\r
+\r
+# don't package building script in doc\r
+rm doc/doxyparse.pl\r
+#remove doc stubs\r
+rm -rf doc/.svn\r
+#remove double set of man pages\r
+rm -rf doc/man\r
+\r
+# remove .la files\r
+rm -rf %{buildroot}%{_libdir}/*.la\r
+(cd drill ; make DESTDIR=%{buildroot} install)\r
+(cd examples; make DESTDIR=%{buildroot} install)\r
+\r
+%clean\r
+rm -rf %{buildroot}\r
+\r
+%files \r
+%defattr(-,root,root)\r
+%{_libdir}/libldns*so.*\r
+%{_bindir}/drill\r
+%{_bindir}/ldns-*\r
+%{_bindir}/ldnsd\r
+%doc README LICENSE \r
+%{_mandir}/*/*\r
+\r
+%files devel\r
+%defattr(-,root,root,-)\r
+%{_libdir}/libldns.a\r
+%{_libdir}/libldns*so\r
+%dir %{_includedir}/ldns\r
+%{_includedir}/ldns/*.h\r
+%doc doc Changelog README\r
+\r
+%post -p /sbin/ldconfig\r
+\r
+%postun -p /sbin/ldconfig\r
+\r
+%changelog\r
+* Wed May 28 2008 Paul Wouters <paul@xelerance.com> - 1.3.0-1\r
+- Updated to latest release\r
+\r
+* Wed Dec  5 2007 Paul Wouters <paul@xelerance.com> - 1.2.2-2\r
+- Rebuild for new libcrypto\r
+\r
+* Thu Nov 29 2007 Paul Wouters <paul@xelerance.com> - 1.2.2-1\r
+- Upgraded to 1.2.2. Removed no longer needed race workaround\r
+\r
+* Tue Nov 13 2007 Paul Wouters <paul@xelerance.com> - 1.2.1-4\r
+- Try to fix racing ln -s statements in parallel builds\r
+\r
+* Fri Nov  9 2007 Paul Wouters <paul@xelerance.com> - 1.2.1-3\r
+- Added patch for ldns-read-zone that does not put @. in RRDATA\r
+\r
+* Fri Oct 19 2007 Paul Wouters <paul@xelerance.com> - 1.2.1-2\r
+- Use install -p to work around multilib conflicts for .h files\r
+\r
+* Wed Oct 10 2007 Paul Wouters <paul@xelerance.com> - 1.2.1-1\r
+- Updated to 1.2.1\r
+- Removed patches that got moved into upstream\r
+\r
+* Wed Aug  8 2007 Paul Wouters <paul@xelerance.com> 1.2.0-11\r
+- Patch for ldns-key2ds to write to stdout\r
+- Again remove extra set of man pages from doc\r
+- own /usr/include/ldns (bug 233858)\r
+\r
+* Wed Aug  8 2007 Paul Wouters <paul@xelerance.com> 1.2.0-10\r
+- Added sha256 DS record patch to ldns-key2ds\r
+- Minor tweaks for proper doc/man page installation.\r
+- Workaround for parallel builds\r
+\r
+* Mon Aug  6 2007 Paul Wouters <paul@xelerance.com> 1.2.0-2\r
+- Own the /usr/include/ldns directory (bug #233858)\r
+- Removed obsoleted patch\r
+- Remove files form previous libtool run accidentally packages by upstream\r
+\r
+* Mon Sep 11 2006 Paul Wouters <paul@xelerance.com> 1.0.1-4\r
+- Commented out 1.1.0 make targets, put make 1.0.1 targets.\r
+\r
+* Mon Sep 11 2006 Paul Wouters <paul@xelerance.com> 1.0.1-3\r
+- Fixed changelog typo in date\r
+- Rebuild requested for PT_GNU_HASH support from gcc\r
+- Did not upgrade to 1.1.0 due to compile issues on x86_64\r
+\r
+* Fri Jan  6 2006 Paul Wouters <paul@xelerance.com> 1.0.1-1\r
+- Upgraded to 1.0.1. Removed temporary clean hack from spec file.\r
+\r
+* Sun Dec 18 2005 Paul Wouters <paul@xelerance.com> 1.0.0-8\r
+- Cannot use make clean because there are no Makefiles. Use hardcoded rm.\r
+\r
+* Sun Dec 18 2005 Paul Wouters <paul@xelerance.com> 1.0.0-7\r
+- Patched 'make clean' target to get rid of object files shipped with 1.0.0\r
+\r
+* Sun Dec 13 2005 Paul Wouters <paul@xelerance.com> 1.0.0-6\r
+- added a make clean for 2.3.3 since .o files were left behind upstream,\r
+  causing failure on ppc platform\r
+\r
+* Sun Dec 11 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.0.0-5\r
+- minor cleanups\r
+\r
+* Wed Oct  5 2005 Paul Wouters <paul@xelerance.com> 0.70_1205\r
+- reworked for svn version\r
+\r
+* Sun Sep 25 2005 Paul Wouters <paul@xelerance.com> - 0.70\r
+- Initial version\r