1 | Name: perl-Path-Class |
---|
2 | Version: 0.35 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Cross-platform path specification manipulation |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Path-Class/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildArch: noarch |
---|
12 | BuildRequires: perl(base) |
---|
13 | BuildRequires: perl(Carp) |
---|
14 | BuildRequires: perl(Cwd) |
---|
15 | BuildRequires: perl(Exporter) |
---|
16 | BuildRequires: perl(File::Path) |
---|
17 | BuildRequires: perl(File::Spec) >= 0.87 |
---|
18 | BuildRequires: perl(File::stat) |
---|
19 | BuildRequires: perl(File::Temp) |
---|
20 | BuildRequires: perl(IO::Dir) |
---|
21 | BuildRequires: perl(IO::File) |
---|
22 | BuildRequires: perl(Module::Build) |
---|
23 | BuildRequires: perl(strict) |
---|
24 | BuildRequires: perl(Test::More) |
---|
25 | BuildRequires: perl(Test::Perl::Critic) |
---|
26 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
27 | |
---|
28 | %description |
---|
29 | Path::Class is a module for manipulation of file and directory specifications |
---|
30 | (strings describing their locations, like '/home/ken/foo.txt' or |
---|
31 | 'C:\Windows\Foo.txt') in a cross-platform manner. It supports pretty much every |
---|
32 | platform Perl runs on, including Unix, Windows, Mac, VMS, Epoc, Cygwin, OS/2, |
---|
33 | and NetWare. |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q -n Path-Class-%{version} |
---|
37 | |
---|
38 | %build |
---|
39 | perl Build.PL installdirs=vendor |
---|
40 | ./Build |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf %{buildroot} |
---|
44 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
45 | %{_fixperms} %{buildroot} |
---|
46 | |
---|
47 | %check |
---|
48 | AUTHOR_TESTING=1 ./Build test |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf %{buildroot} |
---|
52 | |
---|
53 | %files |
---|
54 | %defattr(-,root,root,-) |
---|
55 | %doc Changes README |
---|
56 | %{perl_vendorlib}/Path/ |
---|
57 | %{_mandir}/man3/Path::Class.3pm* |
---|
58 | %{_mandir}/man3/Path::Class::Dir.3pm* |
---|
59 | %{_mandir}/man3/Path::Class::Entity.3pm* |
---|
60 | %{_mandir}/man3/Path::Class::File.3pm* |
---|
61 | |
---|
62 | %changelog |
---|
63 | * Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.35-1 |
---|
64 | - updated to 0.35 |
---|
65 | - built with perl 5.16.3 |
---|
66 | |
---|
67 | * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.25-1 |
---|
68 | - initial build for Vine Linux |
---|
69 | |
---|
70 | * Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> - 0.25-1 |
---|
71 | - Update to 0.25: |
---|
72 | - resolve() now croak()s instead of die()s on non-existent file |
---|
73 | - Added a traverse() method for directories, based on the fmap_cont() method |
---|
74 | of Forest::Tree::Pure; it's an alternative to ->recurse, which allows for |
---|
75 | more control over how the recursion happens |
---|
76 | - Fixed a grammar error in the docs |
---|
77 | - Added a tempfile() method for Dir objects, which provides an interface to |
---|
78 | File::Temp (CPAN RT#60485) |
---|
79 | - Fixed a non-helpful fatal error message when calling resolve() on a path |
---|
80 | that doesn't exist; now dies with the proper "No such file or directory" |
---|
81 | message and exit status |
---|
82 | - BR: perl(Test::Perl::Critic) and run author tests where possible |
---|
83 | - Add patch to support building with Module::Build < 0.3601 |
---|
84 | |
---|
85 | * Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> - 0.23-4 |
---|
86 | - Spec clean-up: |
---|
87 | - Add buildreqs for Perl core modules that might be dual-lived |
---|
88 | - Tidy %%description |
---|
89 | - Make %%files list more explicit |
---|
90 | - Don't use macros for commands |
---|
91 | - Use search.cpan.org source URL |
---|
92 | - BR: at least version 0.87 of File::Spec |
---|
93 | |
---|
94 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-3 |
---|
95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
96 | |
---|
97 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.23-2 |
---|
98 | - Perl mass rebuild |
---|
99 | |
---|
100 | * Thu Apr 14 2011 Ian Burrell <ianburrell@gmail.com> - 0.23-1 |
---|
101 | - Update to 0.23 |
---|
102 | |
---|
103 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4 |
---|
104 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
105 | |
---|
106 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.18-3 |
---|
107 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
108 | |
---|
109 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.18-2 |
---|
110 | - Mass rebuild with perl-5.12.0 |
---|
111 | |
---|
112 | * Mon Feb 22 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.18-1 |
---|
113 | - Update to 0.18 (for latest DBIx::Class) |
---|
114 | |
---|
115 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.16-6 |
---|
116 | - Rebuild against perl 5.10.1 |
---|
117 | |
---|
118 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-5 |
---|
119 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
120 | |
---|
121 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-4 |
---|
122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
123 | |
---|
124 | * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.16-3 |
---|
125 | - Rebuild for new perl |
---|
126 | |
---|
127 | * Thu Aug 16 2007 Ian Burrell <ianburrell@gmail.com> - 0.16-2 |
---|
128 | - Fix BuildRequires |
---|
129 | |
---|
130 | * Mon Jan 29 2007 Ian Burrell <ianburrell@gmail.com> - 0.16-1 |
---|
131 | - Specfile autogenerated by cpanspec 1.69.1 |
---|