]> git.pld-linux.org Git - packages/perl-Set-Crontab.git/blame - perl-Set-Crontab.spec
new spec, nfy
[packages/perl-Set-Crontab.git] / perl-Set-Crontab.spec
CommitLineData
74594858
MP
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
8Summary: Set::Crontab - Expand crontab(5)-style integer lists
9Name: perl-Set-Crontab
10Version: 1.00
11Release: 1
12License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15# Source0-md5: e2895d83550a16cb54570a1ce0090e67
16BuildRequires: perl-devel >= 1:5.8.0
17BuildRequires: rpm-perlprov >= 4.1-13
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Set::Crontab parses crontab-style lists of integers and defines
23some 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
37rm -rf $RPM_BUILD_ROOT
38
39%{__make} install \
40 DESTDIR=$RPM_BUILD_ROOT
41
42%clean
43rm -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.155368 seconds and 4 git commands to generate.