]> git.pld-linux.org Git - packages/perl-Locale-Maketext-Fuzzy.git/blame - perl-Locale-Maketext-Fuzzy.spec
- up to 0.11
[packages/perl-Locale-Maketext-Fuzzy.git] / perl-Locale-Maketext-Fuzzy.spec
CommitLineData
f7adbd80 1#
2# Conditional build:
b07e0bdb 3%bcond_without tests # do not perform "make test"
f7adbd80 4#
5%include /usr/lib/rpm/macros.perl
9de289b5 6%define pdir Locale
7%define pnam Maketext-Fuzzy
f7adbd80 8Summary: Locale::Maketext::Fuzzy - Maketext from already interpolated strings
d1efbd8c 9Summary(pl.UTF-8): Locale::Maketext::Fuzzy - Maketext z już przybliżonych łańcuchów
f7adbd80 10Name: perl-Locale-Maketext-Fuzzy
3030f871 11Version: 0.11
766cd7ec 12Release: 1
822464a8 13# same as perl
14License: GPL v1+ or Artistic
f7adbd80 15Group: Development/Languages/Perl
b8667731 16Source0: http://www.cpan.org/modules/by-module/Locale/%{pdir}-%{pnam}-%{version}.tar.gz
3030f871 17# Source0-md5: 623d791f1b57c076e18e5090d0cb2aca
b8667731 18URL: http://search.cpan.org/dist/Locale-Maketext-Fuzzy/
f4a02fbe 19BuildRequires: perl-devel >= 1:5.8.0
b8667731 20BuildRequires: rpm-perlprov >= 4.1-13
b07e0bdb 21%if %{with tests}
f7adbd80 22BuildRequires: perl-Locale-Maketext
23BuildRequires: perl-Test-Simple
24%endif
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
d9bfc363 29This module is a subclass of Locale::Maketext, with additional support
f7adbd80 30for localizing messages that already contains interpolated variables.
d9bfc363
JB
31This is most useful when the messages are returned by external modules
32- for example, to match "dir: command not found" against "[_1]: command
33not found".
34
119c02d1
JR
35%description -l pl.UTF-8
36Ten moduł jest podklasą Locale::Maketext, z dodatkową obsługą
37lokalizowanych komunikatów, które już zawierają przybliżone wartości.
38Jest to najbardziej przydatne kiedy komunikaty są zwracane przez
39zewnętrzne moduły - na przykład, aby dopasować "dir: command not
d9bfc363 40found" do "[_1]: command not found".
f7adbd80 41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
c91d9629 46%{__perl} Makefile.PL \
9f77fd35 47 INSTALLDIRS=vendor
f7adbd80 48%{__make}
49
b07e0bdb 50%{?with_tests:%{__make} test}
f7adbd80 51
52%install
53rm -rf $RPM_BUILD_ROOT
54
05547657 55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
f7adbd80 57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
c91d9629 63%{perl_vendorlib}/Locale/Maketext/*.pm
f7adbd80 64%{_mandir}/man3/*
This page took 0.085023 seconds and 4 git commands to generate.