From: Jelte Jansen Date: Wed, 12 Oct 2005 09:25:44 +0000 (+0000) Subject: new spec file from Paul Wouters X-Git-Tag: release-1.0.0~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a02e2cb04d1d7bbb30ab15282b41aac130fad2a;p=thirdparty%2Fldns.git new spec file from Paul Wouters --- diff --git a/packaging/fedora/ldns.spec b/packaging/fedora/ldns.spec index bbbccdfb..d6660eab 100644 --- a/packaging/fedora/ldns.spec +++ b/packaging/fedora/ldns.spec @@ -1,8 +1,8 @@ Summary: Lowlevel DNS(SEC) library with API Name: ldns Version: 1.0.0 -Release: 2 -License: BSD (revised) +Release: 4 +License: LGPL Url: http://open.nlnetlabs.nl/%{name}/ Source: http://open.nlnetlabs.nl/downloads/%{name}-%{version}.tar.gz Group: System Environment/Libraries @@ -29,26 +29,24 @@ rm -rf %{buildroot} %setup -q libtoolize autoreconf + %configure -#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} allautoconf %{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags} drill -#%{__make} %{?_smp_mflags} examples +%{__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 +export DESTDIR=%{buildroot} %{__make} install +%{__make} examples-install %{__make} install-doc %{__make} drill-install -#%{__make} examples #remove doc stubs rm -rf doc/.svn #remove double set of man pages @@ -60,6 +58,8 @@ rm -rf %{buildroot} %files %defattr(-,root,root) %{_libdir}/libldns*so +%{_bindir}/drill +%{_bindir}/ldns-* %doc README LICENSE ROADMAP TODO %doc %{_mandir}/*/* @@ -85,6 +85,3 @@ rm -rf %{buildroot} * Sun Sep 25 2005 Paul Wouters - 0.70 - Initial version - - -