Name: detox Version: 1.3.2 Release: 1.1 Summary: Utility to replace problematic characters in file names Group: Applications/File License: BSD URL: http://detox.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: flex %description Detox is a utility designed to clean up file names. It replaces difficult to work with characters, such as spaces, with standard equivalents. It will also clean up file names with UTF-8 or Latin-1 (or CP-1252) characters in them. %prep %setup -q %build autoreconf -ifv %configure %make_build %install %make_install # remove unwanted files rm %{buildroot}%{_sysconfdir}/*.sample rm %{buildroot}%{_datadir}/%{name}/*.sample rm -rf %{buildroot}%{_datadir}/doc/detox %files %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}rc %{_bindir}/%{name} %{_bindir}/inline-%{name} %{_datadir}/%{name} %doc CHANGELOG.md README.md %license LICENSE %{_mandir}/man5/detox* %{_mandir}/man1/* %changelog * Tue Feb 02 2021 Holger Bruenjes - update version 1.3.2 * Thu Jan 22 2015 Antoine Ginies - usefull to remove anoying character