libssh2-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. Summary: A library implementing the SSH2 protocol
  2. Summary(ja): SSH2 プロトコルを実装するためのライブラリ
  3. Name: libssh2
  4. Version: 1.2.7
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: BSD
  8. URL: http://www.libssh2.org/
  9. Source0: http://downloads.sourceforge.net/libssh2/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: openssl-devel
  12. BuildRequires: zlib-devel
  13. %description
  14. libssh2 is a library implementing the SSH2 protocol as defined by
  15. Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
  16. SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
  17. SECSH-DHGEX(04), and SECSH-NUMBERS(10).
  18. %package devel
  19. Summary: Development files for %{name}
  20. Summary(ja): %{name} の開発ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. %description devel
  24. The %{name}-devel package contains libraries and header files for
  25. developing applications that use %{name}.
  26. %package docs
  27. Summary: Documentation for %{name}
  28. Summary(ja): %{name} のドキュメント
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. %description docs
  32. The %{name}-docs package contains man pages and examples for
  33. developing applications that use %{name}.
  34. %prep
  35. %setup -q
  36. # make sure things are UTF-8...
  37. for i in ChangeLog NEWS ; do
  38. iconv --from=ISO-8859-1 --to=UTF-8 $i > new
  39. mv new $i
  40. done
  41. %build
  42. %configure --disable-static --enable-shared
  43. make %{?_smp_mflags}
  44. %install
  45. rm -rf %{buildroot}
  46. make install DESTDIR=%{buildroot} INSTALL="install -p"
  47. find %{buildroot} -name '*.la' -exec rm -f {} +
  48. # clean things up a bit for packaging
  49. ( cd example && make clean )
  50. rm -rf example/simple/.deps
  51. find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} +
  52. %check
  53. (cd tests && make check)
  54. %clean
  55. rm -rf %{buildroot}
  56. %post -p /sbin/ldconfig
  57. %postun -p /sbin/ldconfig
  58. %files
  59. %defattr(-,root,root,-)
  60. %doc AUTHORS ChangeLog COPYING README NEWS
  61. %{_libdir}/*.so.*
  62. %files docs
  63. %defattr(-,root,root,-)
  64. %doc COPYING HACKING example/
  65. %{_mandir}/man?/*
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %doc COPYING
  69. %{_includedir}/*
  70. %{_libdir}/*.so
  71. %{_libdir}/pkgconfig/libssh2.pc
  72. %changelog
  73. * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.7-1
  74. - new upstream release
  75. - fix %%files
  76. * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  77. - initial build for Vine Linux
  78. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0-4
  79. - rebuilt with new openssl
  80. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  82. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  84. * Mon Feb 16 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.0-1
  85. - update to 1.0
  86. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.18-8
  87. - rebuild with new openssl
  88. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.18-7
  89. - Autorebuild for GCC 4.3
  90. * Wed Dec 05 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-6
  91. - rebuild for new openssl...
  92. * Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-5
  93. - bump
  94. * Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-4
  95. - add INSTALL arg to make install vs env. var
  96. * Mon Nov 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-3
  97. - run tests; don't package test
  98. * Sun Nov 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-2
  99. - split docs into -docs (they seemed... large.)
  100. * Tue Nov 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1
  101. - update to 0.18
  102. * Sun Oct 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1
  103. - update to 0.17
  104. - many spec file changes
  105. * Wed May 23 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.2.20070506
  106. - Fix release tag
  107. - Move manpages to -devel package
  108. - Add Examples dir to -devel package
  109. * Sun May 06 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.20070506.1
  110. - Initial build