2024-01-06 05:51:31 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libssh
|
2024-01-06 05:51:34 +01:00
|
|
|
Version: 0.10.6
|
2024-01-06 05:51:32 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:51:31 +01:00
|
|
|
Summary: A library implementing the SSH protocol
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
2024-01-06 05:51:32 +01:00
|
|
|
URL: https://www.libssh.org/
|
2024-01-06 05:51:31 +01:00
|
|
|
Source: https://git.libssh.org/projects/libssh.git/libssh-%{version}/libssh-%{version}.tar.bz2
|
2024-01-06 05:51:31 +01:00
|
|
|
License: LGPL
|
|
|
|
BuildRequires: cmake
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:51:32 +01:00
|
|
|
BuildRequires: libe2fs-devel
|
|
|
|
BuildRequires: libkrb5-devel
|
2024-01-06 05:51:31 +01:00
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
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.
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 05:51:32 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DBUILD_STATIC_LIB=ON
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
install -D -m0644 build/src/libssh.a %{buildroot}%{_libdir}/libssh.a
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libssh.so.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libssh
|
|
|
|
%{_includedir}/libssh/*.h
|
2024-01-06 05:51:31 +01:00
|
|
|
%{_includedir}/libssh/*.hpp
|
2024-01-06 05:51:32 +01:00
|
|
|
%{_libdir}/libssh.a
|
2024-01-06 05:51:31 +01:00
|
|
|
%{_libdir}/libssh.so
|
|
|
|
%{_libdir}/pkgconfig/libssh.pc
|
2024-01-06 05:51:31 +01:00
|
|
|
%dir %{_libdir}/cmake/libssh
|
2024-01-06 05:51:32 +01:00
|
|
|
%{_libdir}/cmake/libssh/libssh-config*.cmake
|
2024-01-06 05:51:32 +01:00
|
|
|
%doc README
|
2024-01-06 05:51:31 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:51:34 +01:00
|
|
|
* Thu Dec 28 2023 Automatic Build System <autodist@mambasoft.it> 0.10.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:33 +01:00
|
|
|
* Fri May 05 2023 Automatic Build System <autodist@mambasoft.it> 0.10.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Thu Sep 08 2022 Automatic Build System <autodist@mambasoft.it> 0.10.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Tue Sep 06 2022 Automatic Build System <autodist@mambasoft.it> 0.10.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Sat Sep 03 2022 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Sun Aug 28 2022 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Fri Aug 27 2021 Automatic Build System <autodist@mambasoft.it> 0.9.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 0.9.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Thu Apr 09 2020 Automatic Build System <autodist@mambasoft.it> 0.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Tue Jan 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba
|
|
|
|
- rebuilt with static lib for qemu-static
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Tue Dec 10 2019 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Fri Nov 08 2019 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Tue Jul 02 2019 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 25 2019 Automatic Build System <autodist@mambasoft.it> 0.8.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 24 2018 Automatic Build System <autodist@mambasoft.it> 0.8.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 29 2018 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 17 2018 Automatic Build System <autodist@mambasoft.it> 0.8.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 21 2018 Automatic Build System <autodist@mambasoft.it> 0.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 31 2018 Automatic Build System <autodist@mambasoft.it> 0.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 28 2018 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Sat Apr 15 2017 Automatic Build System <autodist@mambasoft.it> 0.7.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:32 +01:00
|
|
|
* Fri Feb 03 2017 Automatic Build System <autodist@mambasoft.it> 0.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
* Wed Feb 24 2016 Automatic Build System <autodist@mambasoft.it> 0.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
* Fri Nov 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.2-1mamba
|
|
|
|
- update to 0.7.2
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
|
|
|
|
- update to 0.7.1
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
* Sun May 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.5-1mamba
|
|
|
|
- update to 0.6.5
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
* Sun Jan 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.4-1mamba
|
|
|
|
- update to 0.6.4
|
|
|
|
|
2024-01-06 05:51:31 +01:00
|
|
|
* Sun Apr 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.3-1mamba
|
|
|
|
- update to 0.6.3
|
|
|
|
|
|
|
|
* Mon Oct 07 2013 Automatic Build System <autodist@mambasoft.it> 0.5.5-1mamba
|
|
|
|
- update to 0.5.5
|
|
|
|
|
|
|
|
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 0.5.4-1mamba
|
|
|
|
- update to 0.5.4
|
|
|
|
|
|
|
|
* Sat Dec 08 2012 Automatic Build System <autodist@mambasoft.it> 0.5.3-1mamba
|
|
|
|
- update to 0.5.3
|
|
|
|
|
|
|
|
* Fri Jul 06 2012 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
|
|
|
|
- update to 0.5.2
|
|
|
|
|
|
|
|
* Fri Oct 01 2010 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 10 2010 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 0.4.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 17 2010 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 19 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.4.0-1mamba
|
|
|
|
- package created by autospec
|