Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
cmark.ex
cmark.ex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cmark.ex.spec of Package cmark.ex
%def_enable check %def_without doc %define bname cmark Name: %bname.ex Version: 0.10.0 Release: 3 Summary: Elixir NIF for cmark License: MIT Group: Development/Tools/Other URL: https://github.com/asaaki/%name Source: %name-%version.tar.xz #Patch: %name-%version-git.patch Provides: elixir-%bname = %version-%release Requires: elixir >= 1.8 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erts-devel BuildRequires: elixir >= 1.8 BuildRequires: elixir-mix >= 1.8 BuildRequires: elixir_make >= 0.6.3 BuildRequires: elixir-hex BuildRequires: elixir-jason >= 1.2 # doc BuildRequires: elixir-ex_doc >= 0.22 %description Elixir NIF for cmark (C), a parser library following the CommonMark spec, a compatible implementation of Markdown. %prep %setup -q -n %name-%version #patch -p1 sed -i \ -e '/^ deps:/a\ prune_code_paths: false,' \ -e '/^ deps:/s/: /&[], #/' \ mix.exs %build export LANG=en_US.UTF-8 CC=%__cc OPTFLAGS="%optflags -fPIC -flto" ERL_COMPILER_OPTIONS='[inline,verbose]' mix compile --force --no-deps-check %{?_with_doc:mix docs} %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/{ebin,priv} install -p -m 0644 _build/dev/lib/%bname/ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -p -m 0755 _build/dev/lib/%bname/priv/* %buildroot%_otplibdir/%bname-%version/priv/ install -d -m 0755 %buildroot%_docdir/%name install -m 0644 README* %buildroot%_docdir/%name/ %if_with doc install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc/dist install -p -m 0644 doc/dist/* %buildroot%_otplibdir/%bname-%version/doc/dist/ install -p -m 0644 doc/*.html %buildroot%_otplibdir/%bname-%version/doc/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %endif %add_erlang_req_app_skiplist dialyxir %if_enabled check %check LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix test --no-deps-check %endif %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Sun Oct 08 2023 Led <ledest@gmail.com> 0.10.0-3 - update BuildRequires * Wed Jul 19 2023 Led <ledest@gmail.com> 0.10.0-2 - fix build * Tue Mar 07 2023 Led <ledest@gmail.com> 0.10.0-1 - 0.10.0 * Tue Mar 07 2023 Led <ledest@gmail.com> 0.9.0-1 - 0.9.0 * Tue Mar 07 2023 Led <ledest@gmail.com> 0.8.0-1 - 0.8.0 * Sun May 05 2019 Led <ledest@gmail.com> 0.7.0-5 - add dialyxir to erlang_req_app_skiplist * Sun May 05 2019 Led <ledest@gmail.com> 0.7.0-4 - update BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 0.7.0-3 - revert BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 0.7.0-2 - update BuildRequires * Thu Mar 30 2017 Led <ledest@gmail.com> 0.7.0-1 - 0.7.0 * Mon Nov 21 2016 Led <ledest@gmail.com> 0.6.10-2 - without docs * Sun Aug 21 2016 Led <ledest@gmail.com> 0.6.10-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