]> git.pld-linux.org Git - packages/perl-Time-modules.git/blob - perl-Time-modules.spec
- more %%{__make} macros.
[packages/perl-Time-modules.git] / perl-Time-modules.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Time-modules perl module
3 Summary(pl):    Modu³ perla Time-modules
4 Name:           perl-Time-modules
5 Version:        99.111701
6 Release:        1
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/Time/Time-modules-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-16
12 BuildRequires:  perl >= 5.005_03-14
13 %requires_eq    perl
14 Requires:       %{perl_sitearch}
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 Time-modules-%{version}
27
28 %build
29 perl Makefile.PL
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35
36 (
37   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Time-modules
38   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
39   mv .packlist.new .packlist
40 )
41
42 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
43         README CHANGELOG
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc {README,CHANGELOG}.gz
51
52 %{perl_sitelib}/Time/*.pm
53 %{perl_sitearch}/auto/Time-modules
54
55 %{_mandir}/man3/*
This page took 0.119322 seconds and 4 git commands to generate.