Sync from SUSE:SLFO:Main perl-Cairo-GObject revision 6c8832e70e25cff3c7c5c4aa84aef83f

This commit is contained in:
Adrian Schröter 2024-05-03 17:54:51 +02:00
commit a9f0b55f3a
5 changed files with 143 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
Cairo-GObject-1.005.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#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: pkgconfig(cairo-gobject)
#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: LGPL-2.1+
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -0,0 +1,21 @@
-------------------------------------------------------------------
Thu Aug 29 17:11:56 CEST 2019 - Tina Mueller <tina.mueller@suse.com>
- Add license to cpanspec.yaml and spec
-------------------------------------------------------------------
Wed Aug 28 22:32:25 CEST 2019 - Tina Mueller <tina.mueller@suse.com>
- Add BuildRequires: pkgconfig(cairo-gobject)
-------------------------------------------------------------------
Wed Aug 28 05:03:10 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 1.005
see /usr/share/doc/packages/perl-Cairo-GObject/
-------------------------------------------------------------------
Mon Jan 7 16:49:06 UTC 2019 - malcolmlewis@opensuse.org
- Fix failing build, add build requires on cairo-gobject.
- Update LICENSE location.

68
perl-Cairo-GObject.spec Normal file
View File

@ -0,0 +1,68 @@
#
# spec file for package perl-Cairo-GObject
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
Name: perl-Cairo-GObject
Version: 1.005
Release: 0
%define cpan_name Cairo-GObject
Summary: Integrate Cairo into the Glib type system
License: LGPL-2.1-or-later
Group: Development/Libraries/Perl
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Cairo) >= 1.080
BuildRequires: perl(ExtUtils::Depends) >= 0.2
BuildRequires: perl(ExtUtils::PkgConfig) >= 1.000000
BuildRequires: perl(Glib) >= 1.224
Requires: perl(Cairo) >= 1.080
Requires: perl(ExtUtils::Depends) >= 0.2
Requires: perl(ExtUtils::PkgConfig) >= 1.000000
Requires: perl(Glib) >= 1.224
%{perl_requires}
# MANUAL BEGIN
BuildRequires: pkgconfig(cairo-gobject)
# MANUAL END
%description
Integrate Cairo into the Glib type system
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc examples NEWS perl-Cairo-GObject.doap README
%license LICENSE
%changelog