perl-Glib/perl-Glib.spec

204 lines
7.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Glib (Version 1.181)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Glib
BuildRequires: glib2-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig
Version: 1.181
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: LGPL v2.1 or later
Url: http://cpan.org/modules/by-module/Glib/
Summary: Glib Perl module
Source: Glib-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
Authors:
--------
muppet <scott@asofyet.org>
Ross McFarland <rwmcfa1@neces.com>
Goran Thyni <goran@kirra.net>
Joern Reder <joern@zyn.de>
Chas Owens <alas@wilma.widomaker dot com>
Guillaume Cottenceau <gc@mandrakesoft.com>
Marc Lehmann <pcg@goof.com>
Torsten Schoenfeld <kaffeetisch@web.de>
%prep
%setup -q -n Glib-%{version}
%build
perl Makefile.PL
make
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog README AUTHORS LICENSE NEWS TODO
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Glib
%{perl_vendorarch}/Glib.pm
%{perl_vendorarch}/auto/Glib
/var/adm/perl-modules/%{name}
%changelog
* Mon Mar 24 2008 anicka@suse.cz
- update to 1.181
* Makefile.PL: Remove the no_index specification from EXTRA_META
because the YAML implementations currently in use don't seem to
support this syntax yet.
* Makefile.PL (MY::postamble): Handle the EU::Depends object $glib
being undefined gracefully.
* Makefile.PL: Don't warn about this release being unstable
because it isn't.
* copyright.pod: Update for 2008.
* Thu Mar 13 2008 anicka@suse.cz
- update to 1.180
* Makefile.PL: Tell the compiler to always look for headers in '.'
first so that ours are preferred in case of name
clashes.
* ParseXSDoc.pm (parse_file): When parsing an #else pre-processor
directive, make sure we have actually seen and parsed a
corresponding #if before trying to negate its entry. This can
happen when our parsing heurestics fail. The result was an
exception: "Modification of non-creatable array value attempted."
* GType.xs: Defer the instantiation of a newly-registered
object class's class until after we've parsed the list of
signals, properties, and interfaces to add to it. This
allows perl-derived GObjects to override GInterfaces that
are implemented by parent classes.
* GObject.xs: Load GInterface types immediately, instead of
leaving them for lazy loading. Otherwise, it is possible to
get into situations in which a GInterface has not triggered
its lazy loading by the time it is needed.
* GObject.xs (class_info_finish_loading): When handling a class'
@ISA, instead of simple av_fetch calls and a final av_clear, use
repeated av_shift calls. Invoking av_clear on an @ISA array seems
to break the caching magic associated with it when running under
perl 5.10.0. This in turn breaks our lazy-loading scheme.
* Glib.xs: Use gperl_sv_defined instead of SvOK to check SVs for
definedness. This keeps Glib from erroneously thinking your
scalars are undefined, for example when using tied hashes.
* GType.xs: Define and use PORTABLE_LL_FORMAT and
PORTABLE_ULL_FORMAT.
* Mon Jan 14 2008 anicka@suse.cz
- update to 1.164
* GType.xs: Defer the instantiation of a newly-registered
object class's class until after we've parsed the list of
signals, properties, and interfaces to add to it.
* GObject.xs: Load GInterface types immediately, instead of
leaving them for lazy loading.
* ParseXSDoc.pm (parse_file): When parsing an #else pre-processor
directive, make sure we have actually seen and parsed a
corresponding #if before trying to negate its entry.
* GObject.xs (class_info_finish_loading): When handling a class'
@ISA, instead of simple av_fetch calls and a final av_clear,
use repeated av_shift calls.
* GBookmarkFile.xs: Hush compiler warning.
* GError.xs (gperl_gerror_from_sv): Fix the check for undefined
domain keys in GError hashes.
* GType.xs (add_interfaces): Fix the check for undefined
interface names.
* Wed Nov 21 2007 anicka@suse.cz
- update to 1.162
* MakeHelper.pm (postamble_docs_full): When constructing the
add_types call, make sure to properly quote the paths.
* Thu Nov 01 2007 anicka@suse.cz
- update to 1.161
* Makefile.PL: Use BEGIN { require 5.008; } instead of use 5.008;
so automatic CPAN testers know which perl version we need. Also
get rid of the MY package by prefixing the relevant subs with
`MY::´.
* GObject.xs (Glib::Object::CLONE): Check that perl_gobjects !=
NULL before working with it, to avoid an assertion.
* Fri Oct 05 2007 anicka@suse.cz
- update to 1.160
* GenPod.pm: Output a warning if a type name isn't recognized by
the doc parser. Add 'package' and 'list' to the basic types and
fix the remaining type name issues the new warning uncovered.
* ParseXSDoc.pm: Parse preprocessor conditionals in the XS code to
add Since: tags to methods' POD.
* ParseXSDoc.pm: Make it possible to document specific packages in
different POD files by providing a new =for object variant.
* GObject.xs: Register G_TYPE_INTERFACES as Glib::Interfaces to
avoid having it appear under Glib::Object::_Unregistered in
hierarchies in the generated POD.
* test fixes
- do not ignore test results anymore (package builds fine on all
supported archs)
* Mon Feb 26 2007 anicka@suse.cz
- update to 1.144
* MakeHelper.pm: Use BSD make syntax for the BLIB_DONE stuff on
BSD systems, unless the environment variable FORCE_GMAKE is set.
* Wed Feb 14 2007 anicka@suse.cz
- update to 1.143
* Makefile.PL: Check that glib >= 2.12.0, not 2.11.0, before
including GBookmarkFile.xs.
* Glib.xs: Call g_threads_init before g_type_init. Required (and
probably enforced in the near future) by recent glib versions.
* Tue Dec 12 2006 anicka@suse.cz
- update to 1.142
* bugfixes, test fixes
* GType.xs: Add macros, PORTABLE_STRTOLL and PORTABLE_STRTOULL,
to centralize the preprocessor madness for 64bit integer
support.
* Fri Sep 08 2006 anicka@suse.cz
- update to 1.140
* bugfixes and fixes in tests
* Fri Jul 21 2006 anicka@suse.cz
- update to 1.120
* add a new header file for private
functions that are used in more than one xs file
* bugfixes
- remove last patch (fixed in upstream)
* Tue Mar 21 2006 schwab@suse.de
- Fix broken casts.
* Tue Jan 31 2006 ro@suse.de
- fixed missing ";" in GType.xs
- ignore failed test for the moment
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 03 2006 anicka@suse.cz
- update to 1.102
* Thu Nov 10 2005 anicka@suse.cz
- update to 1.101
* Fri Jul 29 2005 mjancar@suse.cz
- update to 1.082
* Thu Jun 23 2005 ro@suse.de
- update to 1.081
- removed G_PARAM_PRIVATE (removed from glib2)
* Fri Jan 21 2005 ro@suse.de
- update to 1.072
* Tue Nov 02 2004 mcihar@suse.cz
- initial packaging