]> git.pld-linux.org Git - packages/perl-Net-SNPP.git/blame - perl-Net-SNPP.spec
- tabs in preamble
[packages/perl-Net-SNPP.git] / perl-Net-SNPP.spec
CommitLineData
63e0e211 1#
2# Conditional build:
3%bcond_with tests # perform "make test" (uses network!)
4#
a7728fea 5%include /usr/lib/rpm/macros.perl
a263eea3 6%define pdir Net
7%define pnam SNPP
a7728fea 8Summary: Net::SNPP perl module
a222f715 9Summary(pl.UTF-8): Moduł Perla Net::SNPP
a7728fea 10Name: perl-Net-SNPP
25c23b33 11Version: 1.17
a7728fea 12Release: 1
63e0e211 13# same as perl
14License: GPL v1+ or Artistic
a7728fea 15Group: Development/Languages/Perl
09f410b4 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
25c23b33 17# Source0-md5: 18f61a774906cd27ca14dcbf311e6bf0
a7728fea 18BuildRequires: rpm-perlprov >= 4.1-13
9ab951f2 19BuildRequires: perl-devel >= 1:5.8.0
a7728fea
AM
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Net::SNPP - Perl interface to SNPP.
25
5d508001 26%description -l pl.UTF-8
7571d2b9 27Net::SNPP - interfejs Perla do SNPP.
a7728fea
AM
28
29%prep
30%setup -q -n %{pdir}-%{pnam}-%{version}
31
32%build
33%{__perl} Makefile.PL \
1f690503 34 INSTALLDIRS=vendor
a7728fea
AM
35%{__make}
36
63e0e211 37%{?with_tests:%{__make} test}
38
a7728fea
AM
39%install
40rm -rf $RPM_BUILD_ROOT
41
63e0e211 42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
a7728fea
AM
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc README
51%{perl_vendorlib}/Net/SNPP.pm
52%{perl_vendorlib}/Net/SNPP
53%{_mandir}/man3/*
This page took 0.147774 seconds and 4 git commands to generate.