libssh-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. Summary: A library implementing the SSH2 protocol
  2. Summary(ja): SSH2プロトコルを実装するためのライブラリ
  3. Name: libssh
  4. Version: 0.7.3
  5. Release: 2%{?_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.xz
  10. # Patch0: libssh-0.2-libdir.patch
  11. # security fix
  12. # Nothing so far.
  13. # Patch100: libssh-0.4.8-pkgconfig.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: openssl-devel
  16. BuildRequires: zlib-devel
  17. BuildRequires: cmake
  18. %description
  19. The SSH library with
  20. - Full C library functions for manipulating a client-side SSH connection
  21. - Fully configurable sessions
  22. - Support for AES-128,AES-192,AES-256,blowfish, in cbc mode
  23. - use multiple SSH connections in a same process, at same time.
  24. - usable SFTP implementation
  25. - Public key and password authentication
  26. %package devel
  27. Summary: Development files for %{name}
  28. Summary(ja): %{name} の開発ファイル
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig
  32. %description devel
  33. The %{name}-devel package contains libraries and header files for
  34. developing applications that use %{name}.
  35. %prep
  36. %setup -q
  37. # %patch100 -p0 -b .pkgconfig
  38. %build
  39. mkdir -p %{_target_platform}
  40. pushd %{_target_platform}
  41. %cmake ..
  42. popd
  43. make %{?_smp_mflags} -C %{_target_platform}
  44. #configure --disable-static --enable-shared
  45. #make # doesn't build with %{?_smp_mflags}
  46. %install
  47. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  48. make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc AUTHORS ChangeLog COPYING README
  56. %{_libdir}/*.so.*
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_includedir}/*
  60. %{_libdir}/*.so
  61. %{_libdir}/pkgconfig/%{name}*.pc
  62. %changelog
  63. * Sat Mar 12 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.3-2
  64. - rebuilt with openssl 1.0.2g
  65. * Fri Feb 26 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.3-1
  66. - new upstream release with security fixes
  67. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.8-3
  68. - add Patch100 (libssh-0.4.8-pkgconfig.patch)
  69. * Mon Dec 3 2012 IWAI, Masaharu <iwai@alib.jp> 0.4.8-2
  70. - SECURITY FIX:
  71. - add patches from Debian libssh 0.4.5-3+squeeze1
  72. - CVE-2012-4559.patch (Patch10)
  73. - CVE-2012-4561.patch (Patch11)
  74. - CVE-2012-4562.patch (Patch12)
  75. - add patch based Red Hat BTS #871614
  76. - CVE-2012-4560.patch (Patch13)
  77. * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.8-1
  78. - new upstream release
  79. * Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1
  80. - new upstream release
  81. * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.1-1
  82. - new upstream release
  83. * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-1
  84. - initial build for Vine Linux
  85. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4
  86. - rebuilt with new openssl
  87. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  89. * Tue Jun 02 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-2
  90. - Small changes during review
  91. * Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1
  92. - Initial build