forked from pool/perl-Prima
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Prima?expand=0&rev=66
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
---
|
|
description_paragraphs: 1
|
|
#no_testing: broken upstream
|
|
preamble: |-
|
|
BuildRequires: giflib-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: xkeyboard-config
|
|
BuildRequires: xorg-x11
|
|
BuildRequires: xorg-x11-Xvfb
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
BuildRequires: pkgconfig(xcursor)
|
|
BuildRequires: pkgconfig(xext)
|
|
BuildRequires: pkgconfig(xft)
|
|
BuildRequires: pkgconfig(xpm)
|
|
BuildRequires: pkgconfig(xproto)
|
|
BuildRequires: pkgconfig(xrandr)
|
|
BuildRequires: pkgconfig(xrender)
|
|
%define X_display ":98"
|
|
Requires: xorg-x11
|
|
#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_install: |-
|
|
## oops, Prima/Config.pm must not contain BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -name 'Config.pm' -print0 | xargs -0 perl -i -pe "s{\\Q$RPM_BUILD_ROOT}"'{}g'
|
|
###
|
|
### should these go to a perl-Prima-devel ?
|
|
find $RPM_BUILD_ROOT/%{perl_vendorarch} -name \*.h | xargs -t rm
|
|
# sed on %{name}.files
|
|
license: BSD-2-Clause AND AGPL-3.0-only
|
|
#skip_noarch: 1
|
|
#custom_build: -
|
|
#./Build build flags=%{?_smp_mflags} --myflag
|