]> git.pld-linux.org Git - packages/perl-Set-Crontab.git/blob - perl-Set-Crontab.spec
new spec, nfy
[packages/perl-Set-Crontab.git] / perl-Set-Crontab.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Set
7 %define pnam    Crontab
8 Summary:        Set::Crontab - Expand crontab(5)-style integer lists
9 Name:           perl-Set-Crontab
10 Version:        1.00
11 Release:        1
12 License:        (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  e2895d83550a16cb54570a1ce0090e67
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Set::Crontab parses crontab-style lists of integers and defines
23 some utility functions to make it easier to deal with them.
24
25 %prep
26 %setup -q -n %{pdir}-%{pnam}-%{version}
27
28 %build
29 %{__perl} Makefile.PL \
30         INSTALLDIRS=vendor
31
32 %{__make}
33
34 %{?with_tests:%{__make} test}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc Changes README
48 %{perl_vendorlib}/Set/Crontab.pm
49 %{_mandir}/man3/*
This page took 0.06185 seconds and 4 git commands to generate.