2015-01-20 15:46:48 +00:00
#
# spec file for package perl-Glib-Object-Introspection
#
2020-10-22 08:28:58 +00:00
# Copyright (c) 2020 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
#
Name : perl-Glib-Object-Introspection
2020-10-22 08:28:58 +00:00
Version : 0.049
2015-01-20 15:46:48 +00:00
Release : 0
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
2018-10-08 13:16:38 +00:00
%define cpan_name Glib-Object-Introspection
2019-08-28 11:51:37 +00:00
Summary : Dynamically create Perl language bindings
License : LGPL-2.1-only
2018-10-08 13:16:38 +00:00
Group : Development/Libraries/Perl
2020-10-22 08:28:58 +00:00
URL : https://metacpan.org/release/%{cpan_name}
2018-10-08 13:16:38 +00:00
Source0 : https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name} -%{version} .tar.gz
Source1 : cpanspec.yml
BuildRoot : %{_tmppath} /%{name} -%{version} -build
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
%{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
%setup -q -n %{cpan_name} -%{version}
%build
2017-05-10 13:33:27 +00:00
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE=" %{optflags} "
2018-10-08 13:16:38 +00:00
make %{?_smp_mflags}
%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
2018-10-08 13:16:38 +00:00
%defattr (-,root,root,755)
%doc NEWS perl-Glib-Object-Introspection.doap README
%license LICENSE
2015-01-20 15:46:48 +00:00
%changelog