source: projects/specs/trunk/p/perl-Sub-Identify/perl-Sub-Identify-vl.spec @ 5859

Revision 5859, 3.8 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Sub-Identify
2Version:        0.04
3Release:        1%{?_dist_release}
4Summary:        Retrieve names of code references
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Sub-Identify/
8Source0:        http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
10BuildRequires:  perl(Exporter)
11BuildRequires:  perl(ExtUtils::MakeMaker)
12BuildRequires:  perl(Test::More)
13BuildRequires:  perl(Test::Pod)
14Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
15
16# Don't provide private perl libs
17%{?perl_default_filter}
18
19%description
20Sub::Identify allows you to retrieve the real name of code references. For
21this, it uses Perl's introspection mechanism, provided by the B module.
22
23%prep
24%setup -q -n Sub-Identify-%{version}
25
26# Fix script interpreters
27perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
28
29%build
30perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
31make %{?_smp_mflags}
32
33%install
34rm -rf %{buildroot}
35make pure_install DESTDIR=%{buildroot}
36find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
37find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
38%{_fixperms} %{buildroot}
39
40%check
41make test
42
43%clean
44rm -rf %{buildroot}
45
46%files
47%defattr(-,root,root,-)
48%doc Changes t/
49%{perl_vendorarch}/auto/Sub/
50%{perl_vendorarch}/Sub/
51%{_mandir}/man3/Sub::Identify.3pm*
52
53%changelog
54* Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
55- initial build for Vine Linux
56
57* Mon Mar  5 2012 Paul Howarth <paul@city-fan.org> - 0.04-13
58- Use %%{optflags}
59- BR: perl(Exporter) and perl(Test::Pod)
60- Make %%files list more explicit
61- Use DESTDIR rather than PERL_INSTALL_ROOT
62- No need to remove empty directories from buildroot
63- Don't use macros for commands
64- Use tabs
65
66* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-12
67- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
68
69* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.04-11
70- Perl mass rebuild
71
72* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-10
73- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
74
75* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-9
76- Rebuild to fix problems with vendorarch/lib (#661697)
77
78* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-8
79- Mass rebuild with perl-5.12.0
80
81* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.04-7
82- Rebuild against perl 5.10.1
83
84* Fri Aug 28 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-6
85- Bump
86
87* Thu Aug 27 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-5
88- Filtering errant private provides
89
90* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-4
91- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
92
93* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
95
96* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-2
97- Aaaand change files to look in the the arch-dependent dirs
98
99* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-1
100- Update to 0.04
101- Drop buildarch noarch, as we have some XS bits now
102
103* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.03-1
104- Update to 0.03
105
106* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-3
107- Rebuild for new perl
108
109* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-2.2
110- Add BR: perl(Test::More)
111
112* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-2.1
113- Correct license tag
114- Add BR: perl(ExtUtils::MakeMaker)
115
116* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-2
117- Bump
118
119* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-1
120- Specfile autogenerated by cpanspec 1.69.1
Note: See TracBrowser for help on using the repository browser.