[packages/ruby-gherkin] Up to 9.0.0
arekm
arekm at pld-linux.org
Sat Mar 28 01:16:55 CET 2026
commit de4353bb4d22426c7d7b298bd24610bafd55a07e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Mar 28 01:16:41 2026 +0100
Up to 9.0.0
ruby-gherkin.spec | 89 ++++++++++---------------------------------------------
1 file changed, 16 insertions(+), 73 deletions(-)
---
diff --git a/ruby-gherkin.spec b/ruby-gherkin.spec
index 7c2ed74..6bab3c6 100644
--- a/ruby-gherkin.spec
+++ b/ruby-gherkin.spec
@@ -1,98 +1,41 @@
%define pkgname gherkin
-Summary: Fast Gherkin lexer/parser
+Summary: Gherkin parser
Name: ruby-%{pkgname}
-Version: 2.11.6
-Release: 7
+Version: 9.0.0
+Release: 1
License: MIT
Group: Development/Languages
-Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5: 91a79a6a4fe03f51f039f7006581c468
-URL: http://github.com/cucumber/gherkin
+Source0: https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 3205176c8a28b5efbc7726f3a6202d3f
+URL: https://github.com/cucumber/gherkin-ruby
BuildRequires: rpm-rubyprov
-BuildRequires: rpmbuild(macros) >= 1.656
-BuildRequires: ruby-devel
-# .gemspec requires 1.7.5, but we have only 1.5.5 with ruby 1.9
-Requires: ruby-json
+BuildRequires: rpmbuild(macros) >= 1.665
+Requires: ruby-cucumber-messages >= 8.0.0
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
+Gherkin parser. Gherkin is the language that Cucumber uses to define
+test cases. This Ruby gem implements the Gherkin language parser.
%prep
%setup -q -n %{pkgname}-%{version}
%build
-for lexer_dir in ext/%{pkgname}_lexer_*; do
- cd $lexer_dir
- ruby extconf.rb
- %{__make} V=1 \
- CC="%{__cc}" \
- LDFLAGS="%{rpmldflags}" \
- CFLAGS="%{rpmcflags} -fPIC"
- cd -
-done
+%__gem_helper spec
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_vendorarchdir}}
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
-
-find ext -name '*.so' -exec install -p {} $RPM_BUILD_ROOT%{ruby_vendorarchdir} ';'
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc LICENSE README.md
%{ruby_vendorlibdir}/%{pkgname}.rb
%{ruby_vendorlibdir}/%{pkgname}
-%lang(ar) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_ar.so
-%lang(bg) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_bg.so
-%lang(bm) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_bm.so
-%lang(ca) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_ca.so
-%lang(cs) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_cs.so
-%lang(cy_GB) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_cy_gb.so
-%lang(da) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_da.so
-%lang(de) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_de.so
-%lang(en) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_en.so
-%lang(en) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_en_lol.so
-%lang(en) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_en_pirate.so
-%lang(en) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_en_scouse.so
-%lang(en) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_en_tx.so
-%lang(en_AU) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_en_au.so
-%lang(eo) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_eo.so
-%lang(es) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_es.so
-%lang(et) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_et.so
-%lang(fa) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_fa.so
-%lang(fi) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_fi.so
-%lang(fr) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_fr.so
-%lang(he) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_he.so
-%lang(hi) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_hi.so
-%lang(hr) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_hr.so
-%lang(hu) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_hu.so
-%lang(id) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_id.so
-%lang(is) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_is.so
-%lang(it) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_it.so
-%lang(ja) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_ja.so
-%lang(ko) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_ko.so
-%lang(lt) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_lt.so
-%lang(lu) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_lu.so
-%lang(lv) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_lv.so
-%lang(nl) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_nl.so
-%lang(no) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_no.so
-%lang(pl) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_pl.so
-%lang(pt) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_pt.so
-%lang(ro) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_ro.so
-%lang(ru) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_ru.so
-%lang(sk) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_sk.so
-%lang(sr at cyrillic) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_sr_cyrl.so
-%lang(sr at latin) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_sr_latn.so
-%lang(sv) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_sv.so
-%lang(tl) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_tl.so
-%lang(tr) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_tr.so
-%lang(tt) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_tt.so
-%lang(uk) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_uk.so
-%lang(uz) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_uz.so
-%lang(vi) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_vi.so
-%lang(zh_CN) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_zh_cn.so
-%lang(zh_TW) %attr(755,root,root) %{ruby_vendorarchdir}/gherkin_lexer_zh_tw.so
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-gherkin.git/commitdiff/de4353bb4d22426c7d7b298bd24610bafd55a07e
More information about the pld-cvs-commit
mailing list