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