forked from pool/perl-Inline-Lua
37 lines
1005 B
YAML
37 lines
1005 B
YAML
|
---
|
||
|
#description_paragraphs: 3
|
||
|
#description: |-
|
||
|
# override description from CPAN
|
||
|
#summary: override summary from CPAN
|
||
|
#no_testing: broken upstream
|
||
|
#sources:
|
||
|
# - source1
|
||
|
# - source2
|
||
|
patches:
|
||
|
fix_Makefile_args.patch: -p1
|
||
|
# bar.patch:
|
||
|
# baz.patch: PATCH-FIX-OPENSUSE
|
||
|
preamble: |-
|
||
|
BuildRequires: lua54-devel
|
||
|
#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: |-
|
||
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" INC=-I/usr/include/lua5.4 LIBS=-llua5.4
|
||
|
%make_build
|
||
|
#custom_test: |-
|
||
|
#startserver && make test
|
||
|
#ignore_requires: Bizarre::Module
|
||
|
#skip_doc: regexp_to_skip_for_doc.*
|
||
|
#add_doc: files to add to docs
|
||
|
#misc: |-
|
||
|
#anything else to be added to spec file
|
||
|
#follows directly after %files section, so it can contain new blocks or also
|
||
|
#changes to %files section
|