%include /usr/lib/rpm/macros.perl
Summary: OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
Summary(de): Secure Sockets Layer (SSL)-Kommunikationslibrary
-Summary(es): Biblioteca C que suministra algoritmos y protocolos criptográficos.
+Summary(es): Biblioteca C que suministra algoritmos y protocolos criptográficos
Summary(fr): Utilitaires de communication SSL (Secure Sockets Layer)
Summary(pl): Biblioteki OpenSSL (SSL v2/v3)
-Summary(pt_BR): Uma biblioteca C que fornece vários algoritmos e protocolos criptográficos.
+Summary(pt_BR): Uma biblioteca C que fornece vários algoritmos e protocolos criptográficos
Summary(ru): âÉÂÌÉÏÔÅËÉ É ÕÔÉÌÉÔÙ ÄÌÑ ÓÏÅÄÉÎÅÎÉÊ ÞÅÒÅÚ Secure Sockets Layer
Summary(uk): â¦Â̦ÏÔÅËÉ ÔÁ ÕÔÉ̦ÔÉ ÄÌÑ Ú'¤ÄÎÁÎØ ÞÅÒÅÚ Secure Sockets Layer
Name: openssl
-Version: 0.9.6c
+Version: 0.9.6g
Release: 2
License: Apache-style License
Vendor: The OpenSSL Project
Group: Libraries
Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
Source1: %{name}-ca-bundle.crt
+Source2: %{name}.1.pl
Patch0: %{name}-alpha-ccc.patch
# patch1 is only for 0.9.6a version. This version isn't binary
# compatibile with 0.9.6 but have this same soname.
Patch2: %{name}-optflags.patch
Patch3: %{name}-nocrypt.patch
Patch4: %{name}-globalCA.diff
-Patch5: %{name}-0.9.6c-security.patch
BuildRequires: perl-devel >= 5.6.1
BuildRequires: textutils
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch2 -p1
%patch3 -p1
%patch4 -p1
-%patch5 -p0
%build
for f in ` grep -r "%{_prefix}/local/bin/perl" . | cut -d":" -f1`; do
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_libdir}/%{name}} \
- $RPM_BUILD_ROOT{%{_mandir}/man{1,3,5,7},%{_datadir}/ssl}
+ $RPM_BUILD_ROOT{%{_mandir}/{pl/man1,man{1,3,5,7}},%{_datadir}/ssl}
%{__make} install \
INSTALLTOP=%{_prefix} \
install doc/apps/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
install doc/ssl/*.3 doc/crypto/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
install doc/crypto/*.7 $RPM_BUILD_ROOT%{_mandir}/man7
+install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/openssl.1
-gzip -9nf CHANGES CHANGES.SSLeay LICENSE NEWS README doc/*.txt
+%clean
+rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so.*.*
-%doc *.gz doc/*.txt.gz doc/openssl_button.gif doc/openssl_button.html
+%doc CHANGES CHANGES.SSLeay LICENSE NEWS README doc/*.txt
+%doc doc/openssl_button.gif doc/openssl_button.html
%files tools
%defattr(644,root,root,755)
%{_mandir}/man1/openssl_rand.1*
%{_mandir}/man1/openssl_req.1*
%{_mandir}/man1/openssl_rsa.1*
+%{_mandir}/man1/openssl_rsautl.1*
%{_mandir}/man1/openssl_s_client.1*
%{_mandir}/man1/openssl_s_server.1*
%{_mandir}/man1/openssl_sess_id.1*
%{_mandir}/man1/openssl_version.1*
%{_mandir}/man1/openssl_x509.1*
%{_mandir}/man5/*.5*
+%lang(pl) %{_mandir}/pl/man1/openssl.1*
%files tools-perl
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so
%{_includedir}/%{name}
%{_mandir}/man3/*.3*
+%{_mandir}/man7/*.7*
%files static
%defattr(644,root,root,755)