source: projects/specs/trunk/p/perl-Date-Calc/perl-Date-Calc-vl.spec @ 8820

Revision 8820, 2.7 KB checked in by iwaim, 10 years ago (diff)

perl-Date-Calc 6.3-2

Line 
1Summary: Gregorian calendar date calculations using Perl
2Name: perl-Date-Calc
3Version: 6.3
4Release: 2%{?_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* Wed Jul 16 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 6.3-2
60- rebuild with Perl 5.16
61
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
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
Note: See TracBrowser for help on using the repository browser.