diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6815eab --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Locale-Maketext-1.26.tar.gz diff --git a/.rh-perl520-perl-Locale-Maketext.metadata b/.rh-perl520-perl-Locale-Maketext.metadata new file mode 100644 index 0000000..eeb604d --- /dev/null +++ b/.rh-perl520-perl-Locale-Maketext.metadata @@ -0,0 +1 @@ +57d93357f89c33b43bab7b1f27cee92065188314 SOURCES/Locale-Maketext-1.26.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Locale-Maketext.spec b/SPECS/perl-Locale-Maketext.spec new file mode 100644 index 0000000..111cd3a --- /dev/null +++ b/SPECS/perl-Locale-Maketext.spec @@ -0,0 +1,117 @@ +%{?scl:%scl_package perl-Locale-Maketext} + +Name: %{?scl_prefix}perl-Locale-Maketext +Version: 1.26 +Release: 4%{?dist} +Summary: Framework for localization +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Locale-Maketext/ +Source0: http://www.cpan.org/authors/id/T/TO/TODDR/Locale-Maketext-%{version}.tar.gz +BuildArch: noarch +BuildRequires: %{?scl_prefix}perl +BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) +BuildRequires: %{?scl_prefix}perl(strict) +# Run-time: +BuildRequires: %{?scl_prefix}perl(Carp) +BuildRequires: %{?scl_prefix}perl(I18N::LangTags) >= 0.31 +BuildRequires: %{?scl_prefix}perl(I18N::LangTags::Detect) +BuildRequires: %{?scl_prefix}perl(integer) +# utf8 is optional +BuildRequires: %{?scl_prefix}perl(vars) +BuildRequires: %{?scl_prefix}perl(warnings) +# Tests: +BuildRequires: %{?scl_prefix}perl(parent) +BuildRequires: %{?scl_prefix}perl(Scalar::Util) +BuildRequires: %{?scl_prefix}perl(Test::More) +BuildRequires: %{?scl_prefix}perl(utf8) +# Optional tests: +%if !%{defined perl_bootstrap} && !%{defined perl_small} +BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 1.14 +%endif +Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) +Requires: %{?scl_prefix}perl(I18N::LangTags) >= 0.31 +Requires: %{?scl_prefix}perl(warnings) + +# Filter under-specified dependencies +# RPM 4.8 style +%{?filter_setup: +%filter_from_requires /^%{?scl_prefix}perl(I18N::LangTags)$/d +%?perl_default_filter +} +# RPM 4.9 style +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(I18N::LangTags\\)$ + +%description +It is a common feature of applications (whether run directly, or via the Web) +for them to be "localized" -- i.e., for them to present an English interface +to an English-speaker, a German interface to a German-speaker, and so on for +all languages it's programmed with. Locale::Maketext is a framework for +software localization; it provides you with the tools for organizing and +accessing the bits of text and text-processing code that you need for +producing localized applications. + +%prep +%setup -q -n Locale-Maketext-%{version} + +%build +%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'} + +%install +%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{?scl:scl enable %{scl} '}make test%{?scl:'} + +%files +%doc ChangeLog README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Jan 25 2015 Jitka Plesnikova - 1.26-4 +- Rebuild of bootstrapped package + +* Thu Jan 22 2015 Petr Pisar - 1.26-3 +- Disable optional tests for small build root + +* Fri Jan 09 2015 Petr Pisar - 1.26-2 +- Require undetected warnings module explicitly + +* Fri Dec 05 2014 Petr Pisar - 1.26-1 +- 1.26 bump + +* Sun Sep 07 2014 Jitka Plesnikova - 1.25-311 +- Perl 5.20 re-rebuild of bootstrapped packages + +* Wed Sep 03 2014 Jitka Plesnikova - 1.25-310 +- Increase release to favour standalone package + +* Tue Aug 26 2014 Jitka Plesnikova - 1.25-3 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.25-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Apr 16 2014 Petr Pisar - 1.25-1 +- 1.25 bump + +* Mon Nov 11 2013 Petr Pisar - 1.23-293 +- Fix escaping backslashes (bug #1026763) + +* Wed Aug 14 2013 Jitka Plesnikova - 1.23-292 +- Perl 5.18 re-rebuild of bootstrapped packages + +* Sat Aug 03 2013 Fedora Release Engineering - 1.23-291 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 15 2013 Petr Pisar - 1.23-290 +- Increase release to favour standalone package + +* Fri Jul 12 2013 Petr Pisar - 1.23-2 +- Perl 5.18 rebuild + +* Fri Apr 05 2013 Petr Pisar 1.23-1 +- Specfile autogenerated by cpanspec 1.78.