]> git.pld-linux.org Git - packages/beecrypt.git/commitdiff
- merged libbeecrypt move to /%{_lib} from AC-branch (but in simpler way)
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 22 Jun 2005 13:52:01 +0000 (13:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 4

Changed files:
    beecrypt.spec -> 1.56

beecrypt.spec

index 0ec934b681e83e1d99200ae6499075c54f14cb50..fc250176e6cd41c50ff9a6ea730495d1a33bd318 100644 (file)
@@ -12,7 +12,7 @@ Summary:      The BeeCrypt Cryptography Library
 Summary(pl):   Biblioteka kryptograficzna BeeCrypt
 Name:          beecrypt
 Version:       4.1.2
-Release:       2
+Release:       4
 Epoch:         2
 License:       LGPL
 Group:         Libraries
@@ -199,6 +199,7 @@ doxygen
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -208,6 +209,10 @@ rm -rf $RPM_BUILD_ROOT
        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
@@ -222,7 +227,7 @@ rm -rf $RPM_BUILD_ROOT
 %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)
This page took 0.039568 seconds and 4 git commands to generate.