#20060129 Customized from _template.spec Summary: Perl-based bulk file renamer Name: multi Version: 4874 Release: dm2 License: MIT Group: Applications/System URL: http://www.chiark.greenend.org.uk/~sgtatham/utils/ Packager: Durval Menezes Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Buildarch: noarch Requires: perl %description Transforms a list of file names using a user-provided Perl expression, and passes each name plus the transformed version to a command of your choice (often, but not limited to, mv or cp). %prep %setup -n multi %install %{__rm} -rf %{buildroot} mkdir -p %{buildroot}{/usr/share/man/man1/,/usr/bin} gzip < multi.1 > %{buildroot}/usr/share/man/man1/multi.1.gz install -o 755 multi %{buildroot}/usr/bin %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc %{_mandir}/man?/* %{_bindir}/* %changelog * Sun Jan 29 2006 Durval Menezes [4874-dm1] - Initial package