Name: libssh Version: 0.5.4 Release: 4%{?dist} Summary: A library implementing the SSH2 protocol (0xbadc0de version) License: LGPLv2+ URL: http://www.libssh.org/ Source0: https://red.libssh.org/attachments/download/41/libssh-0.5.4.tar.gz Source1: https://red.libssh.org/attachments/download/42/libssh-0.5.4.tar.asc Patch0: libssh-channel-close.patch BuildRequires: cmake BuildRequires: openssl-devel BuildRequires: zlib-devel %description The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl). %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 -b .channel-close %build mkdir obj cd obj %cmake .. make %install cd obj make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -delete #chmod 644 %{buildroot}%{_includedir}/libssh/* install -d %{buildroot}%{_datadir} mv %{buildroot}/%{_libdir}/pkgconfig %{buildroot}/usr/share %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS BSD ChangeLog COPYING README %{_libdir}/*.so.* %files devel %{_datadir}/pkgconfig/*.pc %{_includedir}/* %{_libdir}/*.so %changelog * Tue Jul 16 2013 Simone Caronni - 0.5.4-4 - Add patch for #982685. * Mon Jun 10 2013 Simone Caronni - 0.5.4-3 - Clean up SPEC file and fix rpmlint complaints. * Thu Feb 14 2013 Fedora Release Engineering - 0.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jan 23 2013 Petr Lautrbach 0.5.4-1 - update to security 0.5.4 release - CVE-2013-0176 (#894407) * Tue Nov 20 2012 Petr Lautrbach 0.5.3-1 - update to security 0.5.3 release (#878465) * Thu Jul 19 2012 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Feb 02 2012 Petr Lautrbach 0.5.2-1 - update to 0.5.2 version (#730270) * Fri Jan 13 2012 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jun 1 2011 Jan F. Chadima - 0.5.0-1 - bounce versionn to 0.5.0 (#709785) - the support for protocol v1 is disabled * Tue Feb 08 2011 Fedora Release Engineering - 0.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 19 2011 Jan F. Chadima - 0.4.8-1 - bounce versionn to 0.4.8 (#670456) * Mon Sep 6 2010 Jan F. Chadima - 0.4.6-1 - bounce versionn to 0.4.6 (#630602) * Thu Jun 3 2010 Jan F. Chadima - 0.4.4-1 - bounce versionn to 0.4.4 (#598592) * Wed May 19 2010 Jan F. Chadima - 0.4.3-1 - bounce versionn to 0.4.3 (#593288) * Tue Mar 16 2010 Jan F. Chadima - 0.4.2-1 - bounce versionn to 0.4.2 (#573972) * Tue Feb 16 2010 Jan F. Chadima - 0.4.1-1 - bounce versionn to 0.4.1 (#565870) * Fri Dec 11 2009 Jan F. Chadima - 0.4.0-1 - bounce versionn to 0.4.0 (#541010) * Thu Nov 26 2009 Jan F. Chadima - 0.3.92-2 - typo in spec file * Thu Nov 26 2009 Jan F. Chadima - 0.3.92-1 - bounce versionn to 0.3.92 (0.4 beta2) (#541010) * Fri Aug 21 2009 Tomas Mraz - 0.2-4 - rebuilt with new openssl * Sat Jul 25 2009 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Jun 02 2009 Jan F. Chadima - 0.2-2 - Small changes during review * Mon Jun 01 2009 Jan F. Chadima - 0.2-1 - Initial build