File cpanspec.yml of Package perl-Alien-SDL
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
patches:
reproducible.patch: -p1 # PATCH-FIX-UPSTREAM https://rt.cpan.org/Public/Bug/Display.html?id=119888
preamble: |-
BuildRequires: Mesa-devel
BuildRequires: libSDL_Pango-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL_net-devel
BuildRequires: libSDL_ttf-devel
BuildRequires: gcc-c++
custom_build: |-
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" --travis
./Build build flags=%{?_smp_mflags}
post_install: |-
sed "s:^%{_bindir}:%%attr(755,root,root) %{_bindir}:" %{name}.files -i
#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
#license: SUSE-NonFree
#skip_noarch: 1