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
|
|
|
#
|
2019-08-28 13:37:49 +02:00
|
|
|
# Copyright (c) 2019 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.
|
|
|
|
|
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
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Glib
|
2019-08-28 13:37:49 +02:00
|
|
|
Version: 1.3291
|
2012-01-02 14:14:37 +01:00
|
|
|
Release: 0
|
2018-10-08 14:00:40 +02:00
|
|
|
%define cpan_name Glib
|
2013-06-05 10:19:16 +02:00
|
|
|
Summary: Perl wrappers for the GLib utility and Object libraries
|
2018-09-12 15:56:36 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2018-10-08 14:00:40 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2019-08-28 13:37:49 +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
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2018-10-08 14:00:40 +02:00
|
|
|
BuildRequires: perl(ExtUtils::PkgConfig) >= 1.000000
|
2013-06-05 10:19:16 +02:00
|
|
|
Requires: perl(ExtUtils::Depends) >= 0.300
|
2018-10-08 14:00:40 +02:00
|
|
|
Requires: perl(ExtUtils::PkgConfig) >= 1.000000
|
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
|
2013-06-05 10:19:16 +02:00
|
|
|
%setup -q -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}"
|
|
|
|
make %{?_smp_mflags}
|
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
|
2018-10-08 14:00:40 +02:00
|
|
|
%defattr(-,root,root,755)
|
2018-09-12 15:56:36 +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
|