libssh-vl.spec 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Summary: A library implementing the SSH2 protocol (0xbadc0de version)
  2. Summary(ja): SSH2プロトコルを実装するためのライブラリ (0xbadc0de版)
  3. Name: libssh
  4. Version: 0.2
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://0xbadc0de.be/?part=libssh
  9. Source0: http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
  10. Patch0: libssh-0.2-libdir.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: openssl-devel
  13. BuildRequires: zlib-devel
  14. %description
  15. The SSH library with
  16. -Full C library functions for manipulating a client-side SSH connection
  17. -Fully configurable sessions
  18. -Support for AES-128,AES-192,AES-256,blowfish, in cbc mode
  19. -use multiple SSH connections in a same process, at same time.
  20. -usable SFTP implementation
  21. -Public key and password authentication
  22. %package devel
  23. Summary: Development files for %{name}
  24. Summary(ja): %{name} の開発ファイル
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. The %{name}-devel package contains libraries and header files for
  29. developing applications that use %{name}.
  30. %prep
  31. %setup -q
  32. %patch0 -p1 -b .libdir
  33. %build
  34. %configure --disable-static --enable-shared
  35. make # doesn't build with %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} +
  40. chmod 644 $RPM_BUILD_ROOT/usr/include/libssh/*
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc AUTHORS CHANGELOG COPYING README
  48. %{_libdir}/*.so.*
  49. %files devel
  50. %defattr(-,root,root,-)
  51. %{_includedir}/*
  52. %{_libdir}/*.so
  53. %changelog
  54. * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-1
  55. - initial build for Vine Linux
  56. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4
  57. - rebuilt with new openssl
  58. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  60. * Tue Jun 02 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-2
  61. - Small changes during review
  62. * Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1
  63. - Initial build