forked from pool/perl-File-Remove
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Remove?expand=0&rev=14
70 lines
1.9 KiB
RPMSpec
70 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package perl-File-Remove (Version 1.42)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-File-Remove
|
|
Version: 1.42
|
|
Release: 1
|
|
%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
|