2024-01-06 05:51:31 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libssh
|
2024-01-06 05:51:32 +01:00
|
|
|
Version: 0.9.0
|
2024-01-06 05:51:31 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library implementing the SSH protocol
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
|
|
URL: http://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
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libssh.so.*
|
2024-01-06 05:51:32 +01:00
|
|
|
#%{_libdir}/libssh_threads.so.*
|
2024-01-06 05:51:31 +01:00
|
|
|
%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:31 +01:00
|
|
|
%{_libdir}/libssh.so
|
2024-01-06 05:51:32 +01:00
|
|
|
#%{_libdir}/libssh_threads.so
|
2024-01-06 05:51:31 +01:00
|
|
|
%{_libdir}/pkgconfig/libssh.pc
|
2024-01-06 05:51:32 +01:00
|
|
|
#%{_libdir}/pkgconfig/libssh_threads.pc
|
2024-01-06 05:51:31 +01:00
|
|
|
%dir %{_libdir}/cmake/libssh
|
|
|
|
%{_libdir}/cmake/libssh/libssh-config-version.cmake
|
|
|
|
%{_libdir}/cmake/libssh/libssh-config.cmake
|
2024-01-06 05:51:31 +01:00
|
|
|
%doc ChangeLog README
|
|
|
|
|
|
|
|
%changelog
|
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
|