SHA256
8
0
forked from pool/perl-Encode

Accepting request 356237 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/356237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Encode?expand=0&rev=11
This commit is contained in:
2016-01-27 10:25:46 +00:00
committed by Git OBS Bridge
parent 0851977621
commit 1ba076636c
5 changed files with 49 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Encode
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,20 @@
Name: perl-Encode
Version: 2.70
Version: 2.80
Release: 0
%define cpan_name Encode
Summary: character encodings in Perl
License: GPL-2.0+ or Artistic-1.0
%define cpan_name Encode
Summary: Character Encodings in Perl
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Encode/
Source0: http://www.cpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{version}.tar.gz
Source1: perl-Encode-rpmlintrc
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(parent) >= 0.221
Requires: perl(parent) >= 0.221
%{perl_requires}
%description
@@ -39,8 +41,7 @@ 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.
variant of EBCDIC rather than a superset of ASCII; see perlebcdic.
During recent history, data is moved around a computer in 8-bit chunks,
often called "bytes" but also known as "octets" in standards documents.
@@ -54,6 +55,9 @@ When Perl is processing "binary data", the programmer wants Perl to process
256 possible values, it easily fits in Perl's much larger "logical
character".
This document mostly explains the _how_. perlunitut and perlunifaq explain
the _why_.
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -67,15 +71,8 @@ character".
%install
%perl_make_install
%perl_process_packlist
test -f %{buildroot}%{_bindir}/enc2xs && mv %{buildroot}%{_bindir}/enc2xs %{buildroot}%{_bindir}/enc2xs-%{version}
test -f %{buildroot}%{_mandir}/man1/enc2xs.1 && mv %{buildroot}%{_mandir}/man1/enc2xs.1 %{buildroot}%{_mandir}/man1/enc2xs-%{version}.1
test -f %{buildroot}%{_bindir}/piconv && mv %{buildroot}%{_bindir}/piconv %{buildroot}%{_bindir}/piconv-%{version}
test -f %{buildroot}%{_mandir}/man1/piconv.1 && mv %{buildroot}%{_mandir}/man1/piconv.1 %{buildroot}%{_mandir}/man1/piconv-%{version}.1
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc AUTHORS Changes README