source: projects/specs/branches/6/p/perl-Date-Calc/perl-Date-Calc-vl.spec @ 3171

Revision 3171, 2.6 KB checked in by iwaim, 13 years ago (diff)

perl-Date-Calc-6.3-1

Line 
1Summary: Gregorian calendar date calculations using Perl
2Name: perl-Date-Calc
3Version: 6.3
4Release: 1%{?_dist_release}
5License: Artistic, GPLv2 and LGPLv2
6Group: Development/Libraries
7URL: http://search.cpan.org/search?dist=Date-Calc
8Source0: http://www.cpan.org/authors/id/STBEY/Date-Calc-%{version}.tar.gz
9
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildRequires: perl >= 0:5.00503
12BuildRequires: perl-Bit-Vector >= 6.4
13BuildRequires: perl-Carp-Clan >= 5.3
14Requires: perl-Bit-Vector >= 6.4
15Requires: perl-Carp-Clan >= 5.3
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21This package consists of a C library (intended to make life easier for C
22developers) and a Perl module to access this library from Perl.
23
24The library provides all sorts of date calculations based on the Gregorian
25calendar (the one used in all western countries today), thereby complying
26with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to
27some extent, ISO 8601 (where applicable).
28
29The package is designed as an efficient (and fast) toolbox, not a bulky
30ready-made application. It provides extensive documentation and examples
31of use, multi-language support and special functions for business needs.
32
33%prep
34%setup -q -n Date-Calc-%{version}
35
36%build
37CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
38make
39
40%install
41rm -rf $RPM_BUILD_ROOT
42make DESTDIR=$RPM_BUILD_ROOT pure_install
43
44%check
45LANG=C make test
46
47%clean
48rm -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
Note: See TracBrowser for help on using the repository browser.