/[packages]/cauldron/perl-Time-Format/current/SPECS/perl-Time-Format.spec
ViewVC logotype

Contents of /cauldron/perl-Time-Format/current/SPECS/perl-Time-Format.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27191 - (show annotations) (download)
Thu Jan 20 20:21:44 2011 UTC (13 years, 3 months ago) by jquelin
File size: 1069 byte(s)
mageia rebuild
1 %define upstream_name Time-Format
2 %define upstream_version 1.11
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7
8 Summary: Perl module for date and time formatting
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Time/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildArch: noarch
15
16
17 %description
18 Time::Format provides a very easy way to format dates and times. The
19 formatting functions are tied to hash variables, so they can be used
20 inside strings as well as in ordinary expressions. The formatting
21 codes used are meant to be easy to remember, use, and read. They
22 follow a simple, consistent pattern.
23 %prep
24 %setup -q -n %{upstream_name}-%{upstream_version}
25
26 %build
27 %{__perl} Makefile.PL INSTALLDIRS=vendor
28 %make
29
30 %install
31 rm -rf %{buildroot}
32 %makeinstall_std
33
34 %clean
35 rm -rf %{buildroot}
36
37 %files
38 %defattr(-,root,root)
39 %doc README Changes quickref.* META.yml
40 %{perl_vendorlib}/Time
41 %{_mandir}/man3/*

  ViewVC Help
Powered by ViewVC 1.1.30