SPECS: libdomainkeys.spec - up to 0.66; shared library

arekm arekm at pld-linux.org
Sat Jun 25 16:24:55 CEST 2005


Author: arekm                        Date: Sat Jun 25 14:24:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.66; shared library

---- Files affected:
SPECS:
   libdomainkeys.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libdomainkeys.spec
diff -u SPECS/libdomainkeys.spec:1.1 SPECS/libdomainkeys.spec:1.2
--- SPECS/libdomainkeys.spec:1.1	Sat Jun 25 15:05:51 2005
+++ SPECS/libdomainkeys.spec	Sat Jun 25 16:24:50 2005
@@ -1,15 +1,13 @@
 # $Revision$, $Date$
-# TODO:
-# - port to libtool && produce shared library
-
 Summary:	DomainKey Library for email servers & clients
 Name:		libdomainkeys
-Version:	0.65a
+Version:	0.66
 Release:	1
 License:	Yahoo! DomainKeys Public License Agreement v1.1
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/domainkeys/%{name}-%{version}.tar.gz
-# Source0-md5:	7d246213e832e86a25e1741063266a34
+# Source0-md5:	38ee9fa346a837662f06e7e098bfb7da
+Patch0:		%{name}-libtool.patch
 URL:		http://domainkeys.sourceforge.net/
 BuildRequires:	openssl-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -44,6 +42,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make} \
@@ -53,10 +52,11 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
 
+install dknewkey dktest $RPM_BUILD_ROOT%{_bindir}
 install domainkeys.h $RPM_BUILD_ROOT%{_includedir}
-install *.a $RPM_BUILD_ROOT%{_libdir}
+libtool install libdomainkeys.la $RPM_BUILD_ROOT%{_libdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -67,19 +67,19 @@
 %files
 %defattr(644,root,root,755)
 %doc *.html CHANGES
+%attr(755,root,root) %{_bindir}/*
 %{_includedir}/*.h
-%attr(755,root,root) %{_libdir}/*.a
-#%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
-#%files devel
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/lib*.so
-#%{_libdir}/lib*.la
-#%dir %{_includedir}/*.h
-
-#%files static
-#%defattr(644,root,root,755)
-#%{_libdir}/lib*.a
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%dir %{_includedir}/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -87,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/06/25 14:24:50  arekm
+- up to 0.66; shared library
+
 Revision 1.1  2005/06/25 13:05:51  arekm
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libdomainkeys.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list