lftp-vl.spec 12 KB

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