1 | Name: perl-PPIx-Regexp |
---|
2 | Version: 0.037 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Represent a regular expression of some sort |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/PPIx-Regexp/ |
---|
8 | Source0: http://www.cpan.org/authors/id/W/WY/WYANT/PPIx-Regexp-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildArch: noarch |
---|
12 | BuildRequires: perl(List::MoreUtils) |
---|
13 | BuildRequires: perl(Module::Build) |
---|
14 | BuildRequires: perl(PPI::Document) >= 1.117 |
---|
15 | BuildRequires: perl(Task::Weaken) |
---|
16 | BuildRequires: perl(Test::More) >= 0.88 |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | Requires: perl(PPI::Document) >= 1.117 |
---|
19 | Requires: perl(Task::Weaken) |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: shaolin |
---|
24 | |
---|
25 | %description |
---|
26 | The purpose of the PPIx-Regexp package is to parse regular expressions in a |
---|
27 | manner similar to the way the PPI package parses Perl. This class forms the |
---|
28 | root of the parse tree, playing a role similar to PPI::Document. |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n PPIx-Regexp-%{version} |
---|
32 | chmod -x eg/* |
---|
33 | sed -i '1 s|/usr/local/bin/perl|/usr/bin/perl|' eg/* |
---|
34 | |
---|
35 | %if %{_dist_release} > "vl6" |
---|
36 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(PPI::Document\\)$ |
---|
37 | %else |
---|
38 | cat << \EOF > %{name}-req |
---|
39 | #!/bin/sh |
---|
40 | %{__perl_requires} $* |\ |
---|
41 | sed -e '/perl(PPI::Document)/d' |
---|
42 | EOF |
---|
43 | |
---|
44 | %global __perl_requires %{_builddir}/PPIx-Regexp-%{version}/%{name}-req |
---|
45 | chmod +x %{__perl_requires} |
---|
46 | %endif |
---|
47 | |
---|
48 | %build |
---|
49 | %{__perl} Build.PL installdirs=vendor |
---|
50 | ./Build |
---|
51 | |
---|
52 | %install |
---|
53 | rm -rf ${RPM_BUILD_ROOT} |
---|
54 | ./Build install destdir=${RPM_BUILD_ROOT} create_packlist=0 |
---|
55 | find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
56 | %{_fixperms} ${RPM_BUILD_ROOT}/* |
---|
57 | |
---|
58 | %check |
---|
59 | ./Build test |
---|
60 | |
---|
61 | %clean |
---|
62 | rm -rf ${RPM_BUILD_ROOT} |
---|
63 | |
---|
64 | %files |
---|
65 | %doc Changes eg LICENSES README |
---|
66 | %{perl_vendorlib}/* |
---|
67 | %{_mandir}/man3/* |
---|
68 | |
---|
69 | %changelog |
---|
70 | * Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.037-1 |
---|
71 | - new upstream release |
---|
72 | - built with perl 5.16.3 |
---|
73 | |
---|
74 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.025-2 |
---|
75 | - rebuild |
---|
76 | |
---|
77 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.025-1 |
---|
78 | - initial build for Vine Linux |
---|
79 | |
---|
80 | * Mon Jan 23 2012 Petr Pisar <ppisar@redhat.com> - 0.025-1 |
---|
81 | - 0.025 bump |
---|
82 | |
---|
83 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.024-2 |
---|
84 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
85 | |
---|
86 | * Mon Dec 19 2011 Petr Pisar <ppisar@redhat.com> - 0.024-1 |
---|
87 | - 0.024 bump |
---|
88 | |
---|
89 | * Fri Dec 09 2011 Petr Pisar <ppisar@redhat.com> - 0.023-1 |
---|
90 | - 0.023 bump |
---|
91 | |
---|
92 | * Fri Nov 25 2011 Petr Pisar <ppisar@redhat.com> - 0.022-1 |
---|
93 | - 0.022 bump |
---|
94 | |
---|
95 | * Tue Jul 26 2011 Petr Pisar <ppisar@redhat.com> - 0.021-1 |
---|
96 | - 0.021 bump |
---|
97 | - Remove RPM 4.8 filter |
---|
98 | |
---|
99 | * Mon Jul 25 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.020-3 |
---|
100 | - add new filter |
---|
101 | |
---|
102 | * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.020-2 |
---|
103 | - Perl mass rebuild |
---|
104 | |
---|
105 | * Mon Apr 04 2011 Petr Pisar <ppisar@redhat.com> - 0.020-1 |
---|
106 | - 0.020 bump |
---|
107 | |
---|
108 | * Wed Mar 02 2011 Petr Pisar <ppisar@redhat.com> - 0.019-1 |
---|
109 | - 0.019 bump |
---|
110 | |
---|
111 | * Thu Feb 17 2011 Petr Pisar <ppisar@redhat.com> - 0.018-1 |
---|
112 | - 0.018 bump |
---|
113 | - Remove BuildRoot stuff |
---|
114 | |
---|
115 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.017-2 |
---|
116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
117 | |
---|
118 | * Thu Jan 27 2011 Petr Pisar <ppisar@redhat.com> - 0.017-1 |
---|
119 | - 0.017 bump |
---|
120 | |
---|
121 | * Thu Jan 06 2011 Petr Pisar <ppisar@redhat.com> - 0.016-1 |
---|
122 | - 0.016 bump |
---|
123 | |
---|
124 | * Wed Oct 27 2010 Petr Pisar <ppisar@redhat.com> - 0.015-1 |
---|
125 | - 0.015 bump |
---|
126 | |
---|
127 | * Mon Oct 18 2010 Petr Pisar <ppisar@redhat.com> - 0.014-1 |
---|
128 | - 0.014 bump |
---|
129 | |
---|
130 | * Mon Oct 04 2010 Petr Pisar <ppisar@redhat.com> - 0.012-1 |
---|
131 | - 0.012 bump |
---|
132 | |
---|
133 | * Wed Sep 22 2010 Petr Pisar <ppisar@redhat.com> - 0.011-1 |
---|
134 | - 0.011 bump |
---|
135 | - Remove unversioned Requires |
---|
136 | |
---|
137 | * Thu Sep 16 2010 Petr Pisar <ppisar@redhat.com> - 0.010-1 |
---|
138 | - 0.010 bump |
---|
139 | |
---|
140 | * Tue Jun 8 2010 Petr Pisar <ppisar@redhat.com> - 0.007-1 |
---|
141 | - Specfile autogenerated by cpanspec 1.78 (bug #598553). |
---|