libssh-vl.spec 2.5 KB

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