fdupes-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: Finds duplicate files in a given set of directories
  2. Summary(ja): 指定されたディレクトリ群から重複ファイルを見つけるツール
  3. Name: fdupes
  4. Version: 1.50
  5. Release: 0.1.PR2%{?_dist_release}
  6. License: MIT
  7. Group: Applications/System
  8. URL: http://netdial.caribe.net/~adrian2/fdupes.html
  9. Source0: http://netdial.caribe.net/~adrian2/programs/fdupes/beta/%{name}-%{version}-PR2.tar.gz
  10. Patch0: %{name}-%{version}-destdir.patch
  11. # http://bugs.debian.org/213385
  12. Patch1: %{name}-%{version}-compare-file.patch
  13. # http://bugs.debian.org/447601
  14. Patch2: %{name}-%{version}-lfs.patch
  15. # http://bugs.debian.org/353789
  16. Patch3: %{name}-%{version}-typo.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  18. %description
  19. FDUPES is a program for identifying duplicate files residing within specified
  20. directories.
  21. %prep
  22. %setup -q -n %{name}-%{version}-PR2
  23. %patch0 -p1
  24. %patch1 -p1
  25. %patch2 -p1
  26. %patch3 -p1
  27. %build
  28. make %{?_smp_mflags} COMPILER_OPTIONS="$RPM_OPT_FLAGS"
  29. %check
  30. ./%{name} testdir
  31. ./%{name} --omitfirst testdir
  32. ./%{name} --recurse testdir
  33. ./%{name} --size testdir
  34. # ... etc..
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install INSTALL="%{__install} -p" BIN_DIR=%{_bindir} \
  38. MAN_BASE_DIR=%{_mandir} DESTDIR=$RPM_BUILD_ROOT
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc CHANGES
  44. %doc CONTRIBUTORS
  45. %doc README
  46. %doc TODO
  47. %doc %{_mandir}/man1/%{name}.1*
  48. %{_bindir}/%{name}
  49. %changelog
  50. * Wed Sep 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.50-0.1.PR2
  51. - initial build for Vine Linux
  52. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-0.2.PR2
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  54. * Sun Feb 01 2009 Debarshi Ray <rishi@fedoraproject.org> - 1.50-0.1.PR2
  55. - Version bump to 1.50 PR2.
  56. * Added --noprompt, --recurse and --summarize options
  57. * Now sorts duplicates (old to new) for consistent order when listing or
  58. deleting duplicate files.
  59. * Now tests for early matching of files, which should help speed up the
  60. matching process when large files are involved.
  61. * Added warning whenever a file cannot be deleted.
  62. * Fixed bug where some files would not be closed after failure.
  63. * Fixed bug where confirmmatch() function wouldn't always deal properly with
  64. zero-length files.
  65. * Fixed bug where progress indicator would not be cleared when no files were
  66. found.
  67. - Inclusion of string.h now added by upstream.
  68. - Added patch to fix file comparisons from Debian. (Debian BTS #213385)
  69. - Added patch to enable large file support on 32-bit systems from Debian.
  70. (Debian BTS #447601)
  71. - Added patch to fix typo in the online manual page from Debian. (Debian BTS
  72. #353789)
  73. * Tue Feb 19 2008 Release Engineering <rel-eng@fedoraproject.org> - 1.40-12
  74. - Autorebuild for gcc-4.3.
  75. * Thu Dec 27 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.40-11
  76. - Fixed Makefile to preserve timestamps using 'cp -p'.
  77. * Thu Nov 29 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.40-10
  78. - Release bumped to overcome spurious build.
  79. * Sun Nov 25 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.40-9
  80. - Initial build. Imported SPEC from Rawhide.
  81. - Fixed Makefile to use DESTDIR correctly.
  82. - Fixed sources to include string.h.