1 | Summary: Gregorian calendar date calculations using Perl |
---|
2 | Name: perl-Date-Calc |
---|
3 | Version: 6.3 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: Artistic, GPLv2 and LGPLv2 |
---|
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 | |
---|
17 | Vendor: Project Vine |
---|
18 | Distribution: Vine Linux |
---|
19 | |
---|
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 | |
---|
50 | %files |
---|
51 | %defattr(-,root,root) |
---|
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 |
---|
56 | %{_mandir}/man3/* |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 6.3-1 |
---|
60 | - new upstream release |
---|
61 | - add Vendor and Distribution tags |
---|
62 | - update install section |
---|
63 | - update files: upstream update |
---|
64 | - update License: upstream update |
---|
65 | |
---|
66 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.4-1 |
---|
67 | - applied new versioning policy |
---|
68 | - rebuilt with perl-5.10.0 |
---|
69 | |
---|
70 | * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 5.4-0vl1 |
---|
71 | - new upstream release |
---|
72 | - update {Build,}Requires |
---|
73 | - add Summary and description |
---|
74 | |
---|
75 | * Thu Apr 17 2003 IWAI Masaharu <iwai@alib.jp> 5.3-0vl1 |
---|
76 | - version up to 5.3 |
---|
77 | - add directories in %%files section |
---|
78 | - add some documents |
---|
79 | - drop %%{perl_sitearch}/Carp ( installed from perl-Bit-Vector ) |
---|
80 | |
---|
81 | * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.0-15vl2 |
---|
82 | - add LANG=C for 'make test' |
---|
83 | |
---|
84 | * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 5.0-15vl1 |
---|
85 | - build Rawhide-5.0-15 for Vine Linux |
---|
86 | - added perl-Bit-Vector in {Build,}Requires |
---|
87 | |
---|
88 | * Wed Jan 30 2002 cturner@redhat.com |
---|
89 | - Specfile autogenerated |
---|
90 | |
---|