From 5f1c5b71e6d2003c14297239b6512bbd9dca5f9c Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Tue, 13 Dec 2005 04:08:25 +0000 Subject: [PATCH] auto-import ldns-1.0.0-5 on branch devel from ldns-1.0.0-5.src.rpm --- .cvsignore | 1 + ldns.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 88 insertions(+) create mode 100644 ldns.spec diff --git a/.cvsignore b/.cvsignore index e69de29..e7ccc2f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ldns-1.0.0.tar.gz diff --git a/ldns.spec b/ldns.spec new file mode 100644 index 0000000..81847be --- /dev/null +++ b/ldns.spec @@ -0,0 +1,86 @@ +Summary: Lowlevel DNS(SEC) library with API +Name: ldns +Version: 1.0.0 +Release: 5%{?dist} +License: BSD +Url: http://open.nlnetlabs.nl/%{name}/ +Source: http://open.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 + +%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 +rm config.sub config.guess +libtoolize +autoreconf + +%configure + + +%build +%{__make} %{?_smp_mflags} allautoconf +%{__make} %{?_smp_mflags} +%{__make} %{?_smp_mflags} drill +%{__make} %{?_smp_mflags} examples +%{__make} %{?_smp_mflags} doc + +%install +rm -rf %{buildroot} + +export DESTDIR=%{buildroot} +%{__make} install +%{__make} examples-install +%{__make} install-doc +%{__make} drill-install +#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 + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_libdir}/libldns*so +%{_bindir}/drill +%{_bindir}/ldns-* +%doc README LICENSE ROADMAP TODO +%{_mandir}/*/* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/libldns.a +%dir %{_includedir}/ldns/* +%doc doc Changelog COMPILE + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%changelog +* Sun Dec 11 2005 Tom "spot" Callaway 1.0.0-5 +- minor cleanups + +* Wed Oct 5 2005 Paul Wouters 0.70_1205 +- reworked for svn version + +* Sun Sep 25 2005 Paul Wouters - 0.70 +- Initial version diff --git a/sources b/sources index e69de29..4a3eab8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bf8ff0868cacd2d4487ed1e28ea6c239 ldns-1.0.0.tar.gz