[521] | 1 | Summary: Time-modules module for Perl |
---|
| 2 | Name: perl-Time-modules |
---|
[9189] | 3 | Version: 2013.1113 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | License: Distributable |
---|
| 6 | Group: Development/Libraries |
---|
[9189] | 7 | URL: http://search.cpan.org/~muir/Time-ParseDate/ |
---|
| 8 | |
---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Time-ParseDate-%{version}.tar.gz |
---|
| 10 | |
---|
[521] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9189] | 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
[521] | 14 | Requires: perl >= 5.004 |
---|
| 15 | |
---|
[9189] | 16 | Provides: perl-Time-ParseDate = %{version}-%{release} |
---|
| 17 | |
---|
[521] | 18 | %description |
---|
| 19 | This package contains the following perl5 modules: |
---|
| 20 | |
---|
| 21 | Time::CTime.pm |
---|
| 22 | ctime, strftime, and asctime |
---|
| 23 | Time::JulianDay.pm |
---|
| 24 | Julian Day conversions |
---|
| 25 | Time::ParseDate.pm |
---|
| 26 | Reverses strftime and also understands relative times |
---|
| 27 | Time::Timezone.pm |
---|
| 28 | Time::DaysInMonth.pm |
---|
| 29 | |
---|
| 30 | %prep |
---|
[9189] | 31 | %setup -q -n Time-ParseDate-%{version} |
---|
[521] | 32 | |
---|
| 33 | %build |
---|
| 34 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
| 35 | make |
---|
| 36 | |
---|
| 37 | %install |
---|
[9189] | 38 | rm -rf $RPM_BUILD_ROOT |
---|
| 39 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 40 | |
---|
[9189] | 41 | # remove unnecessary files. |
---|
| 42 | find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec %{__rm} -f {} ';' |
---|
| 43 | find $RPM_BUILD_ROOT -type f -name .packlist -exec %{__rm} -f {} ';' |
---|
| 44 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
[521] | 45 | |
---|
[9189] | 46 | %{_fixperms} $RPM_BUILD_ROOT |
---|
| 47 | |
---|
[521] | 48 | %check |
---|
| 49 | make test |
---|
| 50 | |
---|
| 51 | %clean |
---|
[9189] | 52 | rm -rf $RPM_BUILD_ROOT |
---|
[521] | 53 | |
---|
[9189] | 54 | %files |
---|
[521] | 55 | %defattr(-,root,root) |
---|
[9189] | 56 | %doc README Changes |
---|
| 57 | %{perl_vendorlib}/Time |
---|
[521] | 58 | %{_mandir}/*/* |
---|
| 59 | |
---|
| 60 | %changelog |
---|
[9189] | 61 | * Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2013.1113-1 |
---|
| 62 | - updated to 2013.1113 |
---|
| 63 | - built with perl 5.16.3 |
---|
| 64 | - updated URL |
---|
| 65 | |
---|
[3739] | 66 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2006.0814-2 |
---|
| 67 | - rebuild with perl-5.12.3 |
---|
| 68 | |
---|
[521] | 69 | * Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2006.0814-1vl5 |
---|
| 70 | - applied new versioning policy |
---|
| 71 | - rebuilt with perl-5.10.0 |
---|
| 72 | |
---|
| 73 | * Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2006.0814-0vl1 |
---|
| 74 | - new upstream release |
---|
| 75 | - changed Group to Development/Libraries |
---|
| 76 | |
---|
| 77 | * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 2003.1126-0vl1 |
---|
| 78 | - new upstream release |
---|
| 79 | - built with perl-5.8.6 |
---|
| 80 | |
---|
| 81 | * Sun Jun 15 2003 IWAI Masaharu <iwai@alib.jp> 2003.0211-0vl1 |
---|
| 82 | - first build for Vine Linux |
---|