]> git.pld-linux.org Git - packages/perl-Locale-Maketext-Fuzzy.git/blame - perl-Locale-Maketext-Fuzzy.spec
- new, STBR
[packages/perl-Locale-Maketext-Fuzzy.git] / perl-Locale-Maketext-Fuzzy.spec
CommitLineData
f7adbd80 1#
2# Conditional build:
3# _without_tests - do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Locale
7%define pnam Maketext-Fuzzy
8Summary: Locale::Maketext::Fuzzy - Maketext from already interpolated strings
9#Summary(pl):
10Name: perl-Locale-Maketext-Fuzzy
11Version: 0.01
12Release: 1
13License: GPL/Artistic
14Group: Development/Languages/Perl
15Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16BuildRequires: perl >= 5.6
17BuildRequires: rpm-perlprov >= 3.0.3-26
18%if %{?_without_tests:0}%{!?_without_tests:1}
19BuildRequires: perl-Locale-Maketext
20BuildRequires: perl-Test-Simple
21%endif
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This module is a subclass of C<Locale::Maketext>, with additional support
27for localizing messages that already contains interpolated variables.
28This is most useful when the messages are returned by external modules --
29for example, to match C<dir: command not found> against C<[_1]: command
30not found>.
31
32# %description -l pl
33# TODO
34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39perl Makefile.PL
40%{__make}
41
42%{!?_without_tests:%{__make} test}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%{perl_sitelib}/Locale/Maketext/*.pm
55%{_mandir}/man3/*
This page took 1.078664 seconds and 4 git commands to generate.