]> git.pld-linux.org Git - packages/perl-URI-Find.git/blame - perl-URI-Find.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-URI-Find.git] / perl-URI-Find.spec
CommitLineData
792032b9 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
792032b9 5%define pdir URI
6%define pnam Find
7Summary: URI::Find - Find URIs in arbitrary text
e95bd713 8Summary(pl.UTF-8): URI::Find - znajdowanie URI w dowolnym tekście
792032b9 9Name: perl-URI-Find
10Version: 0.16
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
e95bd713 15Source0: http://www.cpan.org/modules/by-authors/id/R/RO/ROSCH/%{pdir}-%{pnam}-%{version}.tar.gz
792032b9 16# Source0-md5: 339279e268cf37e629f54c1091f99a13
17URL: http://search.cpan.org/dist/URI-Find/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-URI >= 1.00
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
e95bd713
JB
27This module does one thing: Finds URIs and URLs in plain text. It
28finds them quickly and it finds them all (or what URI::URL considers a
29URI to be.) It only finds URIs which include a scheme (http:// or the
792032b9 30like), for something a bit less strict have a look at
31URI::Find::Schemeless.
32
e95bd713
JB
33%description -l pl.UTF-8
34Ten moduł robi jedną rzecz: znajduje URI i URL-e w czystym tekście.
35Znajduje je szybko i znajduje je wszystkie (lub cokolwiek co URI::URL
36uzna za URI). Znajduje tylko URI zawierające schemat (http:// itp.),
37natomiast coś mniej ścisłego można znaleźć w URI::Find::Schemeless.
792032b9 38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README TODO
61%{perl_vendorlib}/URI/*.pm
62%{perl_vendorlib}/URI/Find
63%{_mandir}/man3/*
This page took 0.162758 seconds and 5 git commands to generate.