libssh/libssh.spec

157 lines
5.1 KiB
RPMSpec
Raw Normal View History

2009-06-04 13:12:03 +00:00
Name: libssh
2013-01-23 16:34:27 +00:00
Version: 0.5.4
2013-07-19 07:00:36 +00:00
Release: 5%{?dist}
2009-06-04 13:12:03 +00:00
Summary: A library implementing the SSH2 protocol (0xbadc0de version)
License: LGPLv2+
2009-11-26 08:26:31 +00:00
URL: http://www.libssh.org/
2013-07-19 07:00:36 +00:00
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2013-01-23 16:34:27 +00:00
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
2013-07-19 07:00:36 +00:00
Patch0: libssh-0.5.4-channel-close.patch
Patch1: libssh-0.5.4-disable-latex-documentation.patch
Patch2: libssh-0.5.4-fix-html-doc-generation.patch
Patch3: libssh-0.5.4-fix-typo.patch
2009-06-04 13:12:03 +00:00
BuildRequires: cmake
2013-07-19 07:00:36 +00:00
BuildRequires: doxygen
2009-06-04 13:12:03 +00:00
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).
2009-06-04 13:12:03 +00:00
%package devel
2013-07-19 07:00:36 +00:00
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
2009-06-04 13:12:03 +00:00
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
2009-06-04 13:12:03 +00:00
%prep
%setup -q
2013-07-16 06:36:27 +00:00
%patch0 -p1 -b .channel-close
2013-07-19 07:00:36 +00:00
%patch1 -p1 -b .disable-latex-documentation
%patch2 -p1 -b .fix-html-doc-generation
%patch3 -p1 -b .fix-typo
# Remove examples, they are not packaged and do not build on EPEL 5
sed -i -e 's|add_subdirectory(examples)||g' CMakeLists.txt
rm -fr examples
2009-06-04 13:12:03 +00:00
%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
2013-07-19 07:00:36 +00:00
make doc
2009-06-04 13:12:03 +00:00
%install
2013-07-19 07:00:36 +00:00
rm -rf %{buildroot}
2009-11-26 08:26:31 +00:00
cd obj
make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -delete
install -d %{buildroot}%{_datadir}
mv %{buildroot}/%{_libdir}/pkgconfig %{buildroot}/usr/share
2009-06-04 13:12:03 +00:00
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
2013-07-19 07:00:36 +00:00
%clean
rm -rf %{buildroot}
2009-06-04 13:12:03 +00:00
%files
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
2013-07-19 07:00:36 +00:00
%doc obj/doc/html
%{_datadir}/pkgconfig/*.pc
2009-06-04 13:12:03 +00:00
%{_includedir}/*
%{_libdir}/*.so
%changelog
2013-07-19 07:00:36 +00:00
* Thu Jul 18 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-5
- Add EPEL 5 support.
- Add Debian patches to enable Doxygen documentation.
2013-07-16 06:36:27 +00:00
* Tue Jul 16 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-4
- Add patch for #982685.
* Mon Jun 10 2013 Simone Caronni <negativo17@gmail.com> - 0.5.4-3
- Clean up SPEC file and fix rpmlint complaints.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2013-01-23 16:34:27 +00:00
* Wed Jan 23 2013 Petr Lautrbach <plautrba@redhat.com> 0.5.4-1
- update to security 0.5.4 release
- CVE-2013-0176 (#894407)
2012-11-20 15:38:47 +00:00
* Tue Nov 20 2012 Petr Lautrbach <plautrba@redhat.com> 0.5.3-1
- update to security 0.5.3 release (#878465)
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-02-02 12:15:54 +00:00
* Thu Feb 02 2012 Petr Lautrbach <plautrba@redhat.com> 0.5.2-1
- update to 0.5.2 version (#730270)
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Jun 1 2011 Jan F. Chadima <jchadima@redhat.com> - 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 <rel-eng@lists.fedoraproject.org> - 0.4.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-01-19 15:43:39 +00:00
* Wed Jan 19 2011 Jan F. Chadima <jchadima@redhat.com> - 0.4.8-1
- bounce versionn to 0.4.8 (#670456)
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
* 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