SPECS: cryptopp.spec - up to 5.5.2 - autoize with autotools patch ...
tommat
tommat at pld-linux.org
Tue Feb 12 10:01:43 CET 2008
Author: tommat Date: Tue Feb 12 09:01:43 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 5.5.2
- autoize with autotools patch
- BR autotools, builds
---- Files affected:
SPECS:
cryptopp.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/cryptopp.spec
diff -u SPECS/cryptopp.spec:1.10 SPECS/cryptopp.spec:1.11
--- SPECS/cryptopp.spec:1.10 Mon Feb 12 22:23:51 2007
+++ SPECS/cryptopp.spec Tue Feb 12 10:01:38 2008
@@ -1,19 +1,21 @@
# $Revision$, $Date$
-%define _orig_name cryptopp
-%define _orig_ver 521
+%define _orig_ver 552
Summary: Cryptopp Library - a free C++ class library of cryptographic schemes
Summary(pl.UTF-8): Cryptopp - klasa C++ dostarczająca narzędzia do kryptografii
Name: cryptopp
-Version: 5.2.1
-Release: 0.1
+Version: 5.5.2
+Release: 1
License: GPL
Vendor: Wei Dai
Group: Libraries
-Source0: http://dl.sourceforge.net/%{name}/%{_orig_name}%{_orig_ver}.zip
-# Source0-md5: 82a00c44235ccbae2bedf9cb16c40ac3
-Patch0: crypto-5.2.patch.bz2
+Source0: http://dl.sourceforge.net/%{name}/%{name}%{_orig_ver}.zip
+# Source0-md5: a889be9d9ad5c202c925fb105caa4857
+Patch0: %{name}-autotools.patch
URL: http://www.cryptopp.com/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: libstdc++-devel
+BuildRequires: libtool
BuildRequires: unzip
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -63,10 +65,16 @@
%prep
%setup -q -c
%patch0 -p1
-chmod 755 configure
%build
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
+%configure \
+ CXXFLAGS="%{rpmcxxflags} -DCRYPTOPP_DISABLE_X86ASM"
%{__make}
%install
@@ -76,7 +84,7 @@
install -d $RPM_BUILD_ROOT%{_includedir}/cryptopp
install -d $RPM_BUILD_ROOT%{_datadir}/cryptopp
-install .libs/cryptest $RPM_BUILD_ROOT%{_bindir}
+install .libs/cryptest $RPM_BUILD_ROOT%{_bindir}/cryptest
cp -a .libs/libcryptopp.so* $RPM_BUILD_ROOT%{_libdir}
install .libs/libcryptopp.a $RPM_BUILD_ROOT%{_libdir}
install *.h $RPM_BUILD_ROOT%{_includedir}/cryptopp
@@ -113,6 +121,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2008-02-12 09:01:38 tommat
+- up to 5.5.2
+- autoize with autotools patch
+- BR autotools, builds
+
Revision 1.10 2007-02-12 21:23:51 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cryptopp.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list