Version: 0.9.6
Release: 2
Group: Libraries
-Group(pl): Biblioteki
+Group(de): Libraries
Group(fr): Librairies
+Group(pl): Biblioteki
Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
Patch0: %{name}-perl.patch
Vendor: The OpenSSL Project
and use it for commercial and non-commercial purposes subject to some
simple license conditions.
-This package contains shared libraries only, install openssl-tools
-if you want to use openssl cmdline tool.
+This package contains shared libraries only, install openssl-tools if
+you want to use openssl cmdline tool.
%description -l de
Openssl enthält das OpenSSL Zertifikatsmanagementtool und shared
%package tools
Summary: OpenSSL command line tool and utilities
-Group: Utilities
-Group(pl): Narzêdzia
-Group(fr): Utilitaires
+Group: Applications/Communications
+Group(de): Applikationen/Kommunikation
+Group(pl): Aplikacje/Komunikacja
Requires: %{name} = %{version}
%description tools
%package tools-perl
Summary: OpenSSL utilities written in Perl
-Group: Utilities
-Group(pl): Narzêdzia
+Group: Applications/Communications
+Group(de): Applikationen/Kommunikation
Group(fr): Utilitaires
+Group(pl): Aplikacje/Komunikacja
Requires: %{name} = %{version}
%description tools-perl
Summary(fr): Librairies statiques, headers et utilitaires pour communication SSL
Summary(pl): Czê¶æ bibiloteki OpenSSL przeznaczona dla programistów
Group: Development/Libraries
-Group(pl): Programowanie/Biblioteki
+Group(de): Entwicklung/Libraries
Group(fr): Development/Librairies
+Group(pl): Programowanie/Biblioteki
Requires: %{name} = %{version}
%description devel
Summary: Static OpenSSL libraries
Summary(pl): Statyczne wersje bibliotek z OpenSSL
Group: Development/Libraries
-Group(pl): Programowanie/Biblioteki
+Group(de): Entwicklung/Libraries
Group(fr): Development/Librairies
+Group(pl): Programowanie/Biblioteki
Requires: %{name}-devel = %{version}
%description static
./Configure --openssldir=%{_var}/lib/%{name} linux-alpha shared
%endif
-%{__make} OPT_FLAGS="$RPM_OPT_FLAGS -DSSL_ALLOW_DH"
-%{__make} INSTALLTOP=%{_prefix} OPT_FLAGS="$RPM_OPT_FLAGS"
+%{__make} OPT_FLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -DSSL_ALLOW_DH"
+%{__make} INSTALLTOP=%{_prefix} \
+ OPT_FLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
%{__make} rehash
# Conv PODs to man pages. "openssl_" prefix is added to each manpage
for pod in *.pod; do
if [ $pod != "openssl.pod" ]; then
- mv $pod openssl_$pod;
+ mv -f $pod openssl_$pod;
pod=openssl_$pod;
fi
for pod in *.pod; do
sec=`[ "$pod" = "des_modes.pod" ] && echo 7 || echo 3`;
- mv $pod openssl_$pod;
+ mv -f $pod openssl_$pod;
pod=openssl_$pod;
manpage=`basename $pod .pod`.$sec;
pod2man --section="$sec" --release="$rel" --center=" " $pod > $manpage;
#make install DESTDIR=$RPM_BUILD_ROOT
#cd ..
-mv $RPM_BUILD_ROOT%{_var}/lib/%{name}/openssl.cnf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+mv -f $RPM_BUILD_ROOT%{_var}/lib/%{name}/openssl.cnf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
ln -s ../../../%{_sysconfdir}/%{name}/openssl.cnf \
$RPM_BUILD_ROOT%{_var}/lib/%{name}/%{name}.cnf
-mv $RPM_BUILD_ROOT%{_var}/lib/%{name}/misc/* $RPM_BUILD_ROOT%{_libdir}/%{name}
+mv -f $RPM_BUILD_ROOT%{_var}/lib/%{name}/misc/* $RPM_BUILD_ROOT%{_libdir}/%{name}
rm -rf $RPM_BUILD_ROOT%{_var}/lib/%{name}/misc
-mv $RPM_BUILD_ROOT%{_bindir}/c_rehash $RPM_BUILD_ROOT%{_libdir}/%{name}
-
-strip $RPM_BUILD_ROOT%{_bindir}/* || :
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
+mv -f $RPM_BUILD_ROOT%{_bindir}/c_rehash $RPM_BUILD_ROOT%{_libdir}/%{name}
find $RPM_BUILD_ROOT%{_mandir} -type f | xargs rm -f
install doc/apps/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
install doc/ssl/*.3 doc/crypto/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
install doc/crypto/*.7 $RPM_BUILD_ROOT%{_mandir}/man7
-gzip -9nf {CHANGES,CHANGES.SSLeay,LICENSE,NEWS,README,doc/*.txt}
+gzip -9nf CHANGES CHANGES.SSLeay LICENSE NEWS README doc/*.txt
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig