# Got the intial spec from Fedora and modified it Summary: Internationalization library for Perl, compatible with gettext Name: perl-libintl Version: 1.26 Release: 1%{?dist} License: LGPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/libintl-perl/ Source: http://search.cpan.org/CPAN/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz %define sha1 libintl-perl=8b0adebe6322d9f8d8ca6c561bac1773ad83bafd Vendor: VMware, Inc. Distribution: Photon Requires: perl Provides: perl-libintl-perl = %{version}-%{release} BuildRequires: perl %description The package libintl-perl is an internationalization library for Perl that aims to be compatible with the Uniforum message translations system as implemented for example in GNU gettext. %prep %setup -q -n libintl-perl-%{version} find -type f -exec chmod -x {} \; find lib/Locale gettext_xs \( -name '*.pm' -o -name '*.pod' \) \ -exec sed -i -e '/^#! \/bin\/false/d' {} \; %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f \( -name .packlist -o \ -name '*.bs' -size 0 \) -exec rm -f {} ';' chmod -R u+w %{buildroot}/* %check make test %files %{perl_vendorlib}/Locale/ %{perl_vendorarch}/auto/Locale/ %{_mandir}/man?/* %changelog * Mon Apr 03 2017 Rongrong Qiu <rqiu@vmware.com> 1.26-1 - upgrade for 2.0 * Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.24-2 - GA - Bump release of all rpms * Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.24-1 - Upgraded to version 1.24 * Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.23-1 - Initial version.