fdupes-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Summary: Finds duplicate files in a given set of directories
  2. Summary(ja): 指定されたディレクトリ群から重複ファイルを見つけるツール
  3. Name: fdupes
  4. Version: 1.51
  5. Release: 1%{?_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}.tar.gz
  10. Patch0: fdupes-1.51-destdir.patch
  11. # http://bugs.debian.org/353789
  12. Patch1: fdupes-1.51-typo.patch
  13. # Fix CVE
  14. Patch2: fdupes-1.51-check-permissions.patch
  15. # Apply proper LDFLAGS
  16. Patch3: fdupes-1.51-obey-ldflags.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}
  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 %{buildroot}
  37. make install INSTALL="%{__install} -p" BIN_DIR=%{_bindir} \
  38. MAN_BASE_DIR=%{_mandir} DESTDIR=%{buildroot}
  39. %clean
  40. rm -rf %{buildroot}
  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. * Sat Jul 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.51-1
  51. - new upstream release
  52. - imported fedora rawhide patches
  53. * Wed Sep 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.50-0.1.PR2
  54. - initial build for Vine Linux
  55. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-0.2.PR2
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  57. * Sun Feb 01 2009 Debarshi Ray <rishi@fedoraproject.org> - 1.50-0.1.PR2
  58. - Version bump to 1.50 PR2.
  59. * Added --noprompt, --recurse and --summarize options
  60. * Now sorts duplicates (old to new) for consistent order when listing or
  61. deleting duplicate files.
  62. * Now tests for early matching of files, which should help speed up the
  63. matching process when large files are involved.
  64. * Added warning whenever a file cannot be deleted.
  65. * Fixed bug where some files would not be closed after failure.
  66. * Fixed bug where confirmmatch() function wouldn't always deal properly with
  67. zero-length files.
  68. * Fixed bug where progress indicator would not be cleared when no files were
  69. found.
  70. - Inclusion of string.h now added by upstream.
  71. - Added patch to fix file comparisons from Debian. (Debian BTS #213385)
  72. - Added patch to enable large file support on 32-bit systems from Debian.
  73. (Debian BTS #447601)
  74. - Added patch to fix typo in the online manual page from Debian. (Debian BTS
  75. #353789)
  76. * Tue Feb 19 2008 Release Engineering <rel-eng@fedoraproject.org> - 1.40-12
  77. - Autorebuild for gcc-4.3.
  78. * Thu Dec 27 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.40-11
  79. - Fixed Makefile to preserve timestamps using 'cp -p'.
  80. * Thu Nov 29 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.40-10
  81. - Release bumped to overcome spurious build.
  82. * Sun Nov 25 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.40-9
  83. - Initial build. Imported SPEC from Rawhide.
  84. - Fixed Makefile to use DESTDIR correctly.
  85. - Fixed sources to include string.h.