automatic version update by autodist [release 1.8.0-1mamba;Sun Sep 30 2018]

This commit is contained in:
Automatic Build System 2024-01-06 05:51:47 +01:00
parent 98cf8e98f3
commit 520edf3e49

View File

@ -1,6 +1,6 @@
Name: libssh2 Name: libssh2
Version: 1.7.0 Version: 1.8.0
Release: 2mamba 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
@ -38,21 +38,27 @@ This package contains static libraries and header files need for development.
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%build %build
%configure \ %cmake -d build
--enable-shared \
--disable-static \ #% configure \
--with-libgcrypt \ # --enable-shared \
--with-openssl \ # --disable-static \
--with-libz \ # --with-libgcrypt=%{_prefix} \
%if "%{_host}" != "%{_build}" # --with-openssl=%{_prefix} \
CFLAGS="-lgpg-error" # --with-libz=%{_prefix} \
%endif #%if "%{_host}" != "%{_build}"
# CFLAGS="-lgpg-error"
#%endif
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %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}"
@ -62,18 +68,25 @@ This package contains static libraries and header files need for development.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libssh2.so.*
%doc COPYING README %doc COPYING README
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/*.h %{_includedir}/*.h
%{_libdir}/*.la #%{_libdir}/*.la
%{_libdir}/*.so %{_libdir}/libssh2.so
%{_libdir}/pkgconfig/libssh2.pc %{_libdir}/pkgconfig/libssh2.pc
%dir %{_libdir}/cmake/libssh2
%{_libdir}/cmake/libssh2/*
%dir %{_docdir}/libssh2
%{_docdir}/libssh2/*
%{_mandir}/man3/*.3.gz %{_mandir}/man3/*.3.gz
%changelog %changelog
* Sun Sep 30 2018 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba * Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
- rebuilt with openssl 1.0.2h - rebuilt with openssl 1.0.2h