From 520edf3e49349aad3c9fb8530f9fcc36895bb343 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:51:47 +0100 Subject: [PATCH] automatic version update by autodist [release 1.8.0-1mamba;Sun Sep 30 2018] --- libssh2.spec | 43 ++++++++++++++++++++++++++++--------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/libssh2.spec b/libssh2.spec index a3816fe..8ff9152 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -1,6 +1,6 @@ Name: libssh2 -Version: 1.7.0 -Release: 2mamba +Version: 1.8.0 +Release: 1mamba Summary: A library implementing the SSH2 protocol Group: System/Libraries Vendor: openmamba @@ -38,21 +38,27 @@ This package contains static libraries and header files need for development. %setup -q -n %{name}-%{version} %build -%configure \ - --enable-shared \ - --disable-static \ - --with-libgcrypt \ - --with-openssl \ - --with-libz \ -%if "%{_host}" != "%{_build}" - CFLAGS="-lgpg-error" -%endif +%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 +%makeinstall -C build + +%ifarch x86_64 +mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/cmake +%endif %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -62,18 +68,25 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -%{_libdir}/*.so.* +%{_libdir}/libssh2.so.* %doc COPYING README %files devel %defattr(-,root,root) %{_includedir}/*.h -%{_libdir}/*.la -%{_libdir}/*.so +#%{_libdir}/*.la +%{_libdir}/libssh2.so %{_libdir}/pkgconfig/libssh2.pc +%dir %{_libdir}/cmake/libssh2 +%{_libdir}/cmake/libssh2/* +%dir %{_docdir}/libssh2 +%{_docdir}/libssh2/* %{_mandir}/man3/*.3.gz %changelog +* Sun Sep 30 2018 Automatic Build System 1.8.0-1mamba +- automatic version update by autodist + * Sun Jul 24 2016 Silvan Calarco 1.7.0-2mamba - rebuilt with openssl 1.0.2h