automatic version update by autodist [release 3.0.0-1mamba;Fri Sep 24 2021]
This commit is contained in:
parent
d321d82884
commit
b63776b2c8
35
openssl.spec
35
openssl.spec
@ -1,7 +1,7 @@
|
|||||||
%define soversion %(echo %version | cut -d. -f1-2)
|
%define soversion %(echo %version | cut -d. -f1)
|
||||||
%define fullversion %(echo %version | tr -d [:alpha:])
|
%define fullversion %(echo %version | tr -d [:alpha:])
|
||||||
Name: openssl
|
Name: openssl
|
||||||
Version: 1.1.1l
|
Version: 3.0.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Secure Sockets Layer communications libs and utils
|
Summary: Secure Sockets Layer communications libs and utils
|
||||||
Group: Network/Security
|
Group: Network/Security
|
||||||
@ -22,7 +22,6 @@ BuildRequires: libz-devel
|
|||||||
BuildRequires: perl-WWW-Curl
|
BuildRequires: perl-WWW-Curl
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
#BuildRequires: perl-WWW-Curl
|
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
@ -46,7 +45,7 @@ This product includes software written by Tim Hudson (tjh@cryptsoft.com).
|
|||||||
Summary: Library Devel for OpenSSL
|
Summary: Library Devel for OpenSSL
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: lib%{name} = %{version}-%{release}
|
Requires: lib%{name} = %{version}-%{release}
|
||||||
Obsoletes: libopenssl097-devel
|
Obsoletes: libopenssl097-devel < 3.0.0
|
||||||
|
|
||||||
%description -n lib%{name}-devel
|
%description -n lib%{name}-devel
|
||||||
Library symlinks and include files needed to compile apps with support for various cryptographic algorithms and protocols, including DES, RC4, RSA and SSL.
|
Library symlinks and include files needed to compile apps with support for various cryptographic algorithms and protocols, including DES, RC4, RSA and SSL.
|
||||||
@ -68,11 +67,6 @@ Static libraries needed to compile apps with support for various cryptographic a
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n openssl-%{version}
|
%setup -q -n openssl-%{version}
|
||||||
#-D -T
|
#-D -T
|
||||||
#%patch0 -p1
|
|
||||||
|
|
||||||
# Using Fedora versioning patch
|
|
||||||
#%patch1 -p1
|
|
||||||
#sed -i 's/SHLIB_VERSION_NUMBER "1.0.0"/SHLIB_VERSION_NUMBER "%{version}"/' crypto/opensslv.h
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< _EOF
|
#:<< _EOF
|
||||||
@ -90,7 +84,7 @@ Static libraries needed to compile apps with support for various cryptographic a
|
|||||||
enable-ec_nistp_64_gcc_128 \
|
enable-ec_nistp_64_gcc_128 \
|
||||||
%endif
|
%endif
|
||||||
%ifarch arm
|
%ifarch arm
|
||||||
linux-generic32 \
|
linux-latomic \
|
||||||
%endif
|
%endif
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
linux-aarch64 \
|
linux-aarch64 \
|
||||||
@ -135,12 +129,12 @@ done
|
|||||||
|
|
||||||
%makeinstall libdir=%{_libdir}
|
%makeinstall libdir=%{_libdir}
|
||||||
|
|
||||||
rename so.%{soversion} so.%{fullversion} %{buildroot}%{_libdir}/*.so.%{soversion}
|
#rename so.%{soversion} so.%{fullversion} %{buildroot}%{_libdir}/*.so.%{soversion}
|
||||||
for lib in %{buildroot}%{_libdir}/*.so.%{fullversion} ; do
|
#for lib in %{buildroot}%{_libdir}/*.so.%{fullversion} ; do
|
||||||
chmod 755 ${lib}
|
# chmod 755 ${lib}
|
||||||
ln -s -f `basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/`basename ${lib} .%{fullversion}`
|
# ln -s -f `basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/`basename ${lib} .%{fullversion}`
|
||||||
ln -s -f `basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/`basename ${lib} .%{fullversion}`.%{soversion}
|
# ln -s -f `basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/`basename ${lib} .%{fullversion}`.%{soversion}
|
||||||
done
|
#done
|
||||||
|
|
||||||
chmod 755 %{buildroot}%{_libdir}/pkgconfig
|
chmod 755 %{buildroot}%{_libdir}/pkgconfig
|
||||||
chmod 644 %{buildroot}%{_libdir}/pkgconfig/*.pc
|
chmod 644 %{buildroot}%{_libdir}/pkgconfig/*.pc
|
||||||
@ -202,7 +196,9 @@ install -m 0755 -D %{SOURCE1} %{buildroot}%{_sbindir}/openssl-makecerts
|
|||||||
%{_libdir}/libssl.so.*
|
%{_libdir}/libssl.so.*
|
||||||
%dir %{_libdir}/engines-%{soversion}
|
%dir %{_libdir}/engines-%{soversion}
|
||||||
%{_libdir}/engines-%{soversion}/*.so
|
%{_libdir}/engines-%{soversion}/*.so
|
||||||
%doc LICENSE
|
%dir %{_libdir}/ossl-modules
|
||||||
|
%{_libdir}/ossl-modules/legacy.so
|
||||||
|
%doc LICENSE.txt
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -215,13 +211,16 @@ install -m 0755 -D %{SOURCE1} %{buildroot}%{_sbindir}/openssl-makecerts
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
%dir %{_datadir}/doc/openssl
|
%dir %{_datadir}/doc/openssl
|
||||||
%{_datadir}/doc/openssl/*
|
%{_datadir}/doc/openssl/*
|
||||||
%doc CHANGES* FAQ NEWS README*
|
%doc CHANGES* README*
|
||||||
|
|
||||||
%files -n lib%{name}-static
|
%files -n lib%{name}-static
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 24 2021 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Wed Aug 25 2021 Automatic Build System <autodist@mambasoft.it> 1.1.1l-1mamba
|
* Wed Aug 25 2021 Automatic Build System <autodist@mambasoft.it> 1.1.1l-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user