2 Summary: Cryptopp Library - a free C++ class library of cryptographic schemes
3 Summary(pl.UTF-8): Cryptopp - biblioteka klas C++ dostarczająca narzędzia do kryptografii
9 Source0: http://downloads.sourceforge.net/cryptopp/%{name}%{orig_ver}.zip
10 # Source0-md5: 96cbeba0907562b077e26bcffb483828
11 Patch0: %{name}-autotools.patch
13 URL: http://www.cryptopp.com/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.5
19 Obsoletes: cryptopp-progs
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Cryptopp Library is a free C++ class library of cryptographic schemes.
25 %description -l pl.UTF-8
26 Cryptopp jest biblioteką klas C++ dostarczającą narzędzia do
30 Summary: Files for development of applications which will use Cryptopp
31 Summary(pl.UTF-8): Pliki do tworzenia aplikacji używających Cryptopp
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Files for development of applications which will use Cryptopp.
38 %description devel -l pl.UTF-8
39 Pliki do tworzenia aplikacji używających Cryptopp.
42 Summary: Static Cryptopp library
43 Summary(pl.UTF-8): Statyczna biblioteka Cryptopp
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
48 Static Cryptopp library.
50 %description static -l pl.UTF-8
51 Statyczna biblioteka Cryptopp.
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %defattr(644,root,root,755)
85 %doc License.txt Readme.txt
86 %attr(755,root,root) %{_libdir}/libcryptopp.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libcryptopp.so.4
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libcryptopp.so
92 %{_libdir}/libcryptopp.la
93 %{_includedir}/cryptopp
96 %defattr(644,root,root,755)
97 %{_libdir}/libcryptopp.a