lftp-vl.spec 11 KB

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