source: projects/specs/trunk/p/perl-Hook-LexWrap/perl-Hook-LexWrap-vl.spec @ 5744

Revision 5744, 4.0 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Hook-LexWrap
2Version:        0.22
3Release:        1%{?_dist_release}
4Summary:        Lexically scoped subroutine wrappers
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/Hook-LexWrap/
9Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Hook-LexWrap-%{version}.zip
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12BuildArch:      noarch
13BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod)
14Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18Packager:       shaolin
19
20%description
21Hook::LexWrap allows you to install a pre- or post-wrapper (or both)
22around an existing subroutine. Unlike other modules that provide this
23capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap
24implements wrappers in such a way that the standard `caller' function
25works correctly within the wrapped subroutine.
26
27
28%prep
29%setup -q -n Hook-LexWrap-%{version}
30
31%build
32%{__perl} Makefile.PL INSTALLDIRS=vendor
33make %{?_smp_mflags}
34
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
39find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
40find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
41chmod -R u+w $RPM_BUILD_ROOT/*
42
43
44%check
45make test
46
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51
52%files
53%defattr(-,root,root,-)
54%doc Changes README
55%{perl_vendorlib}/Hook/
56%{_mandir}/man3/*.3pm*
57
58
59%changelog
60* Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.22-1
61- initial build for Vine Linux
62
63* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9
64- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
65
66* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.22-8
67- Perl mass rebuild
68
69* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7
70- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
71
72* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-6
73- 661697 rebuild for fixing problems with vendorach/lib
74
75* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-5
76- Mass rebuild with perl-5.12.0
77
78* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-4
79- rebuild against perl 5.10.1
80
81* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
82- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
83
84* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
86
87* Sat Feb 21 2009 Ralf Corsepius <corsepiu@fedoraproject.org> - 0.22-1
88- Upstream update.
89- Reflect upstream having fixed CPAN RT#38892:
90  Remove Hook-LexWrap-0.21-cpan-rt-38892.diff.
91- Reflect upstream having fixed permissions.
92
93* Mon Nov 10 2008 Paul Howarth <paul@city-fan.org> - 0.21-1
94- Update to 0.21
95- New upstream maintainer => new source URL
96- Add buildreqs perl(Test::More) and perl(Test::Pod)
97- Update patch for CPAN RT#38892 to apply without fuzz
98- Fix argument order for find with -depth
99
100* Mon Oct 06 2008 Ralf Corsepius <corsepiu@fedoraproject.org> - 0.20-6
101- Add Hook-LexWrap-0.20-cpan-rt-38892.diff to fix
102  http://rt.cpan.org/Public/Bug/Display.html?id=38892
103  (Bugs shows while building rt3).
104
105* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-5
106- Rebuild for perl 5.10 (again)
107
108* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4.2
109- rebuild for new perl
110
111* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.20-4.1
112- correct license tag
113- add BR: perl(ExtUtils::MakeMaker)
114
115* Fri Sep  8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
116- Rebuild for FC6.
117
118* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-3
119- Rebuild for FC5 (perl 5.8.8).
120
121* Fri Sep  9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-2
122- Comment about license files location.
123
124* Fri Aug 26 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
125- First build.
Note: See TracBrowser for help on using the repository browser.