forked from pool/perl-Gtk3
Fix requires on typelib(GdkPixdata) for SLE 15+, Leap 15.2 and greater, update cpanspec.yml. OBS-URL: https://build.opensuse.org/request/show/829022 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Gtk3?expand=0&rev=8
33 lines
844 B
YAML
33 lines
844 B
YAML
---
|
|
#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
|