[7293] | 1 | Name: perl-DateTime-Format-IBeat |
---|
| 2 | Version: 0.161 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Format times in .beat notation |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | URL: http://search.cpan.org/dist/DateTime-Format-IBeat |
---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/E/EM/EMARTIN/DateTime-Format-IBeat-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 11 | |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl(Class::ISA) |
---|
| 14 | BuildRequires: perl(DateTime) >= 0.18, perl(Test::More) >= 0.47 |
---|
| 15 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | No Time Zones, No Geographical Borders |
---|
| 20 | |
---|
| 21 | How long is a Swatch .beat? In short, we have divided up the virtual and real |
---|
| 22 | day into 1000 beats. One Swatch beat is the equivalent of 1 minute 26.4 |
---|
| 23 | seconds. That means that 12 noon in the old time system is the equivalent of |
---|
| 24 | 500 Swatch .beats. |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q -n DateTime-Format-IBeat-%{version} |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 33 | make %{?_smp_mflags} |
---|
| 34 | |
---|
| 35 | # American English... |
---|
| 36 | mv LICENCE LICENSE |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | rm -rf %{buildroot} |
---|
| 40 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 41 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 42 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 43 | chmod -R u+w %{buildroot}/* |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %check |
---|
| 47 | make test |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -rf %{buildroot} |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc Artistic COPYING LICENSE Changes README |
---|
| 57 | %{perl_vendorlib}/* |
---|
| 58 | %{_mandir}/man3/*.3* |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %changelog |
---|
| 62 | * Sun Jan 6 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.161-1 |
---|
| 63 | - initial build based on Fedora development package |
---|
| 64 | |
---|
| 65 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-15 |
---|
| 66 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 67 | |
---|
| 68 | * Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.161-14 |
---|
| 69 | - Perl 5.16 rebuild |
---|
| 70 | |
---|
| 71 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-13 |
---|
| 72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 73 | |
---|
| 74 | * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.161-12 |
---|
| 75 | - Perl mass rebuild |
---|
| 76 | |
---|
| 77 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-11 |
---|
| 78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 79 | |
---|
| 80 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.161-10 |
---|
| 81 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 82 | |
---|
| 83 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.161-9 |
---|
| 84 | - Mass rebuild with perl-5.12.0 |
---|
| 85 | |
---|
| 86 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.161-8 |
---|
| 87 | - rebuild against perl 5.10.1 |
---|
| 88 | |
---|
| 89 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-7 |
---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 91 | |
---|
| 92 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-6 |
---|
| 93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 94 | |
---|
| 95 | * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.161-5 |
---|
| 96 | - rebuild for new perl |
---|
| 97 | |
---|
| 98 | * Thu Aug 31 2006 Chris Weyl <cweyl.drew.edu> 0.161-4 |
---|
| 99 | - bump for mass rebuild |
---|
| 100 | |
---|
| 101 | * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.161-3 |
---|
| 102 | - add br for test phase: perl(Test::Pod) |
---|
| 103 | |
---|
| 104 | * Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.161-2 |
---|
| 105 | - bump for build & release |
---|
| 106 | - dropped extra template bits not needed for noarch packages |
---|
| 107 | |
---|
| 108 | * Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.161-1 |
---|
| 109 | - Initial spec file for F-E |
---|