source: projects/specs/trunk/p/perl-PPIx-Regexp/perl-PPIx-Regexp-vl.spec @ 9106

Revision 9106, 3.9 KB checked in by inagaki, 8 years ago (diff)

2014-11-21 Ryoichi INAGAKI <ryo1@…>

  • perl-Archive-{Any, Zip}, perl-Devel-StackTrace?, perl-Exception-Class, perl-Module-Find, perl-PAR-Dist, perl-PPIx-Regexp, perl-String-Format: updated
  • perl-Class-Data-Inheritable, perl-Module-Info, perl-PPIx-Utilities: rebuilt


RevLine 
[5747]1Name:           perl-PPIx-Regexp
[9106]2Version:        0.037
3Release:        1%{?_dist_release}
[5747]4Summary:        Represent a regular expression of some sort
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/PPIx-Regexp/
8Source0:        http://www.cpan.org/authors/id/W/WY/WYANT/PPIx-Regexp-%{version}.tar.gz
[9106]9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[5747]11BuildArch:      noarch
12BuildRequires:  perl(List::MoreUtils)
13BuildRequires:  perl(Module::Build)
14BuildRequires:  perl(PPI::Document) >= 1.117
15BuildRequires:  perl(Task::Weaken)
16BuildRequires:  perl(Test::More) >= 0.88
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18Requires:       perl(PPI::Document) >= 1.117
19Requires:       perl(Task::Weaken)
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23Packager:       shaolin
24
25%description
26The purpose of the PPIx-Regexp package is to parse regular expressions in a
27manner similar to the way the PPI package parses Perl. This class forms the
28root of the parse tree, playing a role similar to PPI::Document.
29
30%prep
31%setup -q -n PPIx-Regexp-%{version}
32chmod -x eg/*
33sed -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
38cat << \EOF > %{name}-req
39#!/bin/sh
40%{__perl_requires} $* |\
41sed -e '/perl(PPI::Document)/d'
42EOF
43
44%global __perl_requires %{_builddir}/PPIx-Regexp-%{version}/%{name}-req
45chmod +x %{__perl_requires}
46%endif
47
48%build
49%{__perl} Build.PL installdirs=vendor
50./Build
51
52%install
53rm -rf ${RPM_BUILD_ROOT}
54./Build install destdir=${RPM_BUILD_ROOT} create_packlist=0
55find ${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
62rm -rf ${RPM_BUILD_ROOT}
63
64%files
65%doc Changes eg LICENSES README
66%{perl_vendorlib}/*
67%{_mandir}/man3/*
68
69%changelog
[9106]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
[5797]74* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.025-2
75- rebuild
76
[5747]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).
Note: See TracBrowser for help on using the repository browser.