automatic version update by autodist [release 1.10.0-1mamba;Tue Aug 31 2021]
This commit is contained in:
parent
726a990886
commit
1645f00b71
32
libssh2.spec
32
libssh2.spec
@ -1,23 +1,20 @@
|
|||||||
Name: libssh2
|
Name: libssh2
|
||||||
Version: 1.8.2
|
Version: 1.10.0
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A library implementing the SSH2 protocol
|
Summary: A library implementing the SSH2 protocol
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.libssh2.org/
|
URL: https://www.libssh2.org/
|
||||||
Source: http://www.libssh2.org/download/libssh2-%{version}.tar.gz
|
Source: http://www.libssh2.org/download/libssh2-%{version}.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: ldconfig
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libgcrypt-devel
|
|
||||||
BuildRequires: libgpg-error-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libopenssl-devel >= 1.0.2h
|
BuildRequires: libopenssl-devel >= 1.0.2h
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-PUBLICKEY.
|
Libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-PUBLICKEY.
|
||||||
@ -29,8 +26,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-PUBLICKEY.
|
Libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-PUBLICKEY.
|
||||||
|
This package contains static libraries and header files needed for development.
|
||||||
This package contains static libraries and header files need for development.
|
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
@ -40,26 +36,12 @@ This package contains static libraries and header files need for development.
|
|||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake -d build
|
||||||
|
|
||||||
#% configure \
|
|
||||||
# --enable-shared \
|
|
||||||
# --disable-static \
|
|
||||||
# --with-libgcrypt=%{_prefix} \
|
|
||||||
# --with-openssl=%{_prefix} \
|
|
||||||
# --with-libz=%{_prefix} \
|
|
||||||
#%if "%{_host}" != "%{_build}"
|
|
||||||
# CFLAGS="-lgpg-error"
|
|
||||||
#%endif
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
%ifarch x86_64
|
|
||||||
mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/cmake
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
@ -74,7 +56,6 @@ mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/cmake
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
#%{_libdir}/*.la
|
|
||||||
%{_libdir}/libssh2.so
|
%{_libdir}/libssh2.so
|
||||||
%{_libdir}/pkgconfig/libssh2.pc
|
%{_libdir}/pkgconfig/libssh2.pc
|
||||||
%dir %{_libdir}/cmake/libssh2
|
%dir %{_libdir}/cmake/libssh2
|
||||||
@ -84,6 +65,9 @@ mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/cmake
|
|||||||
%{_mandir}/man3/*.3.gz
|
%{_mandir}/man3/*.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Wed May 22 2019 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
|
* Wed May 22 2019 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user