From 965f69ee617d275d590069396ccd29b12712512c Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jul 26 2013 06:58:15 +0000 Subject: import perl-Encode-2.51-3.el7.src.rpm --- diff --git a/.perl-Encode.metadata b/.perl-Encode.metadata new file mode 100644 index 0000000..d4de945 --- /dev/null +++ b/.perl-Encode.metadata @@ -0,0 +1 @@ +314e6b3841ba11902bbcd3632b5390a37990f5ce SOURCES/Encode-2.51.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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-Encode.spec b/SPECS/perl-Encode.spec new file mode 100644 index 0000000..8e121ca --- /dev/null +++ b/SPECS/perl-Encode.spec @@ -0,0 +1,128 @@ +Name: perl-Encode +Version: 2.51 +Release: 3%{?dist} +Summary: Character encodings in Perl +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Encode/ +Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/Encode-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(bytes) +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +# Filter::Util::Call is optional +BuildRequires: perl(Getopt::Long) +# I18N::Langinfo is optional +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(overload) +# PerlIO::encoding is optional +BuildRequires: perl(re) +# Storable is optional +BuildRequires: perl(utf8) +BuildRequires: perl(vars) +BuildRequires: perl(XSLoader) +# Tests: +BuildRequires: perl(charnames) +BuildRequires: perl(Config) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Compare) +BuildRequires: perl(File::Copy) +BuildRequires: perl(FileHandle) +BuildRequires: perl(FindBin) +BuildRequires: perl(IO::Select) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(lib) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test) +BuildRequires: perl(Test::More) +BuildRequires: perl(Tie::Scalar) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%{?perl_default_filter} +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Encode::ConfigLocal|MY\\) + +%description +The Encode module provides the interface between Perl strings and the rest +of the system. Perl strings are sequences of characters. + +# To mirror files from perl-devel (bug #456534) +# Keep architecture specific because files go into vendorarch +%package devel +Summary: Perl Encode Module Generator +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl-devel +Requires: perl(Encode) + +%description devel +enc2xs builds a Perl extension for use by Encode from either Unicode Character +Mapping files (.ucm) or Tcl Encoding Files (.enc). You can use enc2xs to add +your own encoding to perl. No knowledge of XS is necessary. + + +%prep +%setup -q -n Encode-%{version} + +%build +# Additional scripts can be installed by appending MORE_SCRIPTS, UCM files by +# INSTALL_UCM. +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc AUTHORS Changes README +%{_bindir}/piconv +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Encode* +%exclude %{perl_vendorarch}/Encode/*.e2x +%exclude %{perl_vendorarch}/Encode/encode.h +%{perl_vendorarch}/encoding.pm +%{_mandir}/man1/piconv.* +%{_mandir}/man3/* + +%files devel +%{_bindir}/enc2xs +%{_mandir}/man1/enc2xs.* +%{perl_vendorarch}/Encode/*.e2x +%{perl_vendorarch}/Encode/encode.h + +%changelog +* Fri Jul 26 2013 Petr Pisar - 2.51-3 +- Specify more dependencies + +* Fri May 17 2013 Petr Pisar - 2.51-2 +- Specify all dependencies + +* Thu May 02 2013 Petr Pisar - 2.51-1 +- 2.51 bump + +* Mon Apr 29 2013 Petr Pisar - 2.50-1 +- 2.50 bump (recoding does not launders taintedness) + +* Tue Mar 05 2013 Petr Pisar - 2.49-1 +- 2.49 bump + +* Mon Feb 18 2013 Petr Pisar - 2.48-1 +- 2.48 bump + +* Thu Sep 20 2012 Petr Pisar 2.47-1 +- Specfile autogenerated by cpanspec 1.78. +- Make devel sub-package architecture specific due to file location