forked from pool/perl-Encode
- updated to 2.43
Several bugfixes, see Changes OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Encode?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
02dc3a9e95
commit
be99b56671
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a2bfb0e6fb86a08525e8df6f3e7e93920fa82c1cb1f4bd255a021b6c87292bbf
|
|
||||||
size 1445665
|
|
3
Encode-2.43.tar.gz
Normal file
3
Encode-2.43.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1864145deba238823c0d4acd0e0ee3921bf491aab981d558295d4833c6a18fe0
|
||||||
|
size 2002518
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 31 14:35:40 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
- updated to 2.43
|
||||||
|
Several bugfixes, see Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 13:32:13 UTC 2010 - coolo@novell.com
|
Wed Dec 1 13:32:13 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,59 +1,77 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
# norootforbuild
|
# spec file for package perl-Encode (Version 2.43)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
Name: perl-Encode
|
Name: perl-Encode
|
||||||
Version: 2.39
|
Version: 2.43
|
||||||
Release: 0
|
Release: 1
|
||||||
Summary: Interfaces between Perl Strings and the rest of the system
|
License: GPL+ or Artistic
|
||||||
# http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Encode-%{version}.tar.gz
|
%define cpan_name Encode
|
||||||
Source: Encode-%{version}.tar.bz2
|
Summary: character encodings in Perl
|
||||||
Source99: rpmlintrc
|
Url: http://search.cpan.org/dist/Encode/
|
||||||
URL: http://search.cpan.org/dist/Encode
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Perl License
|
Source: http://www.cpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: make
|
%{perl_requires}
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The "Encode" module provides the interfaces between Perl's strings and the
|
The 'Encode' module provides the interface between Perl strings and the
|
||||||
rest of the system. Perl strings are sequences of characters.
|
rest of the system. Perl strings are sequences of _characters_.
|
||||||
|
|
||||||
|
The repertoire of characters that Perl can represent is a superset of those
|
||||||
|
defined by the Unicode Consortium. On most platforms the ordinal values of
|
||||||
|
a character as returned by 'ord(_S_)' is the _Unicode codepoint_ for that
|
||||||
|
character. The exceptions are platforms where the legacy encoding is some
|
||||||
|
variant of EBCDIC rather than a superset of ASCII; see the perlebcdic
|
||||||
|
manpage.
|
||||||
|
|
||||||
|
During recent history, data is moved around a computer in 8-bit chunks,
|
||||||
|
often called "bytes" but also known as "octets" in standards documents.
|
||||||
|
Perl is widely used to manipulate data of many types: not only strings of
|
||||||
|
characters representing human or computer languages, but also "binary"
|
||||||
|
data, being the machine's representation of numbers, pixels in an image, or
|
||||||
|
just about anything.
|
||||||
|
|
||||||
|
When Perl is processing "binary data", the programmer wants Perl to process
|
||||||
|
"sequences of bytes". This is not a problem for Perl: because a byte has
|
||||||
|
256 possible values, it easily fits in Perl's much larger "logical
|
||||||
|
character".
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Encode-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
%__make %{?jobs:-j%{jobs}}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
%check
|
|
||||||
%__make test
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc AUTHORS Changes README
|
||||||
# don't include these, they conflict with perl itself:
|
|
||||||
%exclude %{_bindir}/enc2xs
|
|
||||||
%exclude %{_bindir}/piconv
|
|
||||||
%exclude %doc %{_mandir}/man1/enc2xs.1%{ext_man}
|
|
||||||
%exclude %doc %{_mandir}/man1/piconv.1%{ext_man}
|
|
||||||
%{perl_vendorarch}/Encode.pm
|
|
||||||
%{perl_vendorarch}/Encode
|
|
||||||
%{perl_vendorarch}/encoding.pm
|
|
||||||
%{perl_vendorarch}/auto/Encode
|
|
||||||
%doc %{perl_man3dir}/Encode.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/Encode::*.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/encoding.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user