2006-10-28 20:32:42 +00:00
|
|
|
# norootforbuild
|
|
|
|
|
2010-12-05 13:00:02 +00:00
|
|
|
Name: perl-File-Remove
|
|
|
|
Version: 1.42
|
|
|
|
Release: 0
|
2009-10-22 19:24:40 +00:00
|
|
|
%define cpan_name File-Remove
|
2010-12-05 13:00:02 +00:00
|
|
|
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
|
2010-11-30 20:13:38 +00:00
|
|
|
%{perl_requires}
|
2010-12-05 13:00:02 +00:00
|
|
|
BuildRequires: perl perl-macros
|
2006-10-28 20:32:42 +00:00
|
|
|
|
|
|
|
%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:
|
|
|
|
-------
|
2009-10-22 19:24:40 +00:00
|
|
|
Adam Kennedy <adamk@cpan.org>
|
2006-10-28 20:32:42 +00:00
|
|
|
Richard Soderberg
|
|
|
|
|
|
|
|
%prep
|
2009-10-22 19:24:40 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2006-10-28 20:32:42 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL
|
|
|
|
%__make
|
2008-10-31 19:18:49 +00:00
|
|
|
|
|
|
|
%check
|
2006-10-28 20:32:42 +00:00
|
|
|
%__make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf %{BuildRoot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2009-10-22 19:24:40 +00:00
|
|
|
%doc Changes README LICENSE
|
2008-10-31 19:18:49 +00:00
|
|
|
%dir %{perl_vendorlib}/File
|
2006-10-28 20:32:42 +00:00
|
|
|
%{perl_vendorlib}/File/Remove.pm
|
2010-11-29 19:18:06 +00:00
|
|
|
%{_mandir}/man3/File::Remove.3pm.*
|
2006-10-28 20:32:42 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-12-05 13:00:02 +00:00
|
|
|
* 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
|
|
|
|
|