]> git.pld-linux.org Git - packages/detox.git/blob - detox.spec
- fix format string errors
[packages/detox.git] / detox.spec
1 #
2 # TODO: move samples to docs
3 #
4 Summary:        Utility designed to clean up filenames
5 Name:           detox
6 Version:        1.2.0
7 Release:        3
8 License:        BSD-like
9 Group:          Applications
10 Source0:        http://downloads.sourceforge.net/detox/%{name}-%{version}.tar.gz
11 # Source0-md5:  04f1bc8501cd40c21610ea3fee7a6fc5
12 Patch0:         format-security.patch
13 URL:            http://detox.sourceforge.net/
14 #BuildRequires: -
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 detox is a utility designed to clean up filenames, especially those
19 created on other operating systems. It replaces non-standard
20 characters, such as spaces or Latin-1 characters, with standard
21 equivalents.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26
27 %build
28 %configure
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} -j1 install \
35         DESTDIR=$RPM_BUILD_ROOT
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc CHANGES README
43 %attr(755,root,root) %{_bindir}/detox
44 %attr(755,root,root) %{_bindir}/inline-detox
45 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/detoxrc
46 %dir %{_datadir}/detox
47 %{_datadir}/detox/*.tbl
48 %{_mandir}/man1/detox*
49 %{_mandir}/man5/detox*
This page took 0.146535 seconds and 4 git commands to generate.