1 | Name: perl-PPIx-Utilities |
---|
2 | Version: 1.001000 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Extensions to PPI |
---|
5 | Group: Development/Libraries |
---|
6 | License: GPL+ or Artistic |
---|
7 | URL: http://search.cpan.org/dist/PPIx-Utilities/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildArch: noarch |
---|
11 | BuildRequires: perl(Data::Dumper) |
---|
12 | BuildRequires: perl(Exception::Class) |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(File::Slurp) |
---|
15 | BuildRequires: perl(PPI::Document) >= 1.208 |
---|
16 | BuildRequires: perl(PPI::Dumper) >= 1.208 |
---|
17 | BuildRequires: perl(Readonly) |
---|
18 | BuildRequires: perl(Task::Weaken) |
---|
19 | BuildRequires: perl(Test::Deep) |
---|
20 | BuildRequires: perl(Test::More) |
---|
21 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
22 | Requires: perl(Exporter) |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: shaolin |
---|
27 | |
---|
28 | %{?perl_default_filter} |
---|
29 | |
---|
30 | %description |
---|
31 | This is a collection of functions for dealing with PPI objects, many of |
---|
32 | which originated in Perl::Critic. They are organized into modules by the |
---|
33 | kind of PPI class they relate to, by replacing the "PPI" at the front of |
---|
34 | the module name with "PPIx::Utilities", e.g. functionality related to |
---|
35 | PPI::Nodes is in PPIx::Utilities::Node. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q -n PPIx-Utilities-%{version} |
---|
39 | |
---|
40 | %build |
---|
41 | perl Makefile.PL INSTALLDIRS=vendor |
---|
42 | make %{?_smp_mflags} |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf %{buildroot} |
---|
46 | make pure_install DESTDIR=%{buildroot} |
---|
47 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
48 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
49 | %{_fixperms} %{buildroot} |
---|
50 | |
---|
51 | %check |
---|
52 | make test |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-,root,root,-) |
---|
59 | %doc Changes LICENSE README |
---|
60 | %{perl_vendorlib}/PPIx/ |
---|
61 | %{_mandir}/man3/PPIx::Utilities.3pm* |
---|
62 | %{_mandir}/man3/PPIx::Utilities::Exception::Bug.3pm* |
---|
63 | %{_mandir}/man3/PPIx::Utilities::Node.3pm* |
---|
64 | %{_mandir}/man3/PPIx::Utilities::Statement.3pm* |
---|
65 | |
---|
66 | %changelog |
---|
67 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.001000-2 |
---|
68 | - rebuild |
---|
69 | |
---|
70 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.001000-1 |
---|
71 | - initial build for Vine Linux |
---|
72 | |
---|
73 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001000-4 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
75 | |
---|
76 | * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.001000-3 |
---|
77 | - Perl mass rebuild |
---|
78 | |
---|
79 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001000-2 |
---|
80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
81 | |
---|
82 | * Thu Dec 2 2010 Paul Howarth <paul@city-fan.org> - 1.001000-1 |
---|
83 | - Update to 1.001000 |
---|
84 | - Add support for Const::Fast to PPIx::Utilities::Statement |
---|
85 | |
---|
86 | * Thu Jul 29 2010 Paul Howarth <paul@city-fan.org> - 1.000001-2 |
---|
87 | - Re-jig for Fedora submission |
---|
88 | |
---|
89 | * Wed Jun 23 2010 Paul Howarth <paul@city-fan.org> - 1.000001-1 |
---|
90 | - Initial RPM version |
---|