Name: detox Version: 1.2.0 Release: 1.40 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 %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install INSTALL='install -p' DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT/etc/detoxrc.sample %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}rc %{_bindir}/%{name} %{_bindir}/inline-%{name} %{_datadir}/%{name} %doc CHANGES LICENSE README %{_mandir}/man5/detox* %{_mandir}/man1/detox* %changelog * Thu Jan 22 2015 Antoine Ginies - usefull to remove anoying character