perl-PathTools/perl-PathTools.spec

Name: perl-PathTools
Summary: Tools for working with paths and file specs across platforms
Version: 3.60
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/PathTools/
Description: Tools for working with paths and file specs across platforms.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: cmr
# Upstream: Maintained by Ken Williams <KWILLIAMS$cpan,org>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name PathTools

Summary: Tools for working with paths and file specs across platforms
Name: perl-PathTools
Version: 3.60
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/PathTools/

Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/PathTools-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl >= 0:5.005
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(File::Path)
BuildRequires: perl(Module::Build) >= 0.19
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test)
Requires: perl >= 0:5.005
Obsoletes: perl-Cwd

%description
Tools for working with paths and file specs across platforms.

%prep
%setup -n %{real_name}-%{version}

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes INSTALL MANIFEST META.yml README
%{perl_vendorarch}/Cwd.pm
%{perl_vendorarch}/File/Spec.pm
%{perl_vendorarch}/File/Spec/Cygwin.pm
%{perl_vendorarch}/File/Spec/Epoc.pm
%{perl_vendorarch}/File/Spec/Functions.pm
%{perl_vendorarch}/File/Spec/Mac.pm
%{perl_vendorarch}/File/Spec/OS2.pm
%{perl_vendorarch}/File/Spec/Unix.pm
%{perl_vendorarch}/File/Spec/VMS.pm
%{perl_vendorarch}/File/Spec/Win32.pm
%{perl_vendorarch}/auto/Cwd/Cwd.bs
%{perl_vendorarch}/auto/Cwd/Cwd.so
%{perl_vendorarch}/File/Spec/AmigaOS.pm
%doc %{_mandir}/man3/Cwd.3pm*
%doc %{_mandir}/man3/File::Spec.3pm*
%doc %{_mandir}/man3/File::Spec::Cygwin.3pm*
%doc %{_mandir}/man3/File::Spec::Epoc.3pm*
%doc %{_mandir}/man3/File::Spec::Functions.3pm*
%doc %{_mandir}/man3/File::Spec::Mac.3pm*
%doc %{_mandir}/man3/File::Spec::OS2.3pm*
%doc %{_mandir}/man3/File::Spec::Unix.3pm*
%doc %{_mandir}/man3/File::Spec::VMS.3pm*
%doc %{_mandir}/man3/File::Spec::Win32.3pm*
%doc %{_mandir}/man3/File::Spec::AmigaOS.3pm*


%changelog
* Thu Oct 15 2015 Dries Verachtert <dries.verachtert@dries.eu> - 3.60-1
- Updated to release 3.60.

* Thu Jul 09 2009 Christoph Maser <cmr@financial.com> - 3.30-1
- Updated to release 3.30

* Tue Feb 19 2008 Dag Wieers <dag@wieers.com> - 3.2701-1
- Updated to release 3.2701.

* Thu Dec 27 2007 Dag Wieers <dag@wieers.com> - 3.2501-1
- Updated to release 3.2501.

* Mon Aug 06 2007 Dag Wieers <dag@wieers.com> - 3.25-1
- Initial package. (using DAR)