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