Sync from SUSE:SLFO:Main perl-Gtk3 revision 67663f1862e1c2a7d47a9842382703fb
This commit is contained in:
commit
8c66dc5e53
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Gtk3-0.038.tar.gz
(Stored with Git LFS)
Normal file
BIN
Gtk3-0.038.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
32
cpanspec.yml
Normal file
32
cpanspec.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
preamble: |-
|
||||||
|
BuildRequires: typelib(Gtk) = 3.0
|
||||||
|
%if 0%{?sle_version} >= 150200 && 0%{?is_opensuse} || 0%{?sle_version} >= 150200 || 0%{?suse_version} > 1500
|
||||||
|
BuildRequires: typelib(GdkPixdata) = 2.0
|
||||||
|
%endif
|
||||||
|
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
48
perl-Gtk3.changes
Normal file
48
perl-Gtk3.changes
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 21 03:08:27 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.038
|
||||||
|
see /usr/share/doc/packages/perl-Gtk3/
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 24 16:52:08 UTC 2020 - malcolmlewis@opensuse.org
|
||||||
|
|
||||||
|
- Fix requires on typelib(GdkPixdata) for SLE 15+, Leap 15.2 and
|
||||||
|
greater.
|
||||||
|
- Update cpanspec.yml for requires as well.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 18 03:10:02 UTC 2020 - <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.037
|
||||||
|
see /usr/share/doc/packages/perl-Gtk3/
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 25 18:40:36 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Require typelib(GdkPixdata) only in suse 01550 and higher
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 21 15:59:32 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Added manual dependencies:
|
||||||
|
* BuildRequires: typelib(GdkPixdata) = 2.0
|
||||||
|
* BuildRequires: typelib(Gtk) = 3.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 28 05:14:10 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- updated to 0.036
|
||||||
|
see /usr/share/doc/packages/perl-Gtk3/
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 14:29:11 UTC 2019 - malcolmlewis@opensuse.org
|
||||||
|
|
||||||
|
- Updated to version 0.35:
|
||||||
|
* Load GdkPixdata introspection data if gdk-pixbuf >= 2.38.0,
|
||||||
|
(RT#127071).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 7 23:07:24 UTC 2019 - malcolmlewis@opensuse.org
|
||||||
|
|
||||||
|
- Add missing Gtk 3.0 typelib to build requires for failing test.
|
79
perl-Gtk3.spec
Normal file
79
perl-Gtk3.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Gtk3
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name Gtk3
|
||||||
|
Name: perl-Gtk3
|
||||||
|
Version: 0.038
|
||||||
|
Release: 0
|
||||||
|
Summary: Perl interface to the 3.x series of the gtk+ toolkit
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Cairo::GObject) >= 1.000
|
||||||
|
BuildRequires: perl(Glib::Object::Introspection) >= 0.043
|
||||||
|
BuildRequires: perl(Test::Simple) >= 0.96
|
||||||
|
Requires: perl(Cairo::GObject) >= 1.000
|
||||||
|
Requires: perl(Glib::Object::Introspection) >= 0.043
|
||||||
|
Requires: perl(Test::Simple) >= 0.96
|
||||||
|
%{perl_requires}
|
||||||
|
# MANUAL BEGIN
|
||||||
|
BuildRequires: typelib(Gtk) = 3.0
|
||||||
|
%if 0%{?sle_version} >= 150200 && 0%{?is_opensuse} || 0%{?sle_version} >= 150200 || 0%{?suse_version} > 1500
|
||||||
|
BuildRequires: typelib(GdkPixdata) = 2.0
|
||||||
|
%endif
|
||||||
|
# MANUAL END
|
||||||
|
|
||||||
|
%description
|
||||||
|
The 'Gtk3' module allows a Perl developer to use the gtk+ graphical user
|
||||||
|
interface library. Find out more about gtk+ at http://www.gtk.org.
|
||||||
|
|
||||||
|
The gtk+ reference manual is also a handy companion when writing 'Gtk3'
|
||||||
|
programs in Perl: http://developer.gnome.org/gtk3/stable/. The Perl
|
||||||
|
bindings follow the C API very closely, and the C reference documentation
|
||||||
|
should be considered the canonical source. The principles underlying the
|
||||||
|
mapping from C to Perl are explained in the documentation of
|
||||||
|
Glib::Object::Introspection, on which 'Gtk3' is based.
|
||||||
|
|
||||||
|
Glib::Object::Introspection also comes with the 'perli11ndoc' program which
|
||||||
|
displays the API reference documentation of all installed libraries
|
||||||
|
organized in accordance with these principles.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%doc NEWS perl-gtk3.doap README
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user