3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Text::Glob perl module - match globbing patterns against text
9 Summary(pl): Modu³ perla Text::Glob - dopasowywanie tekstu do wzorców
13 License: GPL or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 800d5a40b2f0c7514c58d736d21f616c
17 BuildRequires: perl-devel >= 5.6
19 BuildRequires: perl-Test-Simple
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Text::Glob implements glob(3) style matching that can be used to match
27 against text, rather than fetching names from a filesystem. If you
28 want to do full file globbing use the File::Glob module instead.
31 Text::Glob jest implementacj± dopasowywania w stylu glob(3), które
32 mo¿e byæ u¿ywane do dopasowywania tekstu, a nie nazw plików. Je¶li
33 potrzeba pe³nej implementacji glob dla plików, nale¿y u¿yæ modu³u
34 File::Glob zamiast tego.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/Text/*.pm