perl-Alien-wxWidgets/cpanspec.yml

31 lines
828 B
YAML

---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
patches:
perl-Alien-wxWidgets-do_not_build_wxgtk.patch:
perl-Alien-wxWidgets-ignore_cbuilder_version.patch:
perl-Alien-wxWidgets-dump_sorted_config.patch:
preamble: |-
BuildRequires: gcc-c++
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
BuildRequires: wxWidgets-3_0-nostl-devel
%else
BuildRequires: wxWidgets-ansi-devel
%endif
post_prep: |-
# this copy of GNU patch is only used on win32, remove it for license clarity
# see https://build.opensuse.org/request/show/237465
rm -vf inc/src/patch*
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
skip_noarch: 1
custom_build: |-
yes no | %__perl ./Build.PL installdirs=vendor
yes no | ./Build
./Build build flags=%{?_smp_mflags}