Name: perl-Locale-Msgfmt Version: 0.15 Release: 10%{?dist} Summary: Compile .po files to .mo files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Locale-Msgfmt/ Source0: http://www.cpan.org/authors/id/S/SZ/SZABGAB/Locale-Msgfmt-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module does the same thing as msgfmt from GNU gettext-tools, except this is pure Perl. The interface is best explained through examples on home page. %prep %setup -q -n Locale-Msgfmt-%{version} %build %{__perl} Makefile.PL installdirs=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT%{_bindir} cp -v script/msgfmt.pl $RPM_BUILD_ROOT%{_bindir} find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_bindir}/msgfmt.pl %{_mandir}/man3/* %changelog * Thu Jan 30 2014 Rüdiger Landmann - 0.15-10 - build for EPEL * Sat Aug 03 2013 Fedora Release Engineering - 0.15-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.15-8 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.15-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.15-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.15-5 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 0.15-3 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Nov 19 2010 Petr Sabata - 0.15-1 - New upstream version, v0.15 - Now uses ExtUtils::MakeMaker * Mon May 03 2010 Marcela Maslanova - 0.14-3 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.14-2 - rebuild against perl 5.10.1 * Fri Aug 14 2009 Marcela Mašláňová 0.14-1 - Specfile autogenerated by cpanspec 1.78.