From a9f0b55f3a7be155e42a97aa537c04753ef22646d8e9abdfdf654a0b2323db1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 17:54:51 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-Cairo-GObject revision 6c8832e70e25cff3c7c5c4aa84aef83f --- .gitattributes | 23 +++++++++++++ Cairo-GObject-1.005.tar.gz | 3 ++ cpanspec.yml | 28 ++++++++++++++++ perl-Cairo-GObject.changes | 21 ++++++++++++ perl-Cairo-GObject.spec | 68 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 143 insertions(+) create mode 100644 .gitattributes create mode 100644 Cairo-GObject-1.005.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-Cairo-GObject.changes create mode 100644 perl-Cairo-GObject.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/Cairo-GObject-1.005.tar.gz b/Cairo-GObject-1.005.tar.gz new file mode 100644 index 0000000..85cf947 --- /dev/null +++ b/Cairo-GObject-1.005.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d896444d71e1d0bca3d24e31e5d82bd0d9542aaed91d1fb7eab367bce675c50 +size 16790 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..260c9a9 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Cairo-GObject.changes b/perl-Cairo-GObject.changes new file mode 100644 index 0000000..873defa --- /dev/null +++ b/perl-Cairo-GObject.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Thu Aug 29 17:11:56 CEST 2019 - Tina Mueller + +- Add license to cpanspec.yaml and spec + +------------------------------------------------------------------- +Wed Aug 28 22:32:25 CEST 2019 - Tina Mueller + +- Add BuildRequires: pkgconfig(cairo-gobject) + +------------------------------------------------------------------- +Wed Aug 28 05:03:10 UTC 2019 - Stephan Kulow + +- 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. diff --git a/perl-Cairo-GObject.spec b/perl-Cairo-GObject.spec new file mode 100644 index 0000000..bae09d1 --- /dev/null +++ b/perl-Cairo-GObject.spec @@ -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