--- #description_paragraphs: 3 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: preamble: |- BuildRequires: perl(Devel::CheckLib) BuildRequires: perl(Mojo::DOM58) BuildRequires: perl(Sort::Versions) BuildRequires: perl(URI::Escape) # SuSE doesn't find gmp via pkgconfig, so use named package %if 0%{?suse_version} > 1540 BuildRequires: pkgconfig(gmp) %else BuildRequires: gmp-devel %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_install: |- # sed on %{name}.files #license: SUSE-NonFree skip_noarch: 1 #custom_build: - #./Build build flags=%{?_smp_mflags} --myflag