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
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libstdc++-devel
-BuildRequires: libtool
+BuildRequires: libtool >= 2:1.5
BuildRequires: unzip
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
%{__autoheader}
%{__automake}
-%configure \
- CXXFLAGS="%{rpmcxxflags}"
+%configure
%{__make}
%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)