98 lines
2.8 KiB
RPMSpec
98 lines
2.8 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
Name: libssh
|
||
|
Version: 0.6.3
|
||
|
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
|
||
|
Source: https://red.libssh.org/attachments/download/87/libssh-%{version}.tar.xz
|
||
|
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.*
|
||
|
%{_libdir}/libssh_threads.so.*
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/libssh
|
||
|
%{_includedir}/libssh/*.h
|
||
|
%{_libdir}/libssh.so
|
||
|
%{_libdir}/libssh_threads.so
|
||
|
%{_libdir}/pkgconfig/libssh.pc
|
||
|
%{_libdir}/pkgconfig/libssh_threads.pc
|
||
|
%{_libdir}/cmake/libssh-config-version.cmake
|
||
|
%{_libdir}/cmake/libssh-config.cmake
|
||
|
%doc ChangeLog README
|
||
|
|
||
|
%changelog
|
||
|
* 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
|