lftp-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. Summary: A sophisticated file transfer program
  2. Summary(ja): 洗練された ftp/http クライアント
  3. Name: lftp
  4. Version: 4.9.2
  5. Release: 1%{?_dist_release}
  6. Group: internet
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: iwamoto
  10. License: GPLv3
  11. URL: http://lftp.yar.ru/
  12. Source: http://lftp.yar.ru/ftp/lftp-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: expat-devel
  15. BuildRequires: ncurses-devel
  16. BuildRequires: openssl-devel
  17. BuildRequires: pkgconfig
  18. BuildRequires: readline-devel
  19. BuildRequires: zlib-devel
  20. %description
  21. LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job
  22. control and uses the readline library for input. It has bookmarks, built-in
  23. mirroring, and can transfer several files in parallel. It is designed with
  24. reliability in mind.
  25. %description -l ja
  26. LFTP は洗練された ftp/http ファイル転送プログラムです.Bash のように、ジョブ制御
  27. 機能を有し、入力には Readline ライブラリを使用します。ブックマーク機能や、ミラー
  28. リング機能も組み込まれており、複数のファイルを並列して転送することも可能です。 
  29. もちろん、信頼性を念頭に設計されています。
  30. %package scripts
  31. Summary: Scripts for lftp
  32. Summary(ja): LFTP のユーティリティスクリプト
  33. Group: internet
  34. Requires: lftp = %{version}-%{release}
  35. Requires: perl(DBD::SQLite)
  36. BuildArch: noarch
  37. %description scripts
  38. Utility scripts for use with lftp.
  39. %description scripts -l ja
  40. LFTP のユーティリティスクリプトです。
  41. %debug_package
  42. %prep
  43. %setup -q
  44. # cp po/ja.po po/ja.po.orig
  45. # msgmerge -v %{SOURCE10} po/ja.po.orig -o po/ja.po
  46. %build
  47. CFLAGS="%{optflags}"
  48. CXXFLAGS="%{optflags}"
  49. LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"
  50. if pkg-config openssl ; then
  51. OPENSSL_CPPFLAGS=`pkg-config --cflags openssl`;
  52. OPENSSL_LDFLAGS=`pkg-config --libs-only-L openssl`;
  53. CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS"
  54. LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
  55. fi
  56. export CFLAGS
  57. export CXXFLAGS
  58. export LDFLAGS
  59. %configure --with-modules --disable-static --with-openssl
  60. export tagname=CC
  61. make %{?_smp_mflags}
  62. %install
  63. rm -rf $RPM_BUILD_ROOT
  64. %makeinstall sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}
  65. rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.la
  66. chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/*
  67. chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.so
  68. # Remove files from $RPM_BUILD_ROOT that we aren't shipping.
  69. rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.a
  70. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  71. %find_lang %{name}
  72. %files -f %{name}.lang
  73. %defattr(-,root,root)
  74. %license COPYING
  75. %doc README README.modules FAQ THANKS
  76. %doc TODO NEWS FEATURES
  77. %config(noreplace) %{_sysconfdir}/lftp.conf
  78. %{_bindir}/*
  79. %{_mandir}/*/*
  80. # %{_datadir}/lftp
  81. %{_libdir}/*.so*
  82. %dir %{_libdir}/lftp
  83. %dir %{_libdir}/lftp/%{version}
  84. %{_libdir}/lftp/%{version}/cmd-*.so
  85. %{_libdir}/lftp/%{version}/liblftp-network.so
  86. # %{_libdir}/lftp/%{version}/liblftp-getdate.so
  87. %{_libdir}/lftp/%{version}/liblftp-pty.so
  88. %{_libdir}/lftp/%{version}/proto-*.so
  89. %{_datadir}/applications/lftp.desktop
  90. %{_datadir}/icons/hicolor/48x48/apps/lftp-icon.png
  91. %files scripts
  92. %defattr(-,root,root,-)
  93. %{_datadir}/lftp
  94. %changelog
  95. * Fri Mar 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.2-1
  96. - new upstream release.
  97. * Wed Oct 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.8.4-1
  98. - new upstream release.
  99. * Sat Aug 31 2019 Toshiaki Ara <ara_t@384.jp> 4.8.3-3
  100. - rebuild with readline-8.0 and ncurses-6.1
  101. * Fri Nov 02 2018 Toshiaki Ara <ara_t@384.jp> 4.8.3-2
  102. - rebuild with openssl-1.1.1
  103. * Thu Mar 29 2018 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.8.3-1
  104. - new upstream release 4.8.3
  105. * Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.7.2-2
  106. - rebuilt with new toolchain.
  107. * Sat May 28 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.2-1
  108. - new upstream release
  109. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.1-1
  110. - new upstream release
  111. * Fri Aug 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.5.4-1
  112. - new upstream release
  113. * Tue Jun 17 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.5.2-1
  114. - new upstream release
  115. * Thu Jan 9 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.4.14-1
  116. - new upstream release
  117. - add BR: zlib-devel
  118. - fix changelog date
  119. * Sun Sep 30 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.4.0-1
  120. - new upstream release
  121. - use upstream ja.po instead of old local ja.po (source10)
  122. * Sat Jun 2 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.3.7-1
  123. - new upstream release
  124. - built with openssl 1.0.1
  125. * Mon May 2 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.2.3-1
  126. - new upstream release
  127. * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.1.2-3
  128. - rebuilt with openssl 1.0.0c
  129. * Wed Jan 5 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.1.2-2
  130. - separated scripts to script package
  131. * Mon Jan 3 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.1.2-1
  132. - new upstream release
  133. - change source tarball format (bz2 -> xz)
  134. * Sat Aug 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.0.9-1
  135. - new upstream release with security fix (CVE-2010-2251)
  136. * Thu Jan 21 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.0.5-1
  137. - new upstream release
  138. - update ja.po file (Thanks to Tadashi Jokagi <elf@elf.no-ip.org>)
  139. - update %files section to fit new release
  140. * Tue Jul 28 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.15-1
  141. - new upstream release
  142. * Tue May 19 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.14-1
  143. - new upstream release
  144. * Wed May 06 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.13-1
  145. - new upstream release
  146. * Wed Mar 25 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.11-1
  147. - new upstream release
  148. * Wed Mar 04 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.9-1vl5
  149. - new upstream release
  150. * Sun Feb 01 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.8-1vl5
  151. - new upstream release
  152. - fix License tag
  153. * Mon Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.7-1vl5
  154. - new upstream release
  155. * Mon Dec 01 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.6-1vl5
  156. - new upstream release
  157. * Mon Oct 20 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.4-1vl5
  158. - new upstream release
  159. - del liblftp-getdate.so from files list (upstream change)
  160. * Sat Jul 12 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.3-1vl5
  161. - new upstream release
  162. - spec in UTF8
  163. * Sat May 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.1-2vl5
  164. - add BuildPrereq expat-devel
  165. * Sat May 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.1-1vl5
  166. - new upstream release
  167. - new versioning policy
  168. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.7.0-0vl1
  169. - new upstream release
  170. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.6.1-0vl2
  171. - rebuild with expat-2.0.1
  172. * Mon Jan 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.6.1-0vl1
  173. - new upstream release
  174. * Sat Oct 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.15-0vl1
  175. - new upstream release
  176. * Tue Aug 28 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.13-0vl1
  177. - new upstream release
  178. * Mon Jul 30 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.12-0vl1
  179. - new upstream release
  180. * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-0vl1
  181. - new upstream release
  182. - rebuilt with new toolchain and openssl-0.9.8
  183. * Fri Jan 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.9-0vl1
  184. - new upstream release
  185. * Sat Nov 11 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.5.6-0vl3
  186. - fix configure option to use openssl
  187. * Sun Oct 29 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.5.6-0vl2
  188. - rebuild with gnutls-1.4.1
  189. * Fri Oct 27 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.5.6-0vl1
  190. - new upstream release
  191. * Mon Aug 21 2006 KOBAYASHI Taizo <tkoba@vinelinux.org> 3.5.4-0vl1
  192. - new upstream release
  193. * Fri Jul 07 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.7-0vl2
  194. - changed Group to Applications/Internet
  195. * Fri Jun 09 2006 KOBAYASHI Taizo <tkoba@vinelinux.org> 3.4.7-0vl1
  196. - new upstream release
  197. * Sun Mar 19 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.4.2-0vl2
  198. - rebuild with readline-5.1
  199. * Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.2-0vl1
  200. - new upstream release
  201. * Fri Oct 22 2004 IWAI, Masaharu <iwai@alib.jp> 3.0.9-0vl1
  202. - new upstream release
  203. - update ja.po ( Source10 )
  204. - add Japanese description
  205. - lftp.conf: noreplace
  206. * Sun Jun 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.6-0vl1
  207. - new upstream release
  208. * Thu Jun 3 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.5-0vl1
  209. - new upstream release
  210. * Fri Apr 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.3-0vl1
  211. - new upstream release
  212. * Sun Apr 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-0vl2
  213. - update ja.po (more work needed...)
  214. * Sun Apr 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.2-0vl1
  215. - new upstream release
  216. * Sun Apr 4 2004 HAYASHI Kentarou <linjian@gigo-ice.org> 3.0.0-0vl1
  217. - new upstream release
  218. * Mon Mar 1 2004 HAYASHI Kentarou <linjian@gigo-ice.org> 2.6.12-0vl1
  219. - new upstream release
  220. * Mon Dec 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.11-0vl1
  221. - new upstream release
  222. * Thu Dec 18 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.10-0vl1
  223. - new upstream release
  224. * Sat Aug 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.7-0vl1
  225. - new upstream release
  226. * Tue Jun 10 2003 Jun NISHII <jun@vinelinux.org> 2.6.5-2vl1
  227. - synced with RawHide 2.6.5-2
  228. * Thu Mar 27 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.6.3-4vl1
  229. - synced with RawHide 2.6.3-4
  230. * Wed Jan 23 2002 Jun Nishii <jun@vinelinux.org> 2.4.8-0vl1
  231. - ver.up
  232. - fix COPYRIGHT(GPL->GPL2)
  233. * Tue Sep 25 2001 Kazuhisa TAKEI <takei@vinelinux.org>
  234. - 2.4.4
  235. - major version update
  236. * Mon Jul 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  237. - 2.3.10-0vl5
  238. - rebuilt with openssl-0.9.6b
  239. * Thu May 24 2001 <sagami@vinelinux.org>
  240. - 2.3.10-0vl4: fix so as not to own %%{_bindir} itself
  241. * Thu May 24 2001 Kazuhisa TAKEI<takei@vinelinux.org> 2.3.10-0vl3
  242. - remove configurei's --with-modules option.
  243. * Sat May 19 2001 <takei@vinelinux.org> 2.3.10-0vl2
  244. - fixed spec bug( sevaral lftp modules lack)
  245. * Fri May 11 2001 <sagami@vinelinux.org>
  246. - 2.3.10-0vl1: use more macros
  247. * Tue Jan 23 2001 Kazuhisa TAKEI <takei@vinelinux.org> 2.3.7-0vl2
  248. - enable ssl
  249. * Tue Jan 23 2001 Kazuhisa TAKEI <takei@vinelinux.org> 2.3.7-0vl1
  250. - 2.3.7-0vl1
  251. * Wed Dec 13 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  252. - 2.3.3-0vl4
  253. - rebuilt with readline-4
  254. * Thu Oct 12 2000 Kazuhisa TAKEI<takei@vinelinux.org> 2.3.3-0vl3
  255. - add lftpget
  256. * Mon Oct 9 2000 Kazuhisa TAKEI<takei@vinelinux.org> 2.3.3-0vl1
  257. - upstream merge ja.po
  258. - %doc /usr/man -> %{_mandir}
  259. - several .spec file's bug fixed.
  260. * Sun Oct 1 2000 Kazuhisa TAKEI<takei@vinelinux.org> 2.3.0-0vl5
  261. - fixed ja.po
  262. * Mon Sep 11 2000 Kazuhisa TAKEI<takei@vinelinux.org>
  263. - 2.2.6-1vl0
  264. - remove noroot.patch
  265. * Mon Sep 11 2000 Kazuhisa TAKEI<takei@vinelinux.org>
  266. - 2.2.2-1vl3
  267. - added Japanese message catalog file
  268. * Thu Jul 27 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  269. - 2.2.2-1vl2
  270. - cleaned up noroot.patch
  271. - added %build tag (why forgotten?)
  272. - added Japanese Summary
  273. - modified %files section to handle compressed man pages
  274. * Thu May 4 2000 Kazuhisa TAKEI <takei@vinelinux.org>
  275. - change spec file for Vine Linux
  276. * Sat Oct 02 1999 Alexander Lukyanov <lav@yars.free.net>
  277. - 2.1.1 release
  278. - removed ChangeLog from doc.
  279. * Mon Sep 27 1999 Alexander Lukyanov <lav@yars.free.net>
  280. - 2.1.0 release
  281. * Tue Sep 14 1999 Alexander Lukyanov <lav@yars.free.net>
  282. - add lftpget
  283. * Tue Jul 27 1999 Adrian Likins <alikins@redhat.com>
  284. -initial release