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