[packages/cryptopp] - cleanups

qboosh qboosh at pld-linux.org
Sun Sep 30 19:06:52 CEST 2012


commit 4c7740b98197981bf4b0a4b137d6a51a5adc3745
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 30 19:08:08 2012 +0200

    - cleanups

 cryptopp.spec | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/cryptopp.spec b/cryptopp.spec
index 7fae51f..fb12b8f 100644
--- a/cryptopp.spec
+++ b/cryptopp.spec
@@ -4,9 +4,9 @@ Summary(pl.UTF-8):	Cryptopp - biblioteka klas C++ dostarczająca narzędzia do k
 Name:		cryptopp
 Version:	5.6.1
 Release:	2
-License:	GPL
+License:	BSD-like
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}%{orig_ver}.zip
+Source0:	http://downloads.sourceforge.net/cryptopp/%{name}%{orig_ver}.zip
 # Source0-md5:	96cbeba0907562b077e26bcffb483828
 Patch0:		%{name}-autotools.patch
 Patch1:		cxx.patch
@@ -14,7 +14,7 @@ URL:		http://www.cryptopp.com/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libstdc++-devel
-BuildRequires:	libtool
+BuildRequires:	libtool >= 2:1.5
 BuildRequires:	unzip
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,8 +22,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Cryptopp Library is a free C++ class library of cryptographic schemes.
 
 %description -l pl.UTF-8
-Cryptopp jest biblioteką klas C++ dostarczającą narzędzia do kryptografii.
-
+Cryptopp jest biblioteką klas C++ dostarczającą narzędzia do
+kryptografii.
 
 %package devel
 Summary:	Files for development of applications which will use Cryptopp
@@ -61,8 +61,7 @@ Statyczna biblioteka Cryptopp.
 %{__autoheader}
 %{__automake}
 
-%configure \
-	CXXFLAGS="%{rpmcxxflags}"
+%configure
 
 %{__make}
 
@@ -83,14 +82,14 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc License.txt Readme.txt
-%attr(755,root,root) %ghost %{_libdir}/libcryptopp.so.4
 %attr(755,root,root) %{_libdir}/libcryptopp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcryptopp.so.4
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/cryptopp
-%attr(755,root,root) %{_libdir}/libcryptopp.la
 %attr(755,root,root) %{_libdir}/libcryptopp.so
+%{_libdir}/libcryptopp.la
+%{_includedir}/cryptopp
 
 %files static
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cryptopp.git/commitdiff/4c7740b98197981bf4b0a4b137d6a51a5adc3745



More information about the pld-cvs-commit mailing list