%define majver %(echo %version | cut -d. -f1-2) Name: libssh Version: 0.6.4 Release: 1mamba Summary: A library implementing the SSH protocol Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.libssh.org Source: https://red.libssh.org/attachments/download/107/libssh-%{version}.tar.gz 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 %dir %{_libdir}/cmake/libssh %{_libdir}/cmake/libssh/libssh-config-version.cmake %{_libdir}/cmake/libssh/libssh-config.cmake %doc ChangeLog README %changelog * Sun Jan 18 2015 Silvan Calarco 0.6.4-1mamba - update to 0.6.4 * Sun Apr 27 2014 Silvan Calarco 0.6.3-1mamba - update to 0.6.3 * Mon Oct 07 2013 Automatic Build System 0.5.5-1mamba - update to 0.5.5 * Sun Apr 28 2013 Automatic Build System 0.5.4-1mamba - update to 0.5.4 * Sat Dec 08 2012 Automatic Build System 0.5.3-1mamba - update to 0.5.3 * Fri Jul 06 2012 Automatic Build System 0.5.2-1mamba - update to 0.5.2 * Fri Oct 01 2010 Automatic Build System 0.4.6-1mamba - automatic update by autodist * Tue Aug 10 2010 Automatic Build System 0.4.5-1mamba - automatic update by autodist * Sat Jun 26 2010 Automatic Build System 0.4.4-1mamba - automatic update by autodist * Sat Apr 17 2010 Automatic Build System 0.4.2-1mamba - automatic update by autodist * Tue Jan 19 2010 Davide Madrisan 0.4.0-1mamba - package created by autospec