2015-01-20 15:46:48 +00:00
#
# spec file for package perl-Glib-Object-Introspection
#
2024-03-08 22:27:57 +00:00
# Copyright (c) 2024 SUSE LLC
2015-01-20 15:46:48 +00: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 13:16:38 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2015-01-20 15:46:48 +00:00
#
2023-04-05 07:18:31 +00:00
%define cpan_name Glib-Object-Introspection
2015-01-20 15:46:48 +00:00
Name : perl-Glib-Object-Introspection
2023-09-12 15:19:22 +00:00
Version : 0.51.0
2015-01-20 15:46:48 +00:00
Release : 0
2023-09-12 15:19:22 +00:00
%define cpan_version 0.051
2019-08-28 11:51:37 +00: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
License : LGPL-2.1-only
2023-04-05 07:18:31 +00:00
Summary : Dynamically create Perl language bindings
2020-10-22 08:28:58 +00:00
URL : https://metacpan.org/release/%{cpan_name}
2023-09-12 15:19:22 +00:00
Source0 : https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name} -%{cpan_version} .tar.gz
2018-10-08 13:16:38 +00:00
Source1 : cpanspec.yml
2025-08-12 18:14:23 +02:00
Source100 : README.md
2015-01-20 15:46:48 +00:00
BuildRequires : perl
2015-01-28 11:10:01 +00:00
BuildRequires : perl-macros
2018-10-08 13:16:38 +00:00
BuildRequires : perl(ExtUtils::Depends) >= 0.3
BuildRequires : perl(ExtUtils::PkgConfig) >= 1
BuildRequires : perl(Glib) >= 1.32
Requires : perl(ExtUtils::Depends) >= 0.3
Requires : perl(ExtUtils::PkgConfig) >= 1
Requires : perl(Glib) >= 1.32
2023-09-12 15:19:22 +00:00
Provides : perl(Glib::Object::Introspection) = 0.51.0
Provides : perl(Glib::Object::Introspection::_FuncWrapper)
2024-03-08 22:27:57 +00:00
%undefine __perllib_provides
2018-10-08 13:16:38 +00:00
%{perl_requires}
2019-08-28 11:51:37 +00:00
# MANUAL BEGIN
BuildRequires : pkgconfig
BuildRequires : pkgconfig(gobject-introspection-1.0)
# MANUAL END
2015-01-20 15:46:48 +00:00
%description
2019-08-28 11:51:37 +00:00
Dynamically create Perl language bindings
2015-01-20 15:46:48 +00:00
%prep
2023-09-12 15:19:22 +00:00
%autosetup -n %{cpan_name} -%{cpan_version}
2015-01-20 15:46:48 +00:00
%build
2017-05-10 13:33:27 +00:00
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE=" %{optflags} "
2023-04-05 07:18:31 +00:00
%make_build
2018-10-08 13:16:38 +00:00
%check
make test
2015-01-20 15:46:48 +00:00
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
2023-04-05 07:18:31 +00:00
%doc NEWS perl-glib-object-introspection.doap README.md
2018-10-08 13:16:38 +00:00
%license LICENSE
2015-01-20 15:46:48 +00:00
%changelog