]> git.pld-linux.org Git - packages/perl-Locale-Maketext-Fuzzy.git/commitdiff
- new, STBR perl-Locale-Maketext-Fuzzy-0_01-1
authorradek <radek@pld-linux.org>
Sat, 21 Sep 2002 21:01:35 +0000 (21:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Locale-Maketext-Fuzzy.spec -> 1.1

perl-Locale-Maketext-Fuzzy.spec [new file with mode: 0644]

diff --git a/perl-Locale-Maketext-Fuzzy.spec b/perl-Locale-Maketext-Fuzzy.spec
new file mode 100644 (file)
index 0000000..07f8990
--- /dev/null
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Locale
+%define        pnam    Maketext-Fuzzy
+Summary:       Locale::Maketext::Fuzzy - Maketext from already interpolated strings
+#Summary(pl):  
+Name:          perl-Locale-Maketext-Fuzzy
+Version:       0.01
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+%if %{?_without_tests:0}%{!?_without_tests:1}
+BuildRequires: perl-Locale-Maketext
+BuildRequires: perl-Test-Simple
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is a subclass of C<Locale::Maketext>, with additional support
+for localizing messages that already contains interpolated variables.
+This is most useful when the messages are returned by external modules --
+for example, to match C<dir: command not found> against C<[_1]: command
+not found>.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/Locale/Maketext/*.pm
+%{_mandir}/man3/*
This page took 0.141692 seconds and 4 git commands to generate.