]> git.pld-linux.org Git - packages/cryptopp.git/blame - cryptopp.spec
fix .pl summary, cleanup dropped -progs desc, package .la
[packages/cryptopp.git] / cryptopp.spec
CommitLineData
472a31a8 1%define orig_ver 561
1e862315 2Summary: Cryptopp Library - a free C++ class library of cryptographic schemes
6081e9d5 3Summary(pl.UTF-8): Cryptopp - biblioteka klas C++ dostarczająca narzędzia do kryptografii
1e862315 4Name: cryptopp
472a31a8 5Version: 5.6.1
0114b496 6Release: 1
ff61087a 7License: GPL
1e862315 8Group: Libraries
36035fac 9Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}%{orig_ver}.zip
472a31a8 10# Source0-md5: 96cbeba0907562b077e26bcffb483828
0114b496 11Patch0: %{name}-autotools.patch
472a31a8 12Patch1: cxx.patch
1e862315 13URL: http://www.cryptopp.com/
0114b496 14BuildRequires: autoconf
15BuildRequires: automake
1e862315 16BuildRequires: libstdc++-devel
0114b496 17BuildRequires: libtool
1e862315 18BuildRequires: unzip
ff61087a 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Cryptopp Library is a free C++ class library of cryptographic schemes.
23
92858504 24%description -l pl.UTF-8
6081e9d5 25Cryptopp jest biblioteką klas C++ dostarczającą narzędzia do kryptografii.
ff61087a 26
27
28%package devel
1e862315 29Summary: Files for development of applications which will use Cryptopp
e414df15 30Summary(pl.UTF-8): Pliki do tworzenia aplikacji używających Cryptopp
1e862315
JB
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
ff61087a 33
34%description devel
1e862315 35Files for development of applications which will use Cryptopp.
ff61087a 36
92858504
JR
37%description devel -l pl.UTF-8
38Pliki do tworzenia aplikacji używających Cryptopp.
ff61087a 39
1e862315
JB
40%package static
41Summary: Static Cryptopp library
e414df15 42Summary(pl.UTF-8): Statyczna biblioteka Cryptopp
1e862315
JB
43Group: Development/Libraries
44Requires: %{name}-devel = %{version}-%{release}
ff61087a 45
1e862315
JB
46%description static
47Static Cryptopp library.
ff61087a 48
92858504 49%description static -l pl.UTF-8
1e862315 50Statyczna biblioteka Cryptopp.
ff61087a 51
ff61087a 52%prep
1e862315 53%setup -q -c
0fcd268d 54%patch0 -p1
472a31a8 55%patch1 -p0
ff61087a 56
57%build
0114b496 58%{__libtoolize}
59%{__aclocal}
60%{__autoconf}
61%{__autoheader}
62%{__automake}
63
64%configure \
65 CXXFLAGS="%{rpmcxxflags} -DCRYPTOPP_DISABLE_X86ASM"
472a31a8 66
ff61087a 67%{__make}
68
472a31a8
PS
69./cryptest v
70
ff61087a 71%install
1e862315 72rm -rf $RPM_BUILD_ROOT
ff61087a 73
472a31a8
PS
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
ff61087a 76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
1e862315
JB
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
ff61087a 83%files
1e862315 84%defattr(644,root,root,755)
ff61087a 85%doc License.txt Readme.txt
472a31a8 86%attr(755,root,root) %ghost %{_libdir}/libcryptopp.so.4
1e862315 87%attr(755,root,root) %{_libdir}/libcryptopp.so.*.*.*
ff61087a 88
89%files devel
1e862315 90%defattr(644,root,root,755)
1e862315 91%{_includedir}/cryptopp
6081e9d5
PS
92%attr(755,root,root) %{_libdir}/libcryptopp.la
93%attr(755,root,root) %{_libdir}/libcryptopp.so
1e862315
JB
94
95%files static
96%defattr(644,root,root,755)
97%{_libdir}/libcryptopp.a
This page took 0.05198 seconds and 4 git commands to generate.