[521] | 1 | Summary: Gregorian calendar date calculations using Perl |
---|
| 2 | Name: perl-Date-Calc |
---|
[3171] | 3 | Version: 6.3 |
---|
[8820] | 4 | Release: 2%{?_dist_release} |
---|
[3171] | 5 | License: Artistic, GPLv2 and LGPLv2 |
---|
[521] | 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/search?dist=Date-Calc |
---|
| 8 | Source0: http://www.cpan.org/authors/id/STBEY/Date-Calc-%{version}.tar.gz |
---|
| 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: perl >= 0:5.00503 |
---|
| 12 | BuildRequires: perl-Bit-Vector >= 6.4 |
---|
| 13 | BuildRequires: perl-Carp-Clan >= 5.3 |
---|
| 14 | Requires: perl-Bit-Vector >= 6.4 |
---|
| 15 | Requires: perl-Carp-Clan >= 5.3 |
---|
| 16 | |
---|
[3171] | 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
[521] | 20 | %description |
---|
| 21 | This package consists of a C library (intended to make life easier for C |
---|
| 22 | developers) and a Perl module to access this library from Perl. |
---|
| 23 | |
---|
| 24 | The library provides all sorts of date calculations based on the Gregorian |
---|
| 25 | calendar (the one used in all western countries today), thereby complying |
---|
| 26 | with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to |
---|
| 27 | some extent, ISO 8601 (where applicable). |
---|
| 28 | |
---|
| 29 | The package is designed as an efficient (and fast) toolbox, not a bulky |
---|
| 30 | ready-made application. It provides extensive documentation and examples |
---|
| 31 | of use, multi-language support and special functions for business needs. |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q -n Date-Calc-%{version} |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
| 38 | make |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | rm -rf $RPM_BUILD_ROOT |
---|
| 42 | make DESTDIR=$RPM_BUILD_ROOT pure_install |
---|
| 43 | |
---|
| 44 | %check |
---|
| 45 | LANG=C make test |
---|
| 46 | |
---|
| 47 | %clean |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
| 49 | |
---|
[3171] | 50 | %files |
---|
[521] | 51 | %defattr(-,root,root) |
---|
[3171] | 52 | %doc CHANGES.txt CREDITS.txt README.txt |
---|
| 53 | %doc license/Artistic.txt license/GNU_GPL.txt license/GNU_LGPL.txt |
---|
| 54 | %{perl_vendorlib}/Date |
---|
| 55 | %{perl_vendorarch}/auto/Date/Calc |
---|
[521] | 56 | %{_mandir}/man3/* |
---|
| 57 | |
---|
| 58 | %changelog |
---|
[8820] | 59 | * Wed Jul 16 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 6.3-2 |
---|
| 60 | - rebuild with Perl 5.16 |
---|
| 61 | |
---|
[3171] | 62 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 6.3-1 |
---|
| 63 | - new upstream release |
---|
| 64 | - add Vendor and Distribution tags |
---|
| 65 | - update install section |
---|
| 66 | - update files: upstream update |
---|
| 67 | - update License: upstream update |
---|
| 68 | |
---|
[521] | 69 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.4-1 |
---|
| 70 | - applied new versioning policy |
---|
| 71 | - rebuilt with perl-5.10.0 |
---|
| 72 | |
---|
| 73 | * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 5.4-0vl1 |
---|
| 74 | - new upstream release |
---|
| 75 | - update {Build,}Requires |
---|
| 76 | - add Summary and description |
---|
| 77 | |
---|
| 78 | * Thu Apr 17 2003 IWAI Masaharu <iwai@alib.jp> 5.3-0vl1 |
---|
| 79 | - version up to 5.3 |
---|
| 80 | - add directories in %%files section |
---|
| 81 | - add some documents |
---|
| 82 | - drop %%{perl_sitearch}/Carp ( installed from perl-Bit-Vector ) |
---|
| 83 | |
---|
| 84 | * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.0-15vl2 |
---|
| 85 | - add LANG=C for 'make test' |
---|
| 86 | |
---|
| 87 | * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.0-15vl1 |
---|
| 88 | - build Rawhide-5.0-15 for Vine Linux |
---|
| 89 | - added perl-Bit-Vector in {Build,}Requires |
---|
| 90 | |
---|
| 91 | * Wed Jan 30 2002 cturner@redhat.com |
---|
| 92 | - Specfile autogenerated |
---|
| 93 | |
---|