]> git.pld-linux.org Git - packages/perl-Time-modules.git/blob - perl-Time-modules.spec
- BR: perl-devel; do not BR: perl
[packages/perl-Time-modules.git] / perl-Time-modules.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Time
3 %define pnam    modules
4 Summary:        Time::modules perl module
5 Summary(pl):    Modu³ perla Time::modules
6 Name:           perl-Time-modules
7 Version:        2003.0211
8 Release:        2
9 License:        GPL
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  rpm-perlprov >= 4.1-13
13 BuildRequires:  perl-devel >= 5.6
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Time::modules package contains the following modules: Time::CTime,
19 Time::JulianDay, Time::ParseDate, Time::Timezone, Time::DaysInMonth.
20
21 %description -l pl
22 Pakiet Time::modules zawiera nastepuj±ce modu³y: Time::CTime,
23 Time::JulianDay, Time::ParseDate, Time::Timezone, Time::DaysInMonth.
24
25 %prep
26 %setup -q -n %{pdir}-%{pnam}-%{version}
27
28 %build
29 %{__perl} Makefile.PL \
30         INSTALLDIRS=vendor 
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README CHANGELOG
44 %{perl_vendorlib}/Time/*.pm
45 %{_mandir}/man3/*
This page took 0.277847 seconds and 4 git commands to generate.