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
#
2023-09-05 21:34:32 +02:00
# Copyright (c) 2023 SUSE LLC
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.
2018-10-08 14:00:40 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2007-01-16 00:30:43 +01:00
#
2023-09-05 21:34:32 +02:00
%define cpan_name Glib
2007-01-16 00:30:43 +01:00
Name : perl-Glib
2023-09-05 21:34:32 +02:00
Version : 1.3294
2012-01-02 14:14:37 +01:00
Release : 0
2020-02-22 18:10:57 +01:00
#Upstream: This library is free software; you can redistribute it and/or modify it under the terms of the Lesser General Public License (LGPL). For more information, see http://www.fsf.org/licenses/lgpl.txt
2018-09-12 15:56:36 +02:00
License : LGPL-2.1-or-later
2023-09-05 21:34:32 +02:00
Summary : Perl wrappers for the GLib utility and Object libraries
2020-06-08 17:53:15 +02:00
URL : https://metacpan.org/release/%{cpan_name}
2018-10-08 14:00:40 +02:00
Source0 : https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name} -%{version} .tar.gz
Source1 : cpanspec.yml
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
2023-09-05 21:34:32 +02:00
BuildRequires : perl(ExtUtils::PkgConfig) >= 1.000
2013-06-05 10:19:16 +02:00
Requires : perl(ExtUtils::Depends) >= 0.300
2023-09-05 21:34:32 +02:00
Requires : perl(ExtUtils::PkgConfig) >= 1.000
2018-09-12 15:56:36 +02:00
%{perl_requires}
2019-08-28 13:37:49 +02:00
# MANUAL BEGIN
BuildRequires : glib2-devel >= 2.0.0
# MANUAL END
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
2018-10-08 14:00:40 +02:00
GObject-based libraries. The SEE ALSO section contains pointers to all
sorts of good information.
2007-01-16 00:30:43 +01:00
%prep
2023-09-05 21:34:32 +02:00
%autosetup -n %{cpan_name} -%{version}
2007-01-16 00:30:43 +01:00
%build
2019-08-28 13:37:49 +02:00
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE=" %{optflags} "
2023-09-05 21:34:32 +02:00
%make_build
2018-10-08 14:00:40 +02:00
%check
2019-08-28 13:37:49 +02:00
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
2020-06-08 17:53:15 +02:00
%doc AUTHORS ChangeLog.pre-git doctypes Glib.exports NEWS perl-glib.doap README TODO xsapi.pod.foot xsapi.pod.head
2018-10-08 14:00:40 +02:00
%license LICENSE
2007-11-22 21:19:38 +01:00
2007-02-26 13:21:57 +01:00
%changelog