source: projects/specs/trunk/p/perl-DateTime-Calendar-Mayan/perl-DateTime-Calendar-Mayan-vl.spec @ 5859

Revision 5859, 2.9 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-DateTime-Calendar-Mayan
2Version:        0.0601
3Release:        1%{?_dist_release}
4License:        GPL+ or Artistic
5Group:          Development/Libraries
6Summary:        Mayan Long Count Calendar
7Url:            http://search.cpan.org/dist/DateTime-Calendar-Mayan
8Source:         http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Calendar-Mayan-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
10BuildArch:      noarch
11BuildRequires:  perl(DateTime) >= 0.15
12BuildRequires:  perl(ExtUtils::MakeMaker)
13BuildRequires:  perl(Module::Build::Compat)
14BuildRequires:  perl(Params::Validate) >= 0.64
15BuildRequires:  perl(Test::More)
16Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
17
18%description
19An implementation of the Mayan Long Count, Haab, and Tzolkin calendars
20as defined in "Calendrical Calculations The Millennium Edition".
21Supplemented by "Frequently Asked Questions about Calendars".
22
23%prep
24%setup -q -n DateTime-Calendar-Mayan-%{version}
25
26%build
27perl Makefile.PL INSTALLDIRS=vendor
28make %{?_smp_mflags}
29
30%install
31rm -rf %{buildroot}
32make pure_install DESTDIR=%{buildroot}
33find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
34find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
35%{_fixperms} %{buildroot}
36
37%check
38make test
39
40%clean
41rm -rf %{buildroot}
42
43%files
44%defattr(-,root,root,-)
45%doc README Changes LICENSE Todo
46%{perl_vendorlib}/DateTime/
47%{_mandir}/man3/DateTime::Calendar::Mayan.3pm*
48
49%changelog
50* Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0601-1
51- initial build for Vine Linux
52
53* Mon Jan 23 2012 Paul Howarth <paul@city-fan.org> - 0.0601-10
54- Spec clean-up:
55  - Drop redundant buildreq perl(Class::ISA)
56  - Make %%files list more explicit
57  - Don't use macros for commands
58  - Use tabs
59
60* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-9
61- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
62
63* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.0601-8
64- Perl mass rebuild
65
66* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.0601-7
67- Perl mass rebuild
68
69* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-6
70- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
71
72* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0601-5
73- Rebuild to fix problems with vendorarch/lib (#661697)
74
75* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.0601-4
76- Mass rebuild with perl-5.12.0
77
78* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.0601-3
79- Rebuild against perl 5.10.1
80
81* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0601-2
82- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
83
84* Mon May 18 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.0601-1
85- Submission
86
87* Mon May 18 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.0601-0
88- Initial RPM packaging
89- Generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
Note: See TracBrowser for help on using the repository browser.