source: spec/trunk/SPECS/perl-Path-Class.spec@ 1566

Last change on this file since 1566 was 1348, checked in by tellie, 8 years ago

spec: perl-Path-Class: Release version 0.37-1.

File size: 2.4 KB
Line 
1Name: perl-Path-Class
2Version: 0.37
3Release: 1%{?dist}
4Summary: Cross-platform path specification manipulation
5License: GPL+ or Artistic
6Group: Development/Libraries
7Vendor: bww bitwise works GmbH
8URL: http://search.cpan.org/dist/Path-Class/
9Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
10BuildArch: noarch
11# Module Build
12BuildRequires: coreutils
13BuildRequires: make
14#BuildRequires: perl-interpreter
15BuildRequires: perl-generators
16BuildRequires: perl(Module::Build) > 0.36
17# Module Runtime
18BuildRequires: perl(Carp)
19BuildRequires: perl(Cwd)
20BuildRequires: perl(Exporter)
21BuildRequires: perl(File::Copy)
22BuildRequires: perl(File::Path)
23BuildRequires: perl(File::Spec) >= 3.26
24BuildRequires: perl(File::stat)
25BuildRequires: perl(File::Temp)
26BuildRequires: perl(IO::Dir)
27BuildRequires: perl(IO::File)
28BuildRequires: perl(overload)
29BuildRequires: perl(parent)
30BuildRequires: perl(Perl::OSType)
31BuildRequires: perl(Scalar::Util)
32BuildRequires: perl(strict)
33# Test Suite
34BuildRequires: perl(Test)
35BuildRequires: perl(Test::More) >= 0.88
36BuildRequires: 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
45Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
46Requires: perl(File::Copy)
47Requires: perl(Perl::OSType)
48
49%description
50Path::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
53platform Perl runs on, including Unix, Windows, Mac, VMS, Epoc, Cygwin, OS/2,
54and NetWare.
55
56%prep
57%setup -q -n Path-Class-%{version}
58
59%build
60perl 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
Note: See TracBrowser for help on using the repository browser.