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

Revision 9111, 3.9 KB checked in by inagaki, 9 years ago (diff)

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


Line 
1Name:           perl-Sub-Identify
2Version:        0.08
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}-root
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* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.08-1
55- updated to 0.08
56- built with perl 5.16.3
57
58* Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
59- initial build for Vine Linux
60
61* Mon Mar  5 2012 Paul Howarth <paul@city-fan.org> - 0.04-13
62- Use %%{optflags}
63- BR: perl(Exporter) and perl(Test::Pod)
64- Make %%files list more explicit
65- Use DESTDIR rather than PERL_INSTALL_ROOT
66- No need to remove empty directories from buildroot
67- Don't use macros for commands
68- Use tabs
69
70* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-12
71- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
72
73* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.04-11
74- Perl mass rebuild
75
76* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-10
77- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
78
79* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-9
80- Rebuild to fix problems with vendorarch/lib (#661697)
81
82* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-8
83- Mass rebuild with perl-5.12.0
84
85* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.04-7
86- Rebuild against perl 5.10.1
87
88* Fri Aug 28 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-6
89- Bump
90
91* Thu Aug 27 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-5
92- Filtering errant private provides
93
94* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-4
95- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
96
97* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3
98- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
99
100* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-2
101- Aaaand change files to look in the the arch-dependent dirs
102
103* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-1
104- Update to 0.04
105- Drop buildarch noarch, as we have some XS bits now
106
107* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.03-1
108- Update to 0.03
109
110* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-3
111- Rebuild for new perl
112
113* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-2.2
114- Add BR: perl(Test::More)
115
116* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-2.1
117- Correct license tag
118- Add BR: perl(ExtUtils::MakeMaker)
119
120* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-2
121- Bump
122
123* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-1
124- Specfile autogenerated by cpanspec 1.69.1
Note: See TracBrowser for help on using the repository browser.