]> git.pld-linux.org Git - packages/perl-Sys-SigAction.git/blame - perl-Sys-SigAction.spec
use generic url
[packages/perl-Sys-SigAction.git] / perl-Sys-SigAction.spec
CommitLineData
60a0881c
AM
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4e9b8b35 4
60a0881c
AM
5%define pdir Sys
6%define pnam SigAction
4e9b8b35 7%include /usr/lib/rpm/macros.perl
60a0881c
AM
8Summary: Sys::SigAction - Perl extension for Consistent Signal Handling
9Name: perl-Sys-SigAction
3d879663 10Version: 0.15
60a0881c
AM
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Sys/%{pdir}-%{pnam}-%{version}.tar.gz
3d879663 16# Source0-md5: 54789a1893f63c2345b1014fcb7c47a7
4e9b8b35 17URL: http://search.cpan.org/dist/Sys-SigAction/
60a0881c
AM
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
60a0881c
AM
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Perl extension for Consistent Signal Handling.
24
25%prep
26%setup -q -n %{pdir}-%{pnam}-%{version}
27
28%build
29%{__perl} Makefile.PL \
30 INSTALLDIRS=vendor
31%{__make} \
32 CC="%{__cc}" \
33 OPTIMIZE="%{rpmcflags}"
34
35%{?with_tests:%{__make} test}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40%{__make} pure_install \
41 DESTDIR=$RPM_BUILD_ROOT
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%doc Changes README
49%{perl_vendorlib}/Sys/*.pm
50%{_mandir}/man3/*
This page took 0.068998 seconds and 4 git commands to generate.