Accepting request 28340 from devel:languages:perl

Copy from devel:languages:perl/perl-Text-Iconv based on submit request 28340 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Text-Iconv?expand=0&rev=5
This commit is contained in:
OBS User autobuild 2010-01-09 10:51:45 +00:00 committed by Git OBS Bridge
parent c06c3dee4d
commit eb301b0861
4 changed files with 61 additions and 51 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7914e246a8b14cbf297d1f97ef709a5b3bcc3e8196ed870b365f6cfbf540670f
size 8501

3
Text-Iconv-1.7.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:815c5169b7afc40bc6f681b4c615ff8fb0e073d87422280c8c759a4666567490
size 9977

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
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 Wed Jan 25 21:39:59 CET 2006 - mls@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-Iconv (Version 1.4) # spec file for package perl-Text-Iconv (Version 1.7)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products 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
@ -19,67 +19,52 @@
Name: perl-Text-Iconv Name: perl-Text-Iconv
License: Artistic License %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Perl interface to iconv() codeset conversion function
Version: 1.7
Release: 1
License: Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Requires: perl = %{perl_version} Url: http://search.cpan.org/dist/Text-Iconv
AutoReqProv: on Source: %{cpan_name}-%{version}.tar.bz2
Summary: Iconv interface for text recoding
Version: 1.4
Release: 135
Source: Text-Iconv-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl = %{perl_version}
%description %description
The UNIX iconv interface for perl. 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
Authors: implementation-dependent. Valid values are specified in the system
-------- documentation; the iconv(1) utility should also provide a -l option that lists
Michael Piotrowski <mxp@dynalabs.de> all supported codesets.
%prep %prep
%setup -n Text-Iconv-%{version} %setup -q -n %{cpan_name}-%{version}
%define perl_site %(TMP=%{perl_sitearch}; echo ${TMP%/*})
%build %build
perl Makefile.PL perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make %{__make}
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 %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root) # normally you only need to check for doc files
%doc MANIFEST Changes README %defattr(-,root,root,)
%{perl_vendorarch}/auto/Text %doc Changes README
%{perl_vendorarch}/Text
%{_mandir}/man3/Text::Iconv.3pm.gz
/var/adm/perl-modules/perl-Text-Iconv
%changelog %changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Sun Jul 31 2005 cthiel@suse.de
- update to version 1.4
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 28 2003 coolo@suse.de
- fix build
* Tue Jul 01 2003 ro@suse.de
- use perl_process_packlist macro
- remove perllocal.pod from filelist
* Mon Jun 16 2003 coolo@suse.de
- package directories
* Mon Nov 18 2002 ro@suse.de
- fixed typo in specfile
* Sun Nov 17 2002 adrian@suse.de
- initial package of perl-Text-Iconv 1.2 (needed for gift)