Tina Müller 2025-02-10 21:42:03 +00:00 committed by Git OBS Bridge
commit 21046c0389
6 changed files with 221 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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

Binary file not shown.

35
cpanspec.yml Normal file
View File

@ -0,0 +1,35 @@
---
#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:
# baz.patch: PATCH-FIX-OPENSUSE
#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: perl
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

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

@ -0,0 +1,92 @@
-------------------------------------------------------------------
Mon Feb 10 21:39:41 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
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)

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

@ -0,0 +1,67 @@
#
# spec file for package perl-Text-Iconv
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define cpan_name Text-Iconv
Name: perl-Text-Iconv
Version: 1.700.0
Release: 0
# 1.7 -> normalize -> 1.700.0
%define cpan_version 1.7
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl interface to iconv() codeset conversion function
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MP/MPIOTR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(Text::Iconv) = %{version}
%undefine __perllib_provides
%{perl_requires}
%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
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%changelog