# # Conditional build: %bcond_without tests # do not perform "make test" %define pdir Text %define pnam Query-Advanced Summary: Text::Query::Advanced perl module Summary(pl.UTF-8): Moduł perla Text::Query::Advanced Name: perl-Text-Query-Advanced Version: 0.05 Release: 9 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 2b1e5a7dd9bed41645e67a3057614a69 URL: http://search.cpan.org/dist/Text-Query-Advanced/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Text::Query::Advanced - matches text against Boolean expression. %description -l pl.UTF-8 Text::Query::Advanced - wyszukuje tekst stosując operatory logiczne. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes readme %{perl_vendorlib}/Text/Query/Advanced.pm %{_mandir}/man3/*