libssh/libssh.spec

192 lines
6.2 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: libssh
Version: 0.11.1
Release: 1mamba
Summary: A library implementing the SSH protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://www.libssh.org/
Source: https://git.libssh.org/projects/libssh.git/libssh-%{version}/libssh-%{version}.tar.bz2
License: LGPL
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libe2fs-devel
BuildRequires: libkrb5-devel
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.
%debug_package
%prep
%setup -q
%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}"
%files
%defattr(-,root,root)
%{_libdir}/libssh.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libssh
%{_includedir}/libssh/*.h
%{_includedir}/libssh/*.hpp
%{_libdir}/libssh.a
%{_libdir}/libssh.so
%{_libdir}/pkgconfig/libssh.pc
%dir %{_libdir}/cmake/libssh
%{_libdir}/cmake/libssh/libssh-config*.cmake
%doc README
%changelog
* Sat Aug 31 2024 Automatic Build System <autodist@openmamba.org> 0.11.1-1mamba
- automatic version update by autodist
* Sat Aug 10 2024 Automatic Build System <autodist@openmamba.org> 0.11.0-1mamba
- automatic version update by autodist
* Thu Dec 28 2023 Automatic Build System <autodist@mambasoft.it> 0.10.6-1mamba
- automatic version update by autodist
* Fri May 05 2023 Automatic Build System <autodist@mambasoft.it> 0.10.5-1mamba
- automatic version update by autodist
* Thu Sep 08 2022 Automatic Build System <autodist@mambasoft.it> 0.10.4-1mamba
- automatic version update by autodist
* Tue Sep 06 2022 Automatic Build System <autodist@mambasoft.it> 0.10.3-1mamba
- automatic version update by autodist
* Sat Sep 03 2022 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
- automatic version update by autodist
* Sun Aug 28 2022 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
- automatic version update by autodist
* Fri Aug 27 2021 Automatic Build System <autodist@mambasoft.it> 0.9.6-1mamba
- automatic version update by autodist
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 0.9.5-1mamba
- automatic version update by autodist
* Thu Apr 09 2020 Automatic Build System <autodist@mambasoft.it> 0.9.4-1mamba
- automatic version update by autodist
* 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
* Fri Nov 08 2019 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
- automatic version update by autodist
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- automatic version update by autodist
* 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
* Sat Apr 15 2017 Automatic Build System <autodist@mambasoft.it> 0.7.5-1mamba
- automatic version update by autodist
* Fri Feb 03 2017 Automatic Build System <autodist@mambasoft.it> 0.7.4-1mamba
- automatic version update by autodist
* Wed Feb 24 2016 Automatic Build System <autodist@mambasoft.it> 0.7.3-1mamba
- automatic version update by autodist
* Fri Nov 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.2-1mamba
- update to 0.7.2
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
- update to 0.7.1
* Sun May 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.5-1mamba
- update to 0.6.5
* Sun Jan 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.4-1mamba
- update to 0.6.4
* 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