3 %bcond_without tests # do not perform "make test"
6 %define pnam Maketext-Fuzzy
7 Summary: Locale::Maketext::Fuzzy - Maketext from already interpolated strings
8 Summary(pl.UTF-8): Locale::Maketext::Fuzzy - Maketext z już przybliżonych łańcuchów
9 Name: perl-Locale-Maketext-Fuzzy
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Locale/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 623d791f1b57c076e18e5090d0cb2aca
17 URL: http://search.cpan.org/dist/Locale-Maketext-Fuzzy/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Locale-Maketext
22 BuildRequires: perl-Test-Simple
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This module is a subclass of Locale::Maketext, with additional support
29 for localizing messages that already contains interpolated variables.
30 This is most useful when the messages are returned by external modules
31 - for example, to match "dir: command not found" against "[_1]: command
34 %description -l pl.UTF-8
35 Ten moduł jest podklasą Locale::Maketext, z dodatkową obsługą
36 lokalizowanych komunikatów, które już zawierają przybliżone wartości.
37 Jest to najbardziej przydatne kiedy komunikaty są zwracane przez
38 zewnętrzne moduły - na przykład, aby dopasować "dir: command not
39 found" do "[_1]: command not found".
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %{perl_vendorlib}/Locale/Maketext/*.pm