forked from pool/perl-Unicode-String
Compare commits
13 Commits
24ca946f8b
...
slfo-main
Author | SHA256 | Date | |
---|---|---|---|
4245268b76 | |||
efc5f73721 | |||
665447eb4a | |||
f980c24bf5 | |||
|
ac78311362 | ||
|
e9194387b4 | ||
|
e440b03887 | ||
|
9e91ad99de | ||
|
b846ed6110 | ||
|
7eb2ada9ad | ||
|
ef5e91ad4e | ||
|
9473f758df | ||
|
33aeec0517 |
BIN
Unicode-String-2.09.tar.bz2
(Stored with Git LFS)
BIN
Unicode-String-2.09.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
Unicode-String-2.10.tar.gz
(Stored with Git LFS)
Normal file
BIN
Unicode-String-2.10.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 9 06:17:46 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.10
|
||||||
|
* Applied patch from Michael Joyce that is required to make the
|
||||||
|
test pass for perl-5.24 (perl522.patch)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 27 10:42:46 UTC 2015 - hsk@imb-jena.de
|
||||||
|
|
||||||
|
- perl522.patch: fix to make module work with perl-5.22
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 15 07:28:46 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Use source URLs and remove ancient specfile tags and sections
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 18 11:07:26 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- use original .tar.gz
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 30 19:20:57 UTC 2010 - coolo@novell.com
|
Tue Nov 30 19:20:57 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Unicode-String (Version 2.09)
|
# spec file for package perl-Unicode-String
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,59 +15,58 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Unicode-String
|
Name: perl-Unicode-String
|
||||||
Version: 2.09
|
Version: 2.10
|
||||||
Release: 143
|
Release: 0
|
||||||
AutoReqProv: on
|
%define cpan_name Unicode-String
|
||||||
|
Summary: String of Unicode characters (UTF-16BE)
|
||||||
|
License: GPL-1.0+ or Artistic-1.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic
|
Url: http://search.cpan.org/dist/Unicode-String/
|
||||||
Url: http://cpan.org/modules/by-module/Unicode/
|
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/GAAS/%{cpan_name}-%{version}.tar.gz
|
||||||
Summary: String of Unicode characters (UCS2/UTF16)
|
Source1: cpanspec.yml
|
||||||
Source: Unicode-String-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A Unicode::String object represents a sequence of Unicode characters.
|
A 'Unicode::String' object represents a sequence of Unicode characters.
|
||||||
The Unicode Standard is a fixed-width, uniform encoding scheme for
|
Methods are provided to convert between various external formats
|
||||||
written characters and text. This encoding treats alphabetic
|
(encodings) and 'Unicode::String' objects, and methods are provided for
|
||||||
characters, ideographic characters, and symbols identically, which
|
common string manipulations.
|
||||||
means that they can be used in any mixture and with equal facility.
|
|
||||||
Unicode is modeled on the ASCII character set, but uses a 16-bit
|
|
||||||
encoding to support full multilingual text.
|
|
||||||
|
|
||||||
|
The functions utf32be(), utf32le(), utf16be(), utf16le(), utf8(), utf7(),
|
||||||
|
latin1(), uhex(), uchr() can be imported from the 'Unicode::String' module
|
||||||
|
and will work as constructors initializing strings of the corresponding
|
||||||
|
encoding.
|
||||||
|
|
||||||
|
The 'Unicode::String' objects overload various operators, which means that
|
||||||
|
they in most cases can be treated like plain strings.
|
||||||
|
|
||||||
Authors:
|
Internally a 'Unicode::String' object is represented by a string of 2 byte
|
||||||
--------
|
numbers in network byte order (big-endian). This representation is not
|
||||||
Gisle Aas <gisle@aas.no>
|
visible by the API provided, but it might be useful to know in order to
|
||||||
|
predict the efficiency of the provided methods.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n Unicode-String-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%perl_make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes README
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README Changes
|
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorarch}/Unicode
|
|
||||||
%{perl_vendorarch}/auto/Unicode
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user