SPECS: beecrypt.spec - merged libbeecrypt move to /%{_lib} from AC...

qboosh qboosh at pld-linux.org
Wed Jun 22 15:52:06 CEST 2005


Author: qboosh                       Date: Wed Jun 22 13:52:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged libbeecrypt move to /%{_lib} from AC-branch (but in simpler way)
- release 4

---- Files affected:
SPECS:
   beecrypt.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: SPECS/beecrypt.spec
diff -u SPECS/beecrypt.spec:1.55 SPECS/beecrypt.spec:1.56
--- SPECS/beecrypt.spec:1.55	Fri Jun 17 21:49:27 2005
+++ SPECS/beecrypt.spec	Wed Jun 22 15:52:01 2005
@@ -13,7 +13,7 @@
 Summary(pl):	Biblioteka kryptograficzna BeeCrypt
 Name:		beecrypt
 Version:	4.1.2
-Release:	2
+Release:	4
 Epoch:		2
 License:	LGPL
 Group:		Libraries
@@ -200,6 +200,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -209,6 +210,10 @@
 	DESTDIR=$RPM_BUILD_ROOT
 %endif
 
+mv -f $RPM_BUILD_ROOT%{_libdir}/libbeecrypt.so.*.*.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libbeecrypt.so.*.*.*) \
+	$RPM_BUILD_ROOT%{_libdir}/libbeecrypt.so
+
 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
 
 %clean
@@ -223,7 +228,7 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS BENCHMARKS BUGS CONTRIBUTORS NEWS README
-%attr(755,root,root) %{_libdir}/libbeecrypt.so.*.*.*
+%attr(755,root,root) /%{_lib}/libbeecrypt.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
@@ -272,6 +277,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2005/06/22 13:52:01  qboosh
+- merged libbeecrypt move to /%{_lib} from AC-branch (but in simpler way)
+- release 4
+
 Revision 1.55  2005/06/17 19:49:27  twittner
 - added bcond_without static_libs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/beecrypt.spec?r1=1.55&r2=1.56&f=u




More information about the pld-cvs-commit mailing list