Sync from SUSE:SLFO:Main perl-Text-Iconv revision bf40ad366b17db3ab65d8c9e9503f38c

This commit is contained in:
Adrian Schröter 2024-05-03 19:00:25 +02:00
commit 8d707301f1
4 changed files with 182 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
Text-Iconv-1.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

86
perl-Text-Iconv.changes Normal file
View File

@ -0,0 +1,86 @@
-------------------------------------------------------------------
Fri Nov 18 08:38:26 UTC 2011 - coolo@suse.com
- use original tar
-------------------------------------------------------------------
Wed Dec 1 13:35:46 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Tue Jul 28 09:46:52 CEST 2009 - coolo@novell.com
- merge factory and build service package
-------------------------------------------------------------------
Wed Jul 15 10:59:36 CEST 2009 - chris@computersalat.de
- added perl-macros
o autogen filelist with perl_gen_filelist
- spec mods
o added header
-------------------------------------------------------------------
Tue Jun 2 09:27:15 CEST 2009 - lars@linux-schulserver.de
- update to version 1.7
* Output buffer was always initialized to 5 bytes--this was
just for testing, but I'd forgotten to revert back to the
original code (detected via a bug report by Aldo LeTellier).
* Added get_attr() and set_attr() methods. They provide an
interface to the iconvctl() function of GNU libiconv.
* In Iconv.xs, moved the variable declarations in
ti_set_attr() and ti_get_attr() into the PREINIT: section.
-------------------------------------------------------------------
Wed Jan 25 21:39:59 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Sep 28 22:14:59 CEST 2005 - dmueller@suse.de
- add norootforbuild
-------------------------------------------------------------------
Sun Jul 31 17:50:36 CEST 2005 - cthiel@suse.de
- update to version 1.4
-------------------------------------------------------------------
Fri Aug 22 15:50:52 CEST 2003 - mjancar@suse.cz
- require the perl version we build with
-------------------------------------------------------------------
Mon Jul 28 08:58:53 CEST 2003 - coolo@suse.de
- fix build
-------------------------------------------------------------------
Tue Jul 1 14:00:34 CEST 2003 - ro@suse.de
- use perl_process_packlist macro
- remove perllocal.pod from filelist
-------------------------------------------------------------------
Mon Jun 16 08:20:39 CEST 2003 - coolo@suse.de
- package directories
-------------------------------------------------------------------
Mon Nov 18 14:22:36 CET 2002 - ro@suse.de
- fixed typo in specfile
-------------------------------------------------------------------
Sun Nov 17 12:52:45 CET 2002 - adrian@suse.de
- initial package of perl-Text-Iconv 1.2 (needed for gift)

70
perl-Text-Iconv.spec Normal file
View File

@ -0,0 +1,70 @@
#
# spec file for package perl-Text-Iconv
#
# 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/
#
# norootforbuild
Name: perl-Text-Iconv
%define cpan_name Text-Iconv
Summary: Perl interface to iconv() codeset conversion function
Version: 1.7
Release: 7
License: Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-Iconv
Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description
The Text::Iconv module provides a Perl interface to the iconv() function as
defined by the Single UNIX Specification.
The convert() method converts the encoding of characters in the input string
from the fromcode codeset to the tocode codeset, and returns the result.
Settings of fromcode and tocode and their permitted combinations are
implementation-dependent. Valid values are specified in the system
documentation; the iconv(1) utility should also provide a -l option that lists
all supported codesets.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root,)
%doc Changes README
%changelog