8
0
Files
perl-File-Copy-Recursive/perl-File-Copy-Recursive.spec

69 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-File-Copy-Recursive
#
# Copyright (c) 2011 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/
#
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
Group: Development/Libraries/Perl
Source: http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-%{version}.tar.gz
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.
%prep
%setup -q -n "File-Copy-Recursive-%{version}"
sed -i '/^auto_install/d' Makefile.PL
%build
perl Makefile.PL PREFIX="%{_prefix}"
make %{?_smp_mflags}
%install
%perl_make_install
%perl_process_packlist
%check
make test
%files
%defattr(-,root,root)
%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