Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
earmark
earmark.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File earmark.spec of Package earmark
%def_disable check %def_without doc %define bname earmark Name: %bname Version: 1.4.10 Release: 2 Summary: A Pure Elixir Markdown Processor License: Apache-2.0 and ErlPL-1.1 Group: Development/Tools/Other URL: https://github.com/pragdave/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Requires: elixir >= 1.7 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erlang-parsetools-devel BuildRequires: mix elixir-hex # doc %{?_with_doc:BuildRequires: elixir-ex_doc >= 0.10} # check %{?_enable_check:BuildRequires: elixir-earmark_parser >= 1.4.10} %description Earmark — a Pure Elixir Markdown Processor. %prep %setup -q -n %bname-%version #patch -p1 sed -i '/^ deps:/a\ prune_code_paths: false,' mix.exs sed -i '/^ deps:/s/: /&[], #/' mix.exs %build export LANG=en_US.UTF-8 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 install -p -m 0644 _build/dev/lib/%bname/ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_docdir/%name install -m 0644 *.md %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 %if_enabled check %check LANG=en_US.UTF-8 mix test --no-deps-check %endif %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Sun Oct 08 2023 Led <ledest@gmail.com> 1.4.10-2 - update BuildRequires * Mon Jul 17 2023 Led <ledest@gmail.com> 1.4.10-1 - 1.4.10 - disable check * Sat Sep 07 2019 Led <ledest@gmail.com> 1.3.6-1 - 1.3.6 * Sat Sep 07 2019 Led <ledest@gmail.com> 1.2.6-1 - 1.2.6 * Sun May 05 2019 Led <ledest@gmail.com> 1.1.2-4 - update BuildRequires * Sun May 21 2017 Led <ledest@gmail.com> 1.1.2-3 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.1.2-2 - update BuildRequires * Thu Feb 23 2017 Led <ledest@gmail.com> 1.1.2-1 - 1.1.2 * Sun Nov 06 2016 Led <ledest@gmail.com> 1.0.3-1 - 1.0.3 * Tue Nov 01 2016 Led <ledest@gmail.com> 1.0.2-1 - 1.0.2 - add %%check section * Sun Jul 24 2016 Led <ledest@gmail.com> 1.0.0-1 - 1.0.0 * Mon Feb 01 2016 Led <ledest@gmail.com> 0.2.0-1 - 0.2.0 * Sun Nov 29 2015 Led <ledest@gmail.com> 0.1.19-1 - 0.1.19 * Sat May 16 2015 Led <ledest@gmail.com> 0.1.16-1 - 0.1.16 * Sun Mar 29 2015 Led <ledest@gmail.com> 0.1.15-1 - 0.1.15 * Mon Mar 09 2015 Led <ledest@gmail.com> 0.1.13-2 - spec: cosmetic fixes * Mon Mar 09 2015 Led <ledest@gmail.com> 0.1.13-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