[CentOS-devel] multi: contributed RPM submission

Durval Menezes durval at tmp.com.br
Sun Apr 2 13:37:51 UTC 2006


Here's my submission for a new package: multi, a Perl-based bulk file

The URL to the SRPM is: 

I've attached the .spec file.

Best Regards,
   Durval Menezes (durval AT tmp DOT com DOT br, http://www.tmp.com.br/)
-------------- next part --------------
#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 <durval AT tmp DOT com DOT br>

Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Buildarch: noarch
Requires: perl

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).

%setup -n multi

%{__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

%{__rm} -rf %{buildroot}

%defattr(-, root, root, 0755)
%doc %{_mandir}/man?/*

* Sun Jan 29 2006 Durval Menezes <durval AT tmp DOT com DOT br> [4874-dm1]
- Initial package

More information about the CentOS-devel mailing list