source: projects/specs/trunk/p/perl-PPIx-Utilities/perl-PPIx-Utilities-vl.spec @ 12120

Revision 12120, 3.0 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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