]> git.pld-linux.org Git - packages/perl-String-Parity.git/blame - perl-String-Parity.spec
use generic url
[packages/perl-String-Parity.git] / perl-String-Parity.spec
CommitLineData
1bfe9b99 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
53a9a0d5 4
c0821ec3 5%define pdir String
6%define pnam Parity
53a9a0d5 7%include /usr/lib/rpm/macros.perl
7b9bf300 8Summary: String::Parity - parity (odd/even/mark/space) handling functions
2da93a65 9Summary(pl.UTF-8): String::Parity - funkcje obsługujące parzystość
237934aa 10Name: perl-String-Parity
11Version: 1.31
d23eda51 12Release: 13
1bfe9b99 13# same as perl
14License: GPL v1+ or Artistic
237934aa 15Group: Development/Languages/Perl
44fd7dbe 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
c6367a9b 17# Source0-md5: 489fa7783880c936a056213ac0560bd0
53a9a0d5 18URL: http://search.cpan.org/dist/String-Parity/
3687ceed 19BuildRequires: perl-devel >= 1:5.8.0
04d14f46 20BuildRequires: rpm-perlprov >= 4.1-13
a37ff9a3 21BuildArch: noarch
562ac7cc 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
237934aa 23
24%description
53a9a0d5
ER
25The String::Parity module for perl5 may be used to generate and test
26even, odd, mark and space parity on arbitrary strings.
237934aa 27
e68c9d41
JR
28%description -l pl.UTF-8
29Moduł Perla String::Parity może być używany do generowania i
30testowania różnych rodzajów parzystości dowolnych łańcuchów.
1a287153 31
237934aa 32%prep
0bf488ec 33%setup -q -n %{pdir}-%{pnam}-%{version}
237934aa 34
35%build
04d14f46 36%{__perl} Makefile.PL \
cdee155c 37 INSTALLDIRS=vendor
fffafdab 38%{__make}
237934aa 39
1bfe9b99 40%{?with_tests:%{__make} test}
41
237934aa 42%install
43rm -rf $RPM_BUILD_ROOT
237934aa 44
1bfe9b99 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
237934aa 47
237934aa 48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
6168a23a 53%doc Changes README
04d14f46 54%{perl_vendorlib}/String/Parity.pm
237934aa 55%{_mandir}/man3/*
This page took 0.091063 seconds and 4 git commands to generate.