Accepting request 177674 from devel:languages:perl

update (forwarded request 177640 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Glib?expand=0&rev=35
This commit is contained in:
Stephan Kulow 2013-06-06 11:22:54 +00:00 committed by Git OBS Bridge
commit 0fad26f837
4 changed files with 80 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:383a6ea6343944fa969fbb2eccff3a6d021c9344ee5669ae94ea265201b4bfc6
size 276583

3
Glib-1.300.tar.gz Normal file
View File

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

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Wed Jun 5 05:48:40 UTC 2013 - coolo@suse.com
- updated to 1.300
* Stable release to coincide with the release of Perl 5.18.0
Since 1.28x (The previous stable release)
-----------------------------------------
* Ensure timely destruction of initial wrapper of custom subclasses
* Start changing module version numbers in all Perl modules in the
distribution, not just lib/Glib.pm; (Bugzilla #690464)
* Make Glib::Object subclassing more robust. This should in particular fix
issues revealed by the change to hash randomization introduced in perl
5.17.6.
* Correctly handle utf8-encoded strings in GPerlArgv. This should fix issues
seen with utf8-encoded strings in @ARGV with, for example, Gtk2->init.
Overview of changes in Glib 1.291 (unstable)
============================================
* Ensure timely destruction of initial wrapper of custom subclasses
* Start changing module version numbers in all Perl modules in the
distribution, not just lib/Glib.pm; (Bugzilla #690464)
Overview of changes in Glib 1.290 (unstable)
============================================
* Make Glib::Object subclassing more robust. This should in particular fix
issues revealed by the change to hash randomization introduced in perl
5.17.6.
* Correctly handle utf8-encoded strings in GPerlArgv. This should fix issues
seen with utf8-encoded strings in @ARGV with, for example, Gtk2->init.
Overview of changes in Glib 1.280 (stable)
==========================================
Since 1.26x (the previous stable series)
----------------------------------------
* Correctly handle the boxed type for GError.
* Ensure that custom signal marshallers are always used irregardless of
the spelling used for the signal name.
* Make the stack handling of some marshallers more robust, in
preparation for custom Glib::Boxed converters that call back into
Perl code.
* Add new C API gperl_register_boxed_synonym.
-------------------------------------------------------------------
Sat Jul 21 06:00:04 UTC 2012 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Glib
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@ -17,48 +17,54 @@
Name: perl-Glib
Version: 1.250
Version: 1.300
Release: 0
Summary: Glib Perl module
%define cpan_name Glib
Summary: Perl wrappers for the GLib utility and Object libraries
License: LGPL-2.1+
Group: Development/Libraries/Perl
Url: http://cpan.org/modules/by-module/Glib/
Source: Glib-%{version}.tar.gz
BuildRequires: perl-ExtUtils-Depends
BuildRequires: perl-ExtUtils-PkgConfig
BuildRequires: perl-macros
BuildRequires: pkgconfig(glib-2.0)
Url: http://search.cpan.org/dist/Glib/
Source: http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# MANUAL
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::Depends) >= 0.300
BuildRequires: perl(ExtUtils::PkgConfig) >= 1.000
BuildRequires: pkgconfig(glib-2.0)
#BuildRequires: perl(Glib)
#BuildRequires: perl(Glib::Object::Subclass)
#BuildRequires: perl(Gtk2)
Requires: perl(ExtUtils::Depends) >= 0.300
Requires: perl(ExtUtils::PkgConfig) >= 1.000
%{perl_requires}
%description
This module provides perl access to GLib and GLib's GObject libraries.
GLib is a portability and utility library; GObject provides a generic
type system with inheritance and a powerful signal system. Together
these libraries are used as the foundation for many of the libraries
that make up the Gnome environment, and are used in many unrelated
projects.
This wrapper attempts to provide a perlish interface while remaining as
true as possible to the underlying C API, so that any reference materials
you can find on using GLib may still apply to using the libraries from
perl. This module also provides facilities for creating wrappers for other
GObject-based libraries. The the SEE ALSO manpage section contains pointers
to all sorts of good information.
%prep
%setup -q -n Glib-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
# MANUAL
# loves to freeze randomly in OBS make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files
%defattr(-,root,root)
%doc ChangeLog.pre-git README AUTHORS LICENSE NEWS TODO
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Glib
%{perl_vendorarch}/Glib.pm
%{perl_vendorarch}/auto/Glib
%files -f %{name}.files
%defattr(-,root,root,755)
%doc AUTHORS ChangeLog.pre-git doctypes Glib.exports LICENSE NEWS perl-Glib.doap README TODO xsapi.pod.foot xsapi.pod.head
%changelog