lftp-vl.spec 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. %define name lftp
  2. %define version 4.0.9
  3. %define release 1%{?_dist_release}
  4. Summary: The lftp command line ftp/http client
  5. Summary(ja): lftp - コマンドライン ftp/http クライアント
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. License: GPL3
  10. Group: Applications/Internet
  11. Source: http://ftp.yars.free.net/pub/source/lftp/lftp-%{version}.tar.bz2
  12. # Source10: lftp-3.0.9-0vl1-ja.po
  13. Source10: lftp-3.7.4-ja.po
  14. URL: http://lftp.yar.ru/
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildPrereq: ncurses-devel, openssl-devel, pkgconfig, readline-devel
  17. BuildPrereq: expat-devel
  18. Packager: iwamoto
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. LFTP is a shell-like command line ftp client. It is
  23. reliable: can retry operations and does reget automatically.
  24. It can do several transfers simultaneously in background.
  25. You can start a transfer in background and continue browsing
  26. the ftp site or another one. This all is done in one process.
  27. Background jobs will be completed in nohup mode if you exit
  28. or close modem connection. Lftp has reput, mirror, reverse
  29. mirror among its features. Since version 2.0 it also supports
  30. http protocol.
  31. %description -l ja
  32. LFTP は、shell ライクなコマンドライン ftp クライアントです。
  33. リトライ機能の実装や自動的な再取得を行うため信頼性が高いです。
  34. バックグラウンドで複数の転送を同時に行うことができます。
  35. バックグラウンドでの転送を開始し、その ftp サイトや別の ftp
  36. サイトを閲覧し続けることができます。これらは全て 1 つのプロセス
  37. で実行されます。
  38. もし、モデムの接続が exit や close された場合、バックグラウンド
  39. ジョブは、nohup モードで終了します。lftp の特徴は、reput やミラー、
  40. 逆ミラーなどです。バージョン 2.0 以降では、HTTP もサポートしています。
  41. %prep
  42. %setup -q
  43. cp po/ja.po po/ja.po.orig
  44. msgmerge -v %{SOURCE10} po/ja.po.orig -o po/ja.po
  45. %build
  46. if pkg-config openssl ; then
  47. CPPFLAGS=`pkg-config --cflags openssl`; export CPPFLAGS
  48. LDFLAGS=`pkg-config --libs-only-L openssl`; export LDFLAGS
  49. fi
  50. LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"; export LDFLAGS
  51. %configure --with-modules --disable-static --with-openssl
  52. export tagname=CC
  53. make %{?_smp_mflags}
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. %makeinstall sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}
  57. rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.la
  58. chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/*
  59. chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.so
  60. # Remove files from $RPM_BUILD_ROOT that we aren't shipping.
  61. rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.a
  62. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  63. %find_lang %{name}
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %files -f %{name}.lang
  67. %defattr(-,root,root)
  68. %doc README README.modules FAQ THANKS COPYING
  69. %doc TODO lftp.lsm NEWS INSTALL FEATURES
  70. %config(noreplace) %{_sysconfdir}/lftp.conf
  71. %{_bindir}/*
  72. %{_mandir}/*/*
  73. %{_datadir}/lftp
  74. %{_libdir}/*.so*
  75. %dir %{_libdir}/lftp
  76. %dir %{_libdir}/lftp/%{version}
  77. %{_libdir}/lftp/%{version}/cmd-*.so
  78. %{_libdir}/lftp/%{version}/liblftp-network.so
  79. # %{_libdir}/lftp/%{version}/liblftp-getdate.so
  80. %{_libdir}/lftp/%{version}/liblftp-pty.so
  81. %{_libdir}/lftp/%{version}/proto-*.so
  82. %changelog
  83. * Sat Aug 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.0.9-1
  84. - new upstream release with security fix (CVE-2010-2251)
  85. * Thu Jan 21 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.0.5-1
  86. - new upstream release
  87. - update ja.po file (Thanks to Tadashi Jokagi <elf@elf.no-ip.org>)
  88. - update %files section to fit new release
  89. * Tue Jul 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.15-1
  90. - new upstream release
  91. * Tue May 19 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.14-1
  92. - new upstream release
  93. * Wed May 06 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.13-1
  94. - new upstream release
  95. * Wed Mar 25 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.11-1
  96. - new upstream release
  97. * Wed Mar 04 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.9-1vl5
  98. - new upstream release
  99. * Sun Feb 01 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.8-1vl5
  100. - new upstream release
  101. - fix License tag
  102. * Mon Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.7-1vl5
  103. - new upstream release
  104. * Mon Dec 01 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.6-1vl5
  105. - new upstream release
  106. * Mon Oct 20 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.4-1vl5
  107. - new upstream release
  108. - del liblftp-getdate.so from files list (upstream change)
  109. * Sat Jul 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.3-1vl5
  110. - new upstream release
  111. - spec in UTF8
  112. * Sat May 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.1-2vl5
  113. - add BuildPrereq expat-devel
  114. * Sat May 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.1-1vl5
  115. - new upstream release
  116. - new versioning policy
  117. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.0-0vl1
  118. - new upstream release
  119. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.6.1-0vl2
  120. - rebuild with expat-2.0.1
  121. * Mon Jan 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.6.1-0vl1
  122. - new upstream release
  123. * Fri Oct 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.15-0vl1
  124. - new upstream release
  125. * Tue Aug 28 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.13-0vl1
  126. - new upstream release
  127. * Mon Jul 30 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.12-0vl1
  128. - new upstream release
  129. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-0vl1
  130. - new upstream release
  131. - rebuilt with new toolchain and openssl-0.9.8
  132. * Sat Jan 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.9-0vl1
  133. - new upstream release
  134. * Sat Nov 11 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.5.6-0vl3
  135. - fix configure option to use openssl
  136. * Sun Oct 29 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.5.6-0vl2
  137. - rebuild with gnutls-1.4.1
  138. * Fri Oct 27 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.6-0vl1
  139. - new upstream release
  140. * Mon Aug 21 2006 KOBAYASHI Taizo <tkoba@vinelinux.org> 3.5.4-0vl1
  141. - new upstream release
  142. * Fri Jul 07 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.7-0vl2
  143. - changed Group to Applications/Internet
  144. * Fri Jun 09 2006 KOBAYASHI Taizo <tkoba@vinelinux.org> 3.4.7-0vl1
  145. - new upstream release
  146. * Sun Mar 19 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.4.2-0vl2
  147. - rebuild with readline-5.1
  148. * Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.2-0vl1
  149. - new upstream release
  150. * Fri Oct 22 2004 IWAI, Masaharu <iwai@alib.jp> 3.0.9-0vl1
  151. - new upstream release
  152. - update ja.po ( Source10 )
  153. - add Japanese description
  154. - lftp.conf: noreplace
  155. * Sun Jun 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-0vl1
  156. - new upstream release
  157. * Thu Jun 3 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.5-0vl1
  158. - new upstream release
  159. * Fri Apr 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.3-0vl1
  160. - new upstream release
  161. * Sun Apr 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-0vl2
  162. - update ja.po (more work needed...)
  163. * Sun Apr 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-0vl1
  164. - new upstream release
  165. * Sun Apr 4 2004 HAYASHI Kentarou <linjian@gigo-ice.org> 3.0.0-0vl1
  166. - new upstream release
  167. * Mon Mar 1 2004 HAYASHI Kentarou <linjian@gigo-ice.org> 2.6.12-0vl1
  168. - new upstream release
  169. * Mon Dec 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.11-0vl1
  170. - new upstream release
  171. * Thu Dec 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.10-0vl1
  172. - new upstream release
  173. * Sun Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.7-0vl1
  174. - new upstream release
  175. * Tue Jun 10 2003 Jun NISHII <jun@vinelinux.org> 2.6.5-2vl1
  176. - synced with RawHide 2.6.5-2
  177. * Thu Mar 27 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.6.3-4vl1
  178. - synced with RawHide 2.6.3-4
  179. * Wed Jan 23 2002 Jun Nishii <jun@vinelinux.org> 2.4.8-0vl1
  180. - ver.up
  181. - fix COPYRIGHT(GPL->GPL2)
  182. * Tue Sep 25 2001 Kazuhisa TAKEI <takei@vinelinux.org>
  183. - 2.4.4
  184. - major version update
  185. * Mon Jul 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  186. - 2.3.10-0vl5
  187. - rebuilt with openssl-0.9.6b
  188. * Thu May 24 2001 <sagami@vinelinux.org>
  189. - 2.3.10-0vl4: fix so as not to own %%{_bindir} itself
  190. * Thu May 24 2001 Kazuhisa TAKEI<takei@vinelinux.org> 2.3.10-0vl3
  191. - remove configurei's --with-modules option.
  192. * Sat May 19 2001 <takei@vinelinux.org> 2.3.10-0vl2
  193. - fixed spec bug( sevaral lftp modules lack)
  194. * Fri May 11 2001 <sagami@vinelinux.org>
  195. - 2.3.10-0vl1: use more macros
  196. * Tue Jan 23 2001 Kazuhisa TAKEI <takei@vinelinux.org> 2.3.7-0vl2
  197. - enable ssl
  198. * Tue Jan 23 2001 Kazuhisa TAKEI <takei@vinelinux.org> 2.3.7-0vl1
  199. - 2.3.7-0vl1
  200. * Wed Dec 13 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  201. - 2.3.3-0vl4
  202. - rebuilt with readline-4
  203. * Thu Oct 12 2000 Kazuhisa TAKEI<takei@vinelinux.org> 2.3.3-0vl3
  204. - add lftpget
  205. * Mon Oct 9 2000 Kazuhisa TAKEI<takei@vinelinux.org> 2.3.3-0vl1
  206. - upstream merge ja.po
  207. - %doc /usr/man -> %{_mandir}
  208. - several .spec file's bug fixed.
  209. * Sun Oct 1 2000 Kazuhisa TAKEI<takei@vinelinux.org> 2.3.0-0vl5
  210. - fixed ja.po
  211. * Mon Sep 11 2000 Kazuhisa TAKEI<takei@vinelinux.org>
  212. - 2.2.6-1vl0
  213. - remove noroot.patch
  214. * Mon Sep 11 2000 Kazuhisa TAKEI<takei@vinelinux.org>
  215. - 2.2.2-1vl3
  216. - added Japanese message catalog file
  217. * Thu Jul 27 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  218. - 2.2.2-1vl2
  219. - cleaned up noroot.patch
  220. - added %build tag (why forgotten?)
  221. - added Japanese Summary
  222. - modified %files section to handle compressed man pages
  223. * Thu May 4 2000 Kazuhisa TAKEI <takei@vinelinux.org>
  224. - change spec file for Vine Linux
  225. * Sat Oct 02 1999 Alexander Lukyanov <lav@yars.free.net>
  226. - 2.1.1 release
  227. - removed ChangeLog from doc.
  228. * Mon Sep 27 1999 Alexander Lukyanov <lav@yars.free.net>
  229. - 2.1.0 release
  230. * Tue Sep 14 1999 Alexander Lukyanov <lav@yars.free.net>
  231. - add lftpget
  232. * Tue Jul 27 1999 Adrian Likins <alikins@redhat.com>
  233. -initial release