source: projects/specs/trunk/f/fdupes/fdupes-vl.spec @ 8787

Revision 8787, 3.2 KB checked in by kudoh, 10 years ago (diff)

new upstream release and initial build

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