]> git.pld-linux.org Git - packages/duff.git/blob - duff.spec
BR gettext-tools
[packages/duff.git] / duff.spec
1 Summary:        Duplicate file finder
2 Name:           duff
3 Version:        0.5.2
4 Release:        2
5 License:        BSD
6 Group:          Applications
7 Source0:        https://github.com/elmindreda/duff/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  e4688d2724e1990d7d36ecb89f114f9e
9 Patch0:         gettext.patch
10 Patch1:         shared-sha.patch
11 URL:            http://duff.dreda.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-tools
15 BuildRequires:  sha-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Duff is a Unix command-line utility for quickly finding duplicates in
20 a given set of files.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25 %patch1 -p1
26
27 install -d build-aux
28
29 %build
30 %{__gettextize}
31 %{__aclocal}
32 %{__autoconf}
33 %{__autoheader}
34 %{__automake}
35 %configure
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %find_lang %{name}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files -f %{name}.lang
49 %defattr(644,root,root,755)
50 %doc AUTHORS ChangeLog HACKING NEWS README TODO
51 %attr(755,root,root) %{_bindir}/%{name}
52 %{_mandir}/man1/duff.1*
This page took 0.132716 seconds and 4 git commands to generate.