ncftp-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. Summary: An improved FTP client.
  2. Name: ncftp
  3. Version: 3.2.5
  4. Epoch: 2
  5. Release: 1%{?_dist_release}
  6. License: Distributable
  7. Group: Applications/Internet
  8. Source0: ftp://ftp.ncftp.com/ncftp/ncftp-%{version}-src.tar.bz2
  9. Patch1: ncftp-3.0.1-pref.patch
  10. Patch2: ncftp-3.1.7-shell.patch
  11. Patch3: ftp://ftp.kame.net/pub/kame/misc/ncftp-315-v6-20030112.diff.gz
  12. Patch4: ncftp-3.0.3-resume.patch
  13. Patch5: ncftp-3.1.1-EPLF.diff.bz2
  14. # yves 3.1.1-1mdk
  15. # requested by Yura Gusev <elendal@w4technology.com>
  16. # adapted to 3.1.1 from http://www.fefe.de/ncftp/ncftp-3.0-EPLF.diff
  17. # It will allow ncftp to work with publicfile. http://publicfile.org/
  18. Patch6: ncftp-3.1.5-pmeter.patch
  19. Patch7: ncftp-3.1.5-8bit.patch
  20. Patch8: ncftp-3.1.5-ncursesw.patch
  21. Patch9: ncftp-3.1.6-rh1.patch
  22. BuildRequires: ncurses-devel
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. %description
  25. Ncftp is an improved FTP client. Ncftp's improvements include support
  26. for command line editing, command histories, recursive gets, automatic
  27. anonymous logins and more.
  28. Install ncftp if you use FTP to transfer files and you'd like to try
  29. some of ncftp's additional features.
  30. %prep
  31. %setup -q
  32. #%patch1 -p0 -b .pref
  33. #patch2 -p1
  34. %patch4 -p1 -b .res
  35. %patch5 -p1 -b .eplf
  36. ## %patch6 -p1 -b .pmeter
  37. ## %patch8 -p1 -b .ncursesw
  38. %build
  39. aclocal -I autoconf_local
  40. cp -f autoconf_local/aclocal.m4 .
  41. %configure --enable-signals --enable-ipv6
  42. make STRIPFLAG=""
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
  46. %makeinstall BINDIR=$RPM_BUILD_ROOT%{_bindir}
  47. mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Internet
  48. cat > $RPM_BUILD_ROOT/etc/X11/applnk/Internet/ncftp.desktop << EOF
  49. [Desktop Entry]
  50. Name=NcFTP
  51. Name[sv]=NcFTP
  52. Name[de]=NcFTP
  53. Comment=NcFTP - a text mode FTP client
  54. Comment[sv]=NcFTP - en textbaserad FTP-klient
  55. Comment[de]=NcFTP - ein Textmodus FTP-Client
  56. Comment[ja]=NcFTP - コンソールベースの FTP クライアント
  57. Icon=ftp.xpm
  58. Exec=ncftp
  59. Type=Application
  60. Terminal=1
  61. EOF
  62. # yves - 3.1.1-1mdk - fix doc perm
  63. find doc -type f -exec chmod 0644 {} \;
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %files
  67. %defattr(-,root,root)
  68. %doc README.txt doc/{LICENSE,READLINE,what_changed_between_v2_v3}.txt doc/html
  69. %config(missingok) /etc/X11/applnk/Internet/ncftp.desktop
  70. %{_bindir}/*
  71. %{_mandir}/man1/*
  72. %changelog
  73. * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.5-1
  74. - new upstream release
  75. - drop Patch1
  76. * Tue May 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.4-1
  77. - new upstream release
  78. - drop Patch6, Patch8
  79. - fix directory name specified for aclocal (from autoconf to autoconf_local)
  80. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.2.2-1
  81. - new upstream release
  82. - applied new versioning
  83. - spec in UTF-8
  84. * Mon Nov 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1.9-0vl1
  85. - new upstream release
  86. * Sat Mar 27 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.7-2vl1
  87. - merged with rawhide
  88. * Sun Nov 30 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.6-2vl1
  89. - merged with rawhide
  90. * Mon Mar 17 2003 IWAI Masaharu <iwai@alib.jp> 3.1.5-0vl2
  91. - rebuild with new toolchain
  92. * Fri Oct 25 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.5-0vl1
  93. - source update
  94. * Tue Aug 06 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.4-0vl1
  95. - source update
  96. * Tue Apr 23 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.3-3vl1
  97. - synced with Rawhide 3.1.3-3
  98. * Wed Apr 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  99. - add new patch from Jakub as given in #61961
  100. select his second patch, that seems a very clean solution
  101. * Wed Mar 27 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.1.3-2
  102. - Add workaround for glibc bug #61961 (should-fix)
  103. * Sat Feb 9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.1.3-1
  104. - 3.1.3
  105. * Wed Jan 30 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.2-0vl1
  106. - update to 3.1.2
  107. * Sat Jan 26 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.1.1-1vl2
  108. - merged with Rawhide 3.1.1-1
  109. * Wed Dec 26 2001 Toru Sagami <sagami@vinelinux.org>
  110. - 3.1.1
  111. * Sun Dec 23 2001 Toru Sagami <sagami@vinelinux.org>
  112. - 3.1.0
  113. - Default to auto-resume=yes
  114. * Fri Oct 26 2001 Toru Sagami <sagami@vinelinux.org>
  115. - 3.0.4
  116. - ncftpspooler is newly added
  117. * Fri Oct 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  118. - 3.0.2
  119. * Thu Aug 24 2000 Philipp Knirsch <pknirsch@redhat.com>
  120. - Fixed bug in ncftp/cmds.c in LocalListCmd where the use of the popen/pclose
  121. was simply wrong and ocasionally resulted in a SIGSEGV (#16315)
  122. * Fri Aug 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  123. - Add Swedish and German translations to .desktop file, Bug #15325
  124. * Sun Jul 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  125. - small changes to spec file and redo prev patch
  126. * Sun Jul 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  127. - set "confirm-close no" per default
  128. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  129. - automatic rebuild
  130. * Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  131. - FHSify
  132. * Sun Apr 02 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  133. - 3.0.1
  134. * Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  135. - 3.0.0 final
  136. * Mon Mar 6 2000 Jeff Johnson <jbj@redhat.com>
  137. - permit 8-bit input chars to be returned without exiting (#9981),
  138. * Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  139. - Deal with rpm compressing man pages
  140. - remove wmconfig stuff
  141. * Thu Jan 6 2000 Jeff Johnson <jbj@redhat.com>
  142. - add missing docs.
  143. - y2k wartlet (#8225)
  144. * Tue Nov 9 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  145. - 3.0b21
  146. - enable signal usage
  147. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  148. - 3.0b19
  149. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  150. - auto rebuild in the new build environment (release 3)
  151. * Wed Feb 24 1999 Bill Nottingham <notting@redhat.com>
  152. - return of wmconfig
  153. * Tue Feb 23 1999 Bill Nottingham <notting@redhat.com>
  154. - 3.0b18
  155. * Fri Feb 12 1999 Bill Nottingham <notting@redhat.com>
  156. - 3.0b17
  157. * Wed Dec 2 1998 Bill Nottingham <notting@redhat.com>
  158. - 3.0b16
  159. * Wed Nov 18 1998 Bill Nottingham <notting@redhat.com>
  160. - add docs
  161. * Thu Nov 5 1998 Bill Nottingham <notting@redhat.com>
  162. - update to 3.0beta15
  163. * Thu Aug 13 1998 Jeff Johnson <jbj@redhat.com>
  164. - build root
  165. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  166. - translations modified for de, fr, tr
  167. * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
  168. - compiled for Manhattan
  169. * Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com>
  170. - updated to 2.4.3 for security reasons
  171. * Wed Nov 05 1997 Donnie Barnes <djb@redhat.com>
  172. - added wmconfig entry
  173. * Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
  174. - fixed the spec file
  175. * Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
  176. - updated to ncftp 2.4.2
  177. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  178. - built against glibc
  179. * Tue Mar 25 1997 Donnie Barnes <djb@redhat.com>
  180. - Rebuild as Sun version didn't work.