Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
neotoma
neotoma.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File neotoma.spec of Package neotoma
%define bname neotoma Name: %bname Version: 1.7.4 Release: 1 Summary: A packrat parser-generator for Erlang License: MIT Group: Development/Tools/Other URL: https://github.com/seancribbs/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erlang >= R13 BuildRequires: rebar >= 2.6.1-7 %description Neotoma is a packrat parser-generator for Erlang for Parsing Expression Grammars (PEGs). It consists of a parsing-combinator library with memoization routines, a parser for PEGs, and a utility to generate parsers from PEGs. %prep %setup -q -n %bname-%version #patch -p1 erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("src/%bname.app.src"), file:write_file("src/%bname.app.src", io_lib:format("{application, %bname, ~81p}.~n", [lists:keydelete(contributors, 1, L)])), init:stop().' %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [lists:map(fun(E) -> [io_lib:print(E), ".\n"] end, lists:foldl(fun(I, A) -> lists:keydelete(I, 1, A) end, L, [deps, plugins]))], [raw]), init:stop().' ERL_COMPILER_OPTIONS="[inline,verbose]" rebar %{?_smp_mflags} -C %bname.rebar.config compile -v rebar %{?_smp_mflags} -C %bname.rebar.config doc -v %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/extra install -p -m 0644 extra/* %buildroot%_otplibdir/%bname-%version/extra/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/priv install -p -m 0644 priv/* %buildroot%_otplibdir/%bname-%version/priv/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.{css,html,png} %buildroot%_otplibdir/%bname-%version/doc/ install -d -m 0755 %buildroot%_docdir/%name ln -sf %_otplibdir/%name-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 README* %buildroot%_docdir/%name/ %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Thu Jul 28 2022 Led <ledest@gmail.com> 1.7.4-1 - 1.7.4 - enable %%check * Sun May 21 2017 Led <ledest@gmail.com> 1.7.3-3 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.7.3-2 - update BuildRequires * Fri Aug 21 2015 Led <ledest@gmail.com> 1.7.3-1 - 1.7.3 - remove patches: + neotoma-1.7.2-git.patch * Sat Jul 25 2015 Led <ledest@gmail.com> 1.7.2-1 - initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor