automatic version update by autodist [release 1.10.0-1mamba;Tue Aug 31 2021]

This commit is contained in:
Automatic Build System 2024-01-06 05:51:48 +01:00
parent 726a990886
commit 1645f00b71

View File

@ -1,23 +1,20 @@
Name: libssh2
Version: 1.8.2
Version: 1.10.0
Release: 1mamba
Summary: A library implementing the SSH2 protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.libssh2.org/
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.libssh2.org/
Source: http://www.libssh2.org/download/libssh2-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRequires: libopenssl-devel >= 1.0.2h
BuildRequires: libz-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
@ -29,8 +26,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%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.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%debug_package
@ -40,26 +36,12 @@ This package contains static libraries and header files need for development.
%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
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%ifarch x86_64
mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/cmake
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -74,7 +56,6 @@ mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/cmake
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
#%{_libdir}/*.la
%{_libdir}/libssh2.so
%{_libdir}/pkgconfig/libssh2.pc
%dir %{_libdir}/cmake/libssh2
@ -84,6 +65,9 @@ mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/cmake
%{_mandir}/man3/*.3.gz
%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
- automatic version update by autodist