Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
jazz
jazz.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jazz.spec of Package jazz
%def_enable check %def_without doc %define bname jazz Name: %bname Version: 0.2.2 Release: 4 Summary: Yet another library to handle JSON in Elixir License: WTFPL Group: Development/Tools/Other URL: https://github.com/meh/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: elixir-%bname = %version-%release Requires: elixir >= 1.0 BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: elixir-mix Requires: elixir >= 1.0 # doc %{?_with_doc:BuildRequires: elixir-ex_doc >= 0.10} # check BuildRequires: epmd %description Jazz is a JSON handling library written in Elixir, for Elixir. %prep %setup -q -n %bname-%version #patch -p1 sed -i -r '/package:/s/,/(),/' mix.exs %build export LANG=en_US.UTF-8 ERL_COMPILER_OPTIONS='[inline,verbose]' mix compile --force --no-deps-check %{?_with_docs: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 -p -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_beam_skiplist %(echo Elixir.Jazz.Decoder.{Atom,BitString,Float,Function,Integer,List,Map,PID,Port,Reference,Tuple}) %add_erlang_req_beam_skiplist %(echo Elixir.Jazz.Encoder.{Function,PID,Port,Reference,Tuple}) %if_enabled check %check export ERL_FLAGS='+pc unicode' 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.2.2-4 - update BuildRequires * Tue Jul 18 2023 Led <ledest@gmail.com> 0.2.2-3 - twick build * Tue Jul 18 2023 Led <ledest@gmail.com> 0.2.2-2 - fix build * Sun May 05 2019 Led <ledest@gmail.com> 0.2.2-1 - 0.2.2 - remove patches: + jazz-0.2.1-fixes.patch - without docs * Sat Aug 12 2017 Led <ledest@gmail.com> 0.2.1-6 - clean up * Sat Aug 12 2017 Led <ledest@gmail.com> 0.2.1-5 - add patches: + jazz-0.2.1-fixes.patch * Sat Jun 18 2016 Led <ledest@gmail.com> 0.2.1-4 - clean up docs * Sat Jun 18 2016 Led <ledest@gmail.com> 0.2.1-3 - clean up tests * Sun Oct 11 2015 Led <ledest@gmail.com> 0.2.1-2 - clean up deps * Sun Oct 11 2015 Led <ledest@gmail.com> 0.2.1-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