2 # TODO: move samples to docs
4 Summary: Utility designed to clean up filenames
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/
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
32 rm -rf $RPM_BUILD_ROOT
34 %{__make} -j1 install \
35 DESTDIR=$RPM_BUILD_ROOT
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
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*