2009-06-04 13:12:03 +00:00
|
|
|
Name: libssh
|
2010-08-12 14:28:15 +00:00
|
|
|
Version: 0.4.6
|
2009-12-11 08:25:09 +00:00
|
|
|
Release: 1%{?dist}
|
2009-06-04 13:12:03 +00:00
|
|
|
Summary: A library implementing the SSH2 protocol (0xbadc0de version)
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
2009-11-26 08:26:31 +00:00
|
|
|
#original URL: http://0xbadc0de.be/?part=libssh
|
|
|
|
URL: http://www.libssh.org/
|
2010-03-16 11:32:42 +00:00
|
|
|
Source0: http://www.libssh.org/files/%{name}-%{version}.tar.gz
|
|
|
|
Source1: http://www.libssh.org/files/%{name}-%{version}.tar.gz.asc
|
2009-06-04 13:12:03 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: zlib-devel
|
2009-11-26 08:26:31 +00:00
|
|
|
BuildRequires: cmake
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%description
|
2010-03-16 11:32:42 +00:00
|
|
|
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).
|
|
|
|
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-11-26 08:26:31 +00:00
|
|
|
mkdir obj
|
|
|
|
cd obj
|
2009-11-26 12:42:14 +00:00
|
|
|
%cmake ..
|
2009-11-26 08:26:31 +00:00
|
|
|
make
|
2009-06-04 13:12:03 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2009-11-26 08:26:31 +00:00
|
|
|
cd obj
|
2009-06-04 13:12:03 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} +
|
|
|
|
chmod 644 $RPM_BUILD_ROOT/usr/include/libssh/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2009-11-26 08:51:49 +00:00
|
|
|
%doc AUTHORS BSD ChangeLog COPYING README
|
2009-06-04 13:12:03 +00:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
%changelog
|
2010-08-12 14:28:15 +00:00
|
|
|
* Mon Sep 6 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.6-1
|
|
|
|
- bounce versionn to 0.4.6 (#630602)
|
|
|
|
|
2010-06-03 11:23:18 +00:00
|
|
|
* Thu Jun 3 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.4-1
|
|
|
|
- bounce versionn to 0.4.4 (#598592)
|
|
|
|
|
2010-05-19 05:11:46 +00:00
|
|
|
* Wed May 19 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.3-1
|
|
|
|
- bounce versionn to 0.4.3 (#593288)
|
|
|
|
|
2010-03-16 11:32:42 +00:00
|
|
|
* Tue Mar 16 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.2-1
|
|
|
|
- bounce versionn to 0.4.2 (#573972)
|
|
|
|
|
2010-02-16 15:35:00 +00:00
|
|
|
* Tue Feb 16 2010 Jan F. Chadima <jchadima@redhat.com> - 0.4.1-1
|
|
|
|
- bounce versionn to 0.4.1 (#565870)
|
|
|
|
|
2009-12-11 08:25:09 +00:00
|
|
|
* Fri Dec 11 2009 Jan F. Chadima <jchadima@redhat.com> - 0.4.0-1
|
|
|
|
- bounce versionn to 0.4.0 (#541010)
|
|
|
|
|
2009-11-26 10:00:53 +00:00
|
|
|
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-2
|
|
|
|
- typo in spec file
|
|
|
|
|
2009-11-26 08:26:31 +00:00
|
|
|
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-1
|
|
|
|
- bounce versionn to 0.3.92 (0.4 beta2) (#541010)
|
|
|
|
|
2009-08-21 14:21:43 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-07-25 08:41:42 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-04 13:12:03 +00:00
|
|
|
* Tue Jun 02 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-2
|
|
|
|
- Small changes during review
|
|
|
|
|
|
|
|
* Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1
|
|
|
|
- Initial build
|
2009-11-26 09:10:53 +00:00
|
|
|
|