3 %bcond_without tests # do not perform "make test"
7 Summary: Text::Glob perl module - match globbing patterns against text
8 Summary(pl.UTF-8): Moduł perla Text::Glob - dopasowywanie tekstu do wzorców
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: d001559c504a2625dd117bd1558f07f7
17 URL: https://metacpan.org/release/Text-Glob
18 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: perl-Test-Simple
22 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRequires: rpmbuild(macros) >= 1.745
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Text::Glob implements glob(3) style matching that can be used to match
29 against text, rather than fetching names from a filesystem. If you
30 want to do full file globbing use the File::Glob module instead.
32 %description -l pl.UTF-8
33 Text::Glob jest implementacją dopasowywania w stylu glob(3), które
34 może być używane do dopasowywania tekstu, a nie nazw plików. Jeśli
35 potrzeba pełnej implementacji glob dla plików, należy użyć modułu
36 File::Glob zamiast tego.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/Text/Glob.pm
61 %{_mandir}/man3/Text::Glob.3pm*