lftp-vl.spec 11 KB

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