3 %bcond_with tests # perform "make test" (tests are broken)
7 Summary: Term::Query - table-driven query routine
8 Summary(pl.UTF-8): Term::Query - oparta na tablicach funkcja realizująca zapytania
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: eba5ba66fdf9e98464472dbc89c49dab
16 URL: http://search.cpan.org/dist/Term-Query/
17 BuildRequires: perl-Array-PrintCols
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Term::Query is a Perl 5 module, which performs generalized queries on
25 various kinds of values. Validation and normalization of input, based
26 on the type, is automated, as is error reporting and re-solicitation
29 %description -l pl.UTF-8
30 Term::Query to moduł Perla 5 wykonujący uogólnione zapytania dla
31 różnych rodzajów wartości. Zawiera automatyczną kontrolę poprawności i
32 normalizację wejścia w zależności od typu, a także zgłaszanie błędów i
33 ponowne odpytywanie wejścia.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %doc ChangeLog Copyright README
57 %{perl_vendorlib}/Term/Query.pm