SPECS: ldns.spec - added ssl patch, BR+R: openssl-devel - fix brok...

qboosh qboosh at pld-linux.org
Thu Aug 18 00:35:19 CEST 2005


Author: qboosh                       Date: Wed Aug 17 22:35:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added ssl patch, BR+R: openssl-devel
- fix broken manual symlinks

---- Files affected:
SPECS:
   ldns.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/ldns.spec
diff -u SPECS/ldns.spec:1.3 SPECS/ldns.spec:1.4
--- SPECS/ldns.spec:1.3	Wed Aug 17 23:57:42 2005
+++ SPECS/ldns.spec	Thu Aug 18 00:35:14 2005
@@ -13,10 +13,12 @@
 Source0:	http://www.nlnetlabs.nl/downloads/%{name}-%{version}.tar.gz
 # Source0-md5:	d94b88a090aaba2e6b79d02b4eb4752f
 Patch0:		%{name}-DESTDIR.patch
+Patch1:		%{name}-ssl.patch
 URL:		http://www.nlnetlabs.nl/ldns/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libtool
+BuildRequires:	openssl-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -32,6 +34,7 @@
 Summary(pl):	Pliki nagłówkowe biblioteki ldns
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	openssl-devel
 
 %description devel
 Header files for ldns library.
@@ -54,6 +57,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -65,6 +69,14 @@
 %{__make}
 %{__make} doc
 
+# change symlinks into .so redirects
+cd doc/man/man3
+for f in `find . -type l`; do
+	d=`readlink $f`
+	rm -f $f
+	echo ".so $d" > $f
+done
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -87,8 +99,7 @@
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_includedir}/%{name}
-# don't remove `.gz' (because you'll get plenty of dead symlinks)
-%{_mandir}/man3/*.gz
+%{_mandir}/man3/*.3*
 
 %if %{with static_libs}
 %files static
@@ -102,6 +113,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/08/17 22:35:14  qboosh
+- added ssl patch, BR+R: openssl-devel
+- fix broken manual symlinks
+
 Revision 1.3  2005/08/17 21:57:42  qboosh
 - unified summary style, BR: automake (aclocal)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ldns.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list