[521] | 1 | %define _use_internal_dependency_generator 0 |
---|
| 2 | |
---|
| 3 | Summary: A Perl module containing a wide variety of date manipulation routines. |
---|
| 4 | Name: perl-Date-Manip |
---|
[5923] | 5 | Version: 6.31 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
[521] | 7 | License: GPL+ or Artistic |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | Source0: Date-Manip-%{version}.tar.gz |
---|
| 10 | URL: http://search.cpan.org/~sbeck/DateManip/ |
---|
| 11 | |
---|
[5923] | 12 | BuildArch: noarch |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root/ |
---|
| 14 | BuildRequires: perl >= 5.8.2 |
---|
[5923] | 15 | BuildRequires: perl(Carp) |
---|
| 16 | BuildRequires: perl(Encode) |
---|
| 17 | BuildRequires: perl(Exporter) |
---|
| 18 | BuildRequires: perl(IO::File) |
---|
| 19 | BuildRequires: perl(Module::Build) >= 0.3600 |
---|
| 20 | BuildRequires: perl(Storable) |
---|
| 21 | BuildRequires: perl(Test::More) |
---|
| 22 | BuildRequires: perl(YAML::Syck) |
---|
| 23 | # Tests only |
---|
| 24 | BuildRequires: perl(Test::Inter) |
---|
| 25 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
| 26 | BuildRequires: perl(Test::Pod::Coverage) >= 1.00 |
---|
[521] | 27 | |
---|
[5923] | 28 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 29 | |
---|
[521] | 30 | # This package was formerly known as perl-DateManip |
---|
| 31 | Provides: perl-DateManip = %{version}-%{release} |
---|
| 32 | Obsoletes: perl-DateManip < 5.48 |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | This is a set of routines designed to make any common date/time |
---|
| 36 | manipulation easy to do. Operations such as comparing two times, |
---|
| 37 | calculating a time a given amount of time from another, or parsing |
---|
| 38 | international times are all easily done. |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q -n Date-Manip-%{version} |
---|
[5923] | 42 | chmod -x examples/* |
---|
[521] | 43 | |
---|
| 44 | %build |
---|
[5923] | 45 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
[521] | 46 | make %{?_smp_mflags} |
---|
| 47 | |
---|
| 48 | %install |
---|
[5923] | 49 | rm -rf %{buildroot} |
---|
| 50 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 51 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 52 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 53 | chmod -R u+w %{buildroot}/* |
---|
[521] | 54 | |
---|
| 55 | %check |
---|
| 56 | make test |
---|
| 57 | |
---|
| 58 | %clean |
---|
[5923] | 59 | rm -rf %{buildroot} |
---|
[521] | 60 | |
---|
[5923] | 61 | %files |
---|
| 62 | %defattr(-,root,root,-) |
---|
| 63 | %doc HISTORY LICENSE README README.first examples |
---|
| 64 | %{perl_vendorlib}/Date/ |
---|
| 65 | %{_mandir}/man3/*.3* |
---|
[521] | 66 | |
---|
| 67 | %changelog |
---|
[5923] | 68 | * Mon Mar 19 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 6.31-1 |
---|
| 69 | - updated to 6.31 |
---|
| 70 | |
---|
[3197] | 71 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 5.54-2vl6 |
---|
| 72 | - build with perl 5.12.3 |
---|
| 73 | - defined __find_{provides,requires} with vl4 and vl5 |
---|
| 74 | |
---|
[521] | 75 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.54-1 |
---|
| 76 | - changed name to Date-Manip as now used on CPAN |
---|
| 77 | - new upstream release |
---|
| 78 | - applied new versioning policy |
---|
| 79 | |
---|
| 80 | * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.44-0vl1 |
---|
| 81 | - new upstream release |
---|
| 82 | - installed files to vendor_perl |
---|
| 83 | - changed URL |
---|
| 84 | |
---|
| 85 | * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 5.42a-0vl3 |
---|
| 86 | - build on perl-5.8.6-0vl1 |
---|
| 87 | |
---|
| 88 | * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 5.42a-0vl2 |
---|
| 89 | - rebuilt on perl-5.8.2 |
---|
| 90 | |
---|
| 91 | * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 5.42a-0vl1 |
---|
| 92 | - new upstream version |
---|
| 93 | - built on perl-5.8.1 |
---|
| 94 | |
---|
| 95 | * Sun Apr 29 2003 Satoshi MACHINO <machino@vinelinux.org> 5.40-30vl2 |
---|
| 96 | - build on perl-5.8.0 |
---|
| 97 | |
---|
| 98 | * Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 5.40-30vl1 |
---|
| 99 | - build for VineLinux |
---|
| 100 | |
---|
| 101 | * Tue Aug 6 2002 Chip Turner <cturner@redhat.com> |
---|
| 102 | - automated release bump and build |
---|
| 103 | |
---|
| 104 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
| 105 | - automated rebuild |
---|
| 106 | |
---|
| 107 | * Fri Dec 7 2001 root <root@redhat.com> |
---|
| 108 | - Spec file was autogenerated. |
---|