libssh2-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Summary: A library implementing the SSH2 protocol
  2. Summary(ja): SSH2 プロトコルを実装するためのライブラリ
  3. Name: libssh2
  4. Version: 1.0
  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. %changelog
  72. * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  73. - initial build for Vine Linux
  74. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0-4
  75. - rebuilt with new openssl
  76. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  78. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  80. * Mon Feb 16 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.0-1
  81. - update to 1.0
  82. * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.18-8
  83. - rebuild with new openssl
  84. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.18-7
  85. - Autorebuild for GCC 4.3
  86. * Wed Dec 05 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-6
  87. - rebuild for new openssl...
  88. * Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-5
  89. - bump
  90. * Tue Nov 27 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-4
  91. - add INSTALL arg to make install vs env. var
  92. * Mon Nov 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-3
  93. - run tests; don't package test
  94. * Sun Nov 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-2
  95. - split docs into -docs (they seemed... large.)
  96. * Tue Nov 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1
  97. - update to 0.18
  98. * Sun Oct 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1
  99. - update to 0.17
  100. - many spec file changes
  101. * Wed May 23 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.2.20070506
  102. - Fix release tag
  103. - Move manpages to -devel package
  104. - Add Examples dir to -devel package
  105. * Sun May 06 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.15-0.20070506.1
  106. - Initial build