rebuilt with static lib for qemu-static [release 0.9.3-2mamba;Tue Jan 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:51:32 +01:00
parent 5287b8bdbe
commit 602b0e781f

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libssh
Version: 0.9.3
Release: 1mamba
Release: 2mamba
Summary: A library implementing the SSH protocol
Group: System/Libraries
Vendor: openmamba
@ -30,17 +30,23 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%cmake -d build \
-DBUILD_STATIC_LIB=ON
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -D -m0644 build/src/libssh.a %{buildroot}%{_libdir}/libssh.a
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -58,6 +64,7 @@ This package contains static libraries and header files need for development.
%dir %{_includedir}/libssh
%{_includedir}/libssh/*.h
%{_includedir}/libssh/*.hpp
%{_libdir}/libssh.a
%{_libdir}/libssh.so
#%{_libdir}/libssh_threads.so
%{_libdir}/pkgconfig/libssh.pc
@ -67,6 +74,9 @@ This package contains static libraries and header files need for development.
%doc ChangeLog README
%changelog
* Tue Jan 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba
- rebuilt with static lib for qemu-static
* Tue Dec 10 2019 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
- automatic version update by autodist