2007-01-16 00:30:43 +01:00
|
|
|
#
|
2011-08-06 19:24:54 +02:00
|
|
|
# spec file for package perl-Glib
|
2007-01-16 00:30:43 +01:00
|
|
|
#
|
2013-06-05 10:19:16 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:30:43 +01:00
|
|
|
#
|
2008-10-06 17:16:57 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:30:43 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Glib
|
2013-12-09 12:19:23 +01:00
|
|
|
Version: 1.303
|
2012-01-02 14:14:37 +01:00
|
|
|
Release: 0
|
2013-06-05 10:19:16 +02:00
|
|
|
%define cpan_name Glib
|
|
|
|
Summary: Perl wrappers for the GLib utility and Object libraries
|
2012-01-02 14:14:37 +01:00
|
|
|
License: LGPL-2.1+
|
2011-10-17 16:49:00 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2013-06-05 10:19:16 +02:00
|
|
|
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
|
|
|
|
BuildRequires: perl
|
2011-10-17 16:49:00 +02:00
|
|
|
BuildRequires: perl-macros
|
2013-06-05 10:19:16 +02:00
|
|
|
BuildRequires: perl(ExtUtils::Depends) >= 0.300
|
|
|
|
BuildRequires: perl(ExtUtils::PkgConfig) >= 1.000
|
|
|
|
#BuildRequires: perl(Glib)
|
|
|
|
#BuildRequires: perl(Glib::Object::Subclass)
|
|
|
|
#BuildRequires: perl(Gtk2)
|
|
|
|
Requires: perl(ExtUtils::Depends) >= 0.300
|
|
|
|
Requires: perl(ExtUtils::PkgConfig) >= 1.000
|
2010-12-03 15:06:36 +01:00
|
|
|
%{perl_requires}
|
2013-07-27 14:17:58 +02:00
|
|
|
# MANUAL
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2007-01-16 00:30:43 +01:00
|
|
|
|
|
|
|
%description
|
2013-06-05 10:19:16 +02:00
|
|
|
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.
|
2007-01-16 00:30:43 +01:00
|
|
|
|
|
|
|
%prep
|
2013-06-05 10:19:16 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-16 00:30:43 +01:00
|
|
|
|
|
|
|
%build
|
2013-06-05 10:19:16 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
%{__make} %{?_smp_mflags}
|
2007-10-05 15:59:40 +02:00
|
|
|
|
|
|
|
%check
|
2013-06-05 10:19:16 +02:00
|
|
|
# MANUAL
|
2012-07-21 08:01:45 +02:00
|
|
|
# loves to freeze randomly in OBS make test
|
2007-01-16 00:30:43 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2013-06-05 10:19:16 +02:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:30:43 +01:00
|
|
|
|
2013-06-05 10:19:16 +02:00
|
|
|
%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
|
2007-11-22 21:19:38 +01:00
|
|
|
|
2007-02-26 13:21:57 +01:00
|
|
|
%changelog
|