[ldns-users] ldns fedora spec file and signed binaries available
Paul Wouters
paul at xelerance.com
Thu Oct 6 02:21:02 UTC 2005
On Thu, 6 Oct 2005, Paul Wouters wrote:
> Attached is spec file for ldns SVN version 1205 that adds support for
I ofcourse still want a mailer plugin that detects the word "attached" in
the body of an email and refuses to send the mail unless it finds an
actual attachment :)
Spec file attached. Really.
Paul
-------------- next part --------------
Summary: Lowlevel DNS(SEC) library with API
Name: ldns
Version: 0.70_1205
Release: 2
License: LGPL
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)
Requires: openssl
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
rm -rf %{buildroot}
%setup -q
libtoolize && autoreconf
#this is really a bad hack, and should be fixed in the 'make install' target
./configure --prefix=%{buildroot}%{_prefix} --libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir} --mandir=%{buildroot}%{_mandir}
%build
%{__make} %{?_smp_mflags}
#%{__make} %{?_smp_mflags} examples
%{__make} %{?_smp_mflags} doc
%install
#install -d 0755 %{buildroot}%{_includedir}/ldns
#install -d 0755 %{buildroot}%{_libdir}
#install -d 0755 %{buildroot}%{_mandir}/man3
%{__make} install
%{__make} install-doc
#%{__make} examples
#remove doc stubs
rm -r doc/.svn
#remove double set of man pages
rm -r doc/man
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_libdir}/libldns*so
%doc README LICENSE ROADMAP TODO
%doc %{_mandir}/*/*
%files devel
%defattr(-,root,root,-)
%{_libdir}/libldns.la
%{_libdir}/libldns.a
%dir %{_includedir}/ldns/*
%doc doc
%doc Changelog COMPILE
%pre
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%changelog
* Wed Oct 5 2005 Paul Wouters <paul at xelerance.com> 0.70_1205
- reworked for svn version
* Sun Sep 25 2005 Paul Wouters <paul at xelerance.com> - 0.70
- Initial version
More information about the ldns-users
mailing list