]> git.pld-linux.org Git - packages/perl-Term-Query.git/blame - perl-Term-Query.spec
use generic url
[packages/perl-Term-Query.git] / perl-Term-Query.spec
CommitLineData
1085dd16
JB
1#
2# Conditional build:
3%bcond_with tests # perform "make test" (tests are broken)
b955c459 4
f8cca524 5%define pdir Term
6%define pnam Query
b955c459 7%include /usr/lib/rpm/macros.perl
1085dd16 8Summary: Term::Query - table-driven query routine
b60d2267 9Summary(pl.UTF-8): Term::Query - oparta na tablicach funkcja realizująca zapytania
1085dd16
JB
10Name: perl-Term-Query
11Version: 2.0
9615318a 12Release: 2
d131b42e 13License: GPL v2+
1085dd16
JB
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: eba5ba66fdf9e98464472dbc89c49dab
b955c459 17URL: http://search.cpan.org/dist/Term-Query/
1085dd16
JB
18BuildRequires: perl-Array-PrintCols
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Term::Query is a Perl 5 module, which performs generalized queries on
26various kinds of values. Validation and normalization of input, based
27on the type, is automated, as is error reporting and re-solicitation
28of input.
29
4d7d14f5
JR
30%description -l pl.UTF-8
31Term::Query to moduł Perla 5 wykonujący uogólnione zapytania dla
32różnych rodzajów wartości. Zawiera automatyczną kontrolę poprawności i
33normalizację wejścia w zależności od typu, a także zgłaszanie błędów i
34ponowne odpytywanie wejścia.
1085dd16
JB
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
1085dd16
JB
42%{__make}
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc ChangeLog Copyright README
58%{perl_vendorlib}/Term/Query.pm
59%{_mandir}/man3/*
This page took 0.085786 seconds and 4 git commands to generate.