source: projects/specs/trunk/p/perl-aliased/perl-aliased-vl.spec @ 9081

Revision 9081, 3.2 KB checked in by inagaki, 9 years ago (diff)

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


Line 
1Name:           perl-aliased
2Version:        0.30
3Release:        2%{?_dist_release}
4Summary:        Use shorter versions of class names
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/aliased/
8Source0:        http://search.cpan.org/CPAN/authors/id/O/OV/OVID/aliased-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12BuildRequires:  perl(Exporter)
13BuildRequires:  perl(Module::Build)
14BuildRequires:  perl(Test::Pod)
15BuildRequires:  perl(Test::Pod::Coverage)
16Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
17
18%description
19aliased is simple in concept but is a rather handy module. It loads the
20class you specify and exports into your namespace a subroutine that returns
21the class name. You can explicitly alias the class to another name or, if
22you prefer, you can do so implicitly. In the latter case, the name of the
23subroutine is the last part of the class name.
24
25%prep
26%setup -q -n aliased-%{version}
27
28%build
29perl Build.PL installdirs=vendor
30./Build
31
32%install
33rm -rf %{buildroot}
34./Build install destdir=%{buildroot} create_packlist=0
35find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
36%{_fixperms} %{buildroot}
37
38%check
39./Build test
40
41%clean
42rm -rf %{buildroot}
43
44%files
45%defattr(-,root,root,-)
46%doc Changes README
47%{perl_vendorlib}/aliased.pm
48%{_mandir}/man3/aliased.3pm*
49
50%changelog
51* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.30-2
52- rebuilt with perl 5.16.3
53
54* Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.30-1
55- initial build for Vine Linux
56
57* Mon Jan 16 2012 Paul Howarth <paul@city-fan.org> - 0.30-8
58- Spec clean-up:
59  - BR: perl(Exporter)
60  - Make %%files list more explicit
61  - Don't use macros for commands
62  - Use tabs
63
64* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-7
65- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
66
67* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-6
68- Perl mass rebuild
69
70* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-5
71- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
72
73* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-4
74- Rebuild to fix problems with vendorarch/lib (#661697)
75
76* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.30-3
77- Mass rebuild with perl-5.12.0
78
79* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-2
80- rebuild against perl 5.10.1
81
82* Sat Aug 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.30-1
83- auto-update to 0.30 (by cpan-spec-update 0.01)
84
85* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
86- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
87
88* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
90
91* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.22-1
92- update to 0.22
93
94* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.21-2
95- rebuild for new perl
96
97* Fri Mar 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.21-1
98- update to 0.21
99
100* Thu Oct 12 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.20-2
101- bump
102
103* Mon Oct 09 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.20-1
104- Specfile autogenerated by cpanspec 1.69.
Note: See TracBrowser for help on using the repository browser.