libssh2/libssh2.spec

136 lines
4.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: libssh2
Version: 1.10.0
Release: 2mamba
Summary: A library implementing the SSH2 protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.libssh2.org/
Source: http://www.libssh2.org/download/libssh2-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRequires: libopenssl-devel >= 3.0.0
BuildRequires: libz-devel
%description
Libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-PUBLICKEY.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-PUBLICKEY.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n %{name}-%{version}
%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}/libssh2.so.*
%doc COPYING README
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libssh2.so
%{_libdir}/pkgconfig/libssh2.pc
%dir %{_libdir}/cmake/libssh2
%{_libdir}/cmake/libssh2/*
%dir %{_docdir}/libssh2
%{_docdir}/libssh2/*
%{_mandir}/man3/*.3.gz
%changelog
* Fri Oct 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-2mamba
- rebuilt with libopenssl 3.0.0
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* Wed May 22 2019 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Tue Mar 19 2019 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* 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
- rebuilt with openssl 1.0.2h
* Thu Feb 25 2016 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Sat Jun 27 2015 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic version update by autodist
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
- automatic update by autodist
* Tue May 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-2mamba
- rebuilt with current libgcrypt (1.6)
* Thu Nov 29 2012 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
- automatic version update by autodist
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic version update by autodist
* Mon Apr 16 2012 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Fri Apr 08 2011 Automatic Build System <autodist@mambasoft.it> 1.2.8-1mamba
- automatic update by autodist
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 1.2.7-1mamba
- automatic update by autodist
* Sun Jun 27 2010 Automatic Build System <autodist@mambasoft.it> 1.2.6-1mamba
- automatic update by autodist
* Wed Nov 18 2009 Davide Madrisan <davide.madrisan@gmail.com> 1.2.2-1mamba
- update to 1.2.2
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic update by autodist
* Sun Apr 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- automatic update by autodist
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- automatic update by autodist
* Tue Dec 04 2007 Aleph0 <aleph0@openmamba.org> 0.18-1mamba
- update to 0.18
* Sun Oct 14 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17-1mamba
- update to 0.17
* Thu Apr 12 2007 Aleph0 <aleph0@openmamba.org> 0.15-20070322-1mamba
- package created by autospec