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

Revision 5747, 2.7 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-PPIx-Utilities
2Version:        1.001000
3Release:        1%{?_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}-%{release}-root-%(%{__id_u} -n)
10BuildArch:      noarch
11BuildRequires:  perl(Data::Dumper)
12BuildRequires:  perl(Exception::Class)
13BuildRequires:  perl(ExtUtils::MakeMaker)
14BuildRequires:  perl(File::Slurp)
15BuildRequires:  perl(PPI::Document) >= 1.208
16BuildRequires:  perl(PPI::Dumper) >= 1.208
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%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* Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.001000-1
68- initial build for Vine Linux
69
70* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001000-4
71- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
72
73* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.001000-3
74- Perl mass rebuild
75
76* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.001000-2
77- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
78
79* Thu Dec  2 2010 Paul Howarth <paul@city-fan.org> - 1.001000-1
80- Update to 1.001000
81  - Add support for Const::Fast to PPIx::Utilities::Statement
82
83* Thu Jul 29 2010 Paul Howarth <paul@city-fan.org> - 1.000001-2
84- Re-jig for Fedora submission
85
86* Wed Jun 23 2010 Paul Howarth <paul@city-fan.org> - 1.000001-1
87- Initial RPM version
Note: See TracBrowser for help on using the repository browser.