1 | Name: perl-Path-Class
|
---|
2 | Version: 0.37
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: Cross-platform path specification manipulation
|
---|
5 | License: GPL+ or Artistic
|
---|
6 | Group: Development/Libraries
|
---|
7 | Vendor: bww bitwise works GmbH
|
---|
8 | URL: http://search.cpan.org/dist/Path-Class/
|
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
|
---|
10 | BuildArch: noarch
|
---|
11 | # Module Build
|
---|
12 | BuildRequires: coreutils
|
---|
13 | BuildRequires: make
|
---|
14 | #BuildRequires: perl-interpreter
|
---|
15 | BuildRequires: perl-generators
|
---|
16 | BuildRequires: perl(Module::Build) > 0.36
|
---|
17 | # Module Runtime
|
---|
18 | BuildRequires: perl(Carp)
|
---|
19 | BuildRequires: perl(Cwd)
|
---|
20 | BuildRequires: perl(Exporter)
|
---|
21 | BuildRequires: perl(File::Copy)
|
---|
22 | BuildRequires: perl(File::Path)
|
---|
23 | BuildRequires: perl(File::Spec) >= 3.26
|
---|
24 | BuildRequires: perl(File::stat)
|
---|
25 | BuildRequires: perl(File::Temp)
|
---|
26 | BuildRequires: perl(IO::Dir)
|
---|
27 | BuildRequires: perl(IO::File)
|
---|
28 | BuildRequires: perl(overload)
|
---|
29 | BuildRequires: perl(parent)
|
---|
30 | BuildRequires: perl(Perl::OSType)
|
---|
31 | BuildRequires: perl(Scalar::Util)
|
---|
32 | BuildRequires: perl(strict)
|
---|
33 | # Test Suite
|
---|
34 | BuildRequires: perl(Test)
|
---|
35 | BuildRequires: perl(Test::More) >= 0.88
|
---|
36 | BuildRequires: perl(warnings)
|
---|
37 | # Author Tests
|
---|
38 | #%if !%{defined perl_bootstrap}
|
---|
39 | #BuildRequires: perl(English)
|
---|
40 | # Cycle: perl-Path-Class â perl-Test-Perl-Critic â perl-Perl-Critic â
|
---|
41 | # perl-Pod-Spell â perl-File-ShareDir-ProjectDistDir â perl-Path-Class
|
---|
42 | #BuildRequires: perl(Test::Perl::Critic)
|
---|
43 | #%endif
|
---|
44 | # Runtime
|
---|
45 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
---|
46 | Requires: perl(File::Copy)
|
---|
47 | Requires: perl(Perl::OSType)
|
---|
48 |
|
---|
49 | %description
|
---|
50 | Path::Class is a module for manipulation of file and directory specifications
|
---|
51 | (strings describing their locations, like '/home/ken/foo.txt' or
|
---|
52 | 'C:\Windows\Foo.txt') in a cross-platform manner. It supports pretty much every
|
---|
53 | platform Perl runs on, including Unix, Windows, Mac, VMS, Epoc, Cygwin, OS/2,
|
---|
54 | and NetWare.
|
---|
55 |
|
---|
56 | %prep
|
---|
57 | %setup -q -n Path-Class-%{version}
|
---|
58 |
|
---|
59 | %build
|
---|
60 | perl Build.PL --installdirs=vendor
|
---|
61 | ./Build
|
---|
62 |
|
---|
63 | %install
|
---|
64 | ./Build install --destdir=%{buildroot} --create_packlist=0
|
---|
65 | %{_fixperms} %{buildroot}
|
---|
66 |
|
---|
67 | %check
|
---|
68 | #AUTHOR_TESTING=1 ./Build test
|
---|
69 |
|
---|
70 | %files
|
---|
71 | %if 0%{?_licensedir:1}
|
---|
72 | %license LICENSE
|
---|
73 | %else
|
---|
74 | %doc LICENSE
|
---|
75 | %endif
|
---|
76 | %doc Changes README
|
---|
77 | %{perl_vendorlib}/Path/
|
---|
78 | #%{_mandir}/man3/Path::Class.3*
|
---|
79 | #%{_mandir}/man3/Path::Class::Dir.3*
|
---|
80 | #%{_mandir}/man3/Path::Class::Entity.3*
|
---|
81 | %{_mandir}/man3/*.3*
|
---|
82 |
|
---|
83 | %changelog
|
---|
84 | * Thu Mar 08 2018 Elbert Pol <elbert.pol@gmail.com> - 0.37-1
|
---|
85 | - initial rpm for OS2
|
---|