auto-import ldns-1.0.0-5 on branch devel from ldns-1.0.0-5.src.rpm

This commit is contained in:
Paul Wouters 2005-12-13 04:08:25 +00:00
parent 1a014b7422
commit 5f1c5b71e6
3 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1 @@
ldns-1.0.0.tar.gz

86
ldns.spec Normal file
View File

@ -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 <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

View File

@ -0,0 +1 @@
bf8ff0868cacd2d4487ed1e28ea6c239 ldns-1.0.0.tar.gz