8
0

- regenerate with cpanspec (to fix license)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Copy-Recursive?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2011-12-02 07:04:48 +00:00
committed by Git OBS Bridge
parent 7210e5530a
commit 13935883ff
2 changed files with 24 additions and 29 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 2 06:48:54 UTC 2011 - coolo@suse.com
- regenerate with cpanspec (to fix license)
-------------------------------------------------------------------
Thu Dec 1 08:44:55 UTC 2011 - idoenmez@suse.de

View File

@@ -15,54 +15,44 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-File-Copy-Recursive
Version: 0.38
Release: 0
License: GPL-2.0+ or Artistic-1.0
Summary: Recursively copy files
Url: http://search.cpan.org/dist/File-Copy-Recursive
License: Artistic-1.0 or GPL-1.0+
%define cpan_name File-Copy-Recursive
Summary: Perl extension for recursively copying files and directories
Url: http://search.cpan.org/dist/File-Copy-Recursive/
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/D/DM/DMUEY/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec)
BuildRequires: perl-macros
Requires: perl(File::Copy)
Requires: perl(File::Spec)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
Perl extension for recursively copying files and directories.
This module copies and moves directories recursively (or single files,
well... singley) to an optional depth and attempts to preserve each file or
directory's mode.
%prep
%setup -q -n "File-Copy-Recursive-%{version}"
sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL PREFIX="%{_prefix}"
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%check
make test
%files
%defattr(-,root,root)
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%dir %{perl_vendorlib}/File
%dir %{perl_vendorlib}/File/Copy
%{perl_vendorlib}/File/Copy/Recursive.pm
%dir %{perl_vendorarch}/auto/File
%dir %{perl_vendorarch}/auto/File/Copy
%{perl_vendorarch}/auto/File/Copy/Recursive
%doc %{perl_man3dir}/File::Copy::Recursive.%{perl_man3ext}%{ext_man}
%changelog