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
|
|
|
#
|
2017-05-10 15:39:26 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-03-27 19:18:17 +01:00
|
|
|
%define cpan_name Glib
|
2007-01-16 00:30:43 +01:00
|
|
|
Name: perl-Glib
|
2018-03-05 22:13:16 +01:00
|
|
|
Version: 1.326
|
2012-01-02 14:14:37 +01:00
|
|
|
Release: 0
|
2013-06-05 10:19:16 +02:00
|
|
|
Summary: Perl wrappers for the GLib utility and Object libraries
|
2012-01-02 14:14:37 +01:00
|
|
|
License: LGPL-2.1+
|
2015-03-27 19:18:17 +01:00
|
|
|
Group: Development/Languages/Perl
|
|
|
|
Url: https://metacpan.org/pod/Glib
|
|
|
|
Source: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: glib2-devel >= 2.0.0
|
2013-06-05 10:19:16 +02:00
|
|
|
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
|
|
|
|
Requires: perl(ExtUtils::Depends) >= 0.300
|
|
|
|
Requires: perl(ExtUtils::PkgConfig) >= 1.000
|
2017-05-10 15:39:26 +02:00
|
|
|
Provides: %{name}-devel = %{version}
|
2015-03-27 19:18:17 +01:00
|
|
|
%perl_requires
|
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
|
2017-05-10 15:39:26 +02:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
make %{?_smp_mflags} V=1
|
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
|
2015-03-27 19:18:17 +01:00
|
|
|
%defattr(-,root,root)
|
2013-06-05 10:19:16 +02:00
|
|
|
%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
|