c9475f7
Name:           perl-Locale-Maketext-Fuzzy
1229fe6
Version:        0.10
9b1505c
Release:        2%{?dist}
c9475f7
Summary:        Maketext from already interpolated strings
c9475f7
c9475f7
Group:          Development/Libraries
1229fe6
License:        MIT
c9475f7
URL:            http://search.cpan.org/dist/Locale-Maketext-Fuzzy/
1229fe6
Source0:        http://www.cpan.org/modules/by-module/Locale/Locale-Maketext-Fuzzy-%{version}.tar.gz
c9475f7
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c9475f7
c9475f7
BuildArch:      noarch
49e93d1
BuildRequires:  perl(ExtUtils::MakeMaker)
7050949
BuildRequires:  perl(Test::More)
e5e5aab
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
c9475f7
c9475f7
%description
c9475f7
This module is a subclass of Locale::Maketext, with additional
c9475f7
support for localizing messages that already contains interpolated
c9475f7
variables.  This is most useful when the messages are returned by
c9475f7
external modules -- for example, to match "dir: command not foundr"
c9475f7
against "[_1]: command not found".
c9475f7
c9475f7
c9475f7
%prep
c9475f7
%setup -q -n Locale-Maketext-Fuzzy-%{version}
c9475f7
c9475f7
c9475f7
%build
c9475f7
%{__perl} Makefile.PL INSTALLDIRS=vendor
c9475f7
make %{?_smp_mflags}
c9475f7
c9475f7
c9475f7
%install
c9475f7
rm -rf $RPM_BUILD_ROOT
c9475f7
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
c9475f7
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
c9475f7
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
c9475f7
chmod -R u+w $RPM_BUILD_ROOT/*
c9475f7
c9475f7
c9475f7
%check
c9475f7
make test
c9475f7
c9475f7
c9475f7
%clean
c9475f7
rm -rf $RPM_BUILD_ROOT
c9475f7
c9475f7
c9475f7
%files
c9475f7
%defattr(-,root,root,-)
c9475f7
%doc Changes README
c9475f7
%{perl_vendorlib}/Locale/
af5803a
%{_mandir}/man3/*.3pm*
c9475f7
c9475f7
c9475f7
%changelog
9b1505c
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10-2
9b1505c
Rebuild for new perl
9b1505c
1229fe6
* Wed Dec 05 2007 Ralf Cors├ępius <rc040203@freenet.de> - 0.10-1
1229fe6
- Upstream update.
1229fe6
- Change Source0: to using "by-module".
1229fe6
- Reflect upstream license change.
1229fe6
7050949
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-4.2
7050949
- add BR: perl(Test::More)
7050949
49e93d1
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-4.1
49e93d1
- correct license tag
49e93d1
- add BR: perl(ExtUtils::MakeMaker)
49e93d1
af5803a
* Thu Sep  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.02-4
af5803a
- Rebuild for FC6.
af5803a
e5e5aab
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.02-3
e5e5aab
- Rebuild for FC5 (perl 5.8.8).
e5e5aab
1fac54c
* Fri Sep  9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.02-2
1fac54c
- Comment about license files location.
1fac54c
c9475f7
* Thu Aug 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.02-1
c9475f7
- Update to Fedora Extras template.
c9475f7
c9475f7
* Sun Oct 31 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.02-0.fdr.1
c9475f7
- First build.