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

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