8
0
Stephan Kulow
2011-03-24 11:28:30 +00:00
committed by Git OBS Bridge
parent 3d56d95421
commit f170db0dc6

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-File-Remove # spec file for package perl-File-Remove (Version 1.49)
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,55 +15,55 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-File-Remove Name: perl-File-Remove
Version: 1.49 Version: 1.49
Release: 2 Release: 1
License: GPL+ or Artistic
%define cpan_name File-Remove %define cpan_name File-Remove
Summary: File::Remove::remove removes files and directories Summary: Remove files and directories
License: GPL, Artistic License Url: http://search.cpan.org/dist/File-Remove/
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/~adamk/File-Remove-1.42/lib/File/Remove.pm #Source: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Remove-%{version}.tar.gz
Source0: %{cpan_name}-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl(Cwd) >= 3.2701
BuildRequires: perl(File::Spec) >= 3.2701
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(Cwd) >= 3.2701
Requires: perl(File::Spec) >= 3.2701
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires} %{perl_requires}
BuildRequires: perl perl-macros
%description %description
File::Remove::remove removes files and directories. It acts like *File::Remove::remove* removes files and directories. It acts like
/bin/rm, for the most part. Although unlink can be given a list of */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 files, it will not remove directories; this module remedies that. It also
also accepts wildcards, * and ?, as arguments for filenames. accepts wildcards, * and ?, as arguments for filenames.
Author: *File::Remove::trash* accepts the same arguments as *remove*, with the
------- addition of an optional, infrequently used "other platforms" hashref.
Adam Kennedy <adamk@cpan.org>
Richard Soderberg
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%__perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
%__make %{__make} %{?_smp_mflags}
%check %check
%__make test %{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %clean
%__rm -rf %{BuildRoot} %{__rm} -rf %{buildroot}
%files %files -f %{name}.files
%defattr(-, root, root) %defattr(644,root,root,755)
%doc Changes README LICENSE %doc Changes LICENSE README
%dir %{perl_vendorlib}/File
%{perl_vendorlib}/File/Remove.pm
%{_mandir}/man3/File::Remove.3pm.*
%changelog %changelog