]> git.pld-linux.org Git - packages/perl-Text-Query-Simple.git/blame - perl-Text-Query-Simple.spec
use generic url
[packages/perl-Text-Query-Simple.git] / perl-Text-Query-Simple.spec
CommitLineData
b33888e0 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
920cfae3 4
33fda7d4 5%define pdir Text
6%define pnam Query-Simple
920cfae3 7%include /usr/lib/rpm/macros.perl
6b726fa0 8Summary: Text::Query::Simple perl module
b6040487 9Summary(pl.UTF-8): Moduł perla Text::Query::Simple
c7b58726 10Name: perl-Text-Query-Simple
11Version: 0.03
d293dd41 12Release: 11
b33888e0 13# same as perl
14License: GPL v1+ or Artistic
c7b58726 15Group: Development/Languages/Perl
16c77e33 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
e1c529e5 17# Source0-md5: 1606d4a51937f4cb7247adb894924382
920cfae3 18URL: http://search.cpan.org/dist/Text-Query-Simple/
65f13606 19BuildRequires: perl-devel >= 1:5.8.0
920cfae3 20BuildRequires: rpm-perlprov >= 4.1-13
72b0d74c 21BuildArch: noarch
ebec099a 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c7b58726 23
24%description
6b726fa0 25Text::Query::Simple - matches text against simple query expression.
c7b58726 26
6b68a944
JR
27%description -l pl.UTF-8
28Text::Query::Simple - wyszukuje tekst przy pomocy prostych wyrażeń
f5bb96ec 29regularnych.
c7b58726 30
31%prep
42450418 32%setup -q -n %{pdir}-%{pnam}-%{version}
c7b58726 33
34%build
bc01889a 35%{__perl} Makefile.PL \
e55bbcc9 36 INSTALLDIRS=vendor
66e3a597 37%{__make}
c7b58726 38
b33888e0 39%{?with_tests:%{__make} test}
40
c7b58726 41%install
42rm -rf $RPM_BUILD_ROOT
c7b58726 43
b33888e0 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
c7b58726 46
c7b58726 47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
5f6dab1c 52%doc Changes readme
bc01889a 53%{perl_vendorlib}/Text/Query/Simple.pm
c7b58726 54%{_mandir}/man3/*
This page took 0.03644 seconds and 4 git commands to generate.