- Minor tweaks for proper doc/man page installation.

This commit is contained in:
Paul Wouters 2007-08-08 16:12:08 +00:00
parent 7caff9b2de
commit ca74d7fcb1

View File

@ -1,14 +1,14 @@
Summary: Lowlevel DNS(SEC) library with API
Name: ldns
Version: 1.2.0
Release: 4%{?dist}
Release: 5%{?dist}
License: BSD
Url: http://open.nlnetlabs.nl/%{name}/
Source: http://open.nlnetlabs.nl/downloads/%{name}-%{version}.tar.gz
Patch0: ldns-1.2.x-key2ds-SHA256.patch
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool, autoconf, automake, gcc-c++, openssl-devel, doxygen
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
@ -27,12 +27,11 @@ The devel package contains the ldns library and the include files
%prep
%setup -q
%patch0
# left by upstream
rm config.guess config.sub ltmain.sh
chmod a-x doc/doxyparse.pl
#temp enable
libtoolize
autoreconf
# To built svn snapshots
#rm config.guess config.sub ltmain.sh
#libtoolize
#autoreconf
%configure --disable-rpath
@ -47,17 +46,16 @@ make %{?_smp_mflags} doc
%install
rm -rf %{buildroot}
export DESTDIR=%{buildroot}
make install
make install-doc
make DESTDIR=%{buildroot} install
make DESTDIR=%{buildroot} install-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 install)
(cd examples; make install)
(cd drill ; make DESTDIR=%{buildroot} install)
(cd examples; make DESTDIR=%{buildroot} install)
%clean
rm -rf %{buildroot}
@ -82,8 +80,9 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig
%changelog
* Mon Aug 8 2007 Paul Wouters <paul@xelerance.com> 1.2.0-4
* Mon Aug 8 2007 Paul Wouters <paul@xelerance.com> 1.2.0-5
- Added sha256 DS record patch to ldns-key2ds
- Minor tweaks for proper doc/man page installation.
* Mon Aug 6 2007 Paul Wouters <paul@xelerance.com> 1.2.0-2
- Own the /usr/include/ldns directory (bug #233858)