2011-01-12 10:44:16 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-File-Remove (Version 1.42)
|
|
|
|
#
|
2011-01-12 10:44:59 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-01-12 10:44:16 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2006-10-28 20:32:42 +00:00
|
|
|
# norootforbuild
|
|
|
|
|
2011-01-12 10:44:16 +00:00
|
|
|
|
|
|
|
Name: perl-File-Remove
|
|
|
|
Version: 1.42
|
2011-01-12 10:44:59 +00:00
|
|
|
Release: 1
|
2009-10-22 19:24:40 +00:00
|
|
|
%define cpan_name File-Remove
|
2011-01-12 10:44:16 +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}
|
2011-01-12 10:44:59 +00:00
|
|
|
BuildRequires: perl
|
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
|