ftpmirror-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Summary: mirroring tool
  2. Summary(ja): ftpミラーツール
  3. Name: ftpmirror
  4. Version: 1.96
  5. Release: 3%{?_dist_release}
  6. License: Distributable
  7. Group: Applications/Internet
  8. Source: ftp://ftp.intec.co.jp/pub/utils/ftpmirror/beta/ftpmirror-1.96.tar.gz
  9. Patch0: ftpmirror.rhl.patch
  10. Patch1: ftpmirror.Fan.diff
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. Requires: perl >= 1:5.8.2
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. ftpmirror is a tool to get contents of a directory recursively by FTP.
  17. ftpmirror consumes less memory than 'mirror'.
  18. %description -l ja
  19. ftpmirror は FTP を用いて、ある特定のディレクトリ以下をほぼ完全
  20. な状態で再帰的にコピーする(これをミラーと呼ぶ)ためのツールです。
  21. 同様のものに mirror というものがありますが、ftpmirror は mirror
  22. と比較してメモリ使用量を劇的に抑えるように設計されています。
  23. %prep
  24. %setup
  25. %patch0 -p1
  26. %patch1 -p1
  27. %build
  28. ./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
  29. make
  30. %install
  31. rm -rf %{buildroot}
  32. mkdir -p %{buildroot}%{_bindir}
  33. mkdir -p %{buildroot}%{_sysconfdir}
  34. make PREFIX=%{buildroot}%{_prefix} \
  35. prefix=%{buildroot}%{_prefix} SYSCONFDIR=%{buildroot}%{_sysconfdir} \
  36. INSTALLSITEARCH=%{buildroot}%{perl_vendorarch} \
  37. install
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root)
  42. %doc COPYRIGHT README* RELEASE*
  43. %{_bindir}/rotate
  44. %{_bindir}/ftpmirror
  45. %{perl_vendorarch}/Fan*
  46. %{perl_vendorarch}/auto/Fan
  47. %{_sysconfdir}/ftpmirror.cf-sample
  48. %changelog
  49. * Sun Oct 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.96-3
  50. - spec in UTF-8
  51. * Sat May 17 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.96-2
  52. - use %%{perl_vendorarch} instead of %%{perl_sitearch}
  53. * Fri May 16 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.96-1
  54. - rebuild
  55. - apply new versioning policy
  56. * Fri Mar 5 2004 Tomoya TAKA <taka@vinelinux.org> 1.96-0vl4
  57. - remove DESTDIR from 'make install'
  58. - Requires: perl >= 1:5.8.2
  59. - s/Copyright/License/
  60. * Wed Sep 3 2003 IWAI, Masaharu <iwai@alib.jp> 1.96-0vl3
  61. - build with perl-5.8.0
  62. * Tue Jun 19 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
  63. - 1.96-0vl2
  64. - build for VineSeed, with perl-5.6.1
  65. - use better macros
  66. * Tue Jun 19 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
  67. - 1.96-0vl1
  68. - update to 1.96
  69. - add Requires: perl >= 5.00503
  70. - remove BuildArch: noarch
  71. - fix ftpmirror.Fan.diff (%%patch1)
  72. - fix spec file
  73. * Thu Sep 21 2000 Jun Nishii <jun@vinelinux.org>
  74. - 1.95-3vl1
  75. - minor fix of spec file
  76. * Fri Dec 24 1999 Jun Nishii <jun@vinelinux.org>
  77. - change group
  78. * Sat Nov 27 1999 Jun Nishii <jun@vinelinux.org>
  79. - build for Vine Linux 2.0