8
0
Files
perl-File-Remove/perl-File-Remove.spec

59 lines
1.3 KiB
RPMSpec
Raw Normal View History

# norootforbuild
Name: perl-File-Remove
Version: 1.42
Release: 0
%define cpan_name File-Remove
Summary: File::Remove::remove removes files and directories
License: GPL, Artistic License
Group: Development/Libraries/Perl
Url: http://search.cpan.org/~adamk/File-Remove-1.42/lib/File/Remove.pm
Source0: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
%description
File::Remove::remove removes files and directories. It acts like
/bin/rm, for the most part. Although unlink can be given a list of
files, it will not remove directories; this module remedies that. It
also accepts wildcards, * and ?, as arguments for filenames.
Author:
-------
Adam Kennedy <adamk@cpan.org>
Richard Soderberg
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL
%__make
%check
%__make test
%install
%perl_make_install
%perl_process_packlist
%clean
%__rm -rf %{BuildRoot}
%files
%defattr(-, root, root)
%doc Changes README LICENSE
%dir %{perl_vendorlib}/File
%{perl_vendorlib}/File/Remove.pm
%{_mandir}/man3/File::Remove.3pm.*
%changelog
* Fri Oct 31 2008 Richard Bos <rbos@opensuse.org> - 0.31
- fixed rpmlint errors on the buildserver
* Wed Mar 13 2007 Marcus Hüwe <suse-tux@gmx.de> - 0.31
- fixed BuildRequires
* Sat Jun 10 2006 Marcus Hüwe <suse-tux@gmx.de>
- initial build