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
%define bname jazz Name: %bname Version: 0.2.1 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: mix BuildRequires: ex_doc >= 0.7 BuildRequires: epmd %description Jazz is a JSON handling library written in Elixir, for Elixir. %prep %setup -q -n %bname-%version #patch -p1 sed -i '/elixir:/s/1\.0\.0.*"/1.0"/' mix.exs sed -i -r '/"(encodes records correctly|errors on recursive encoding)"/,/^[[:blank:]]*end[[:blank:]]*$/d' test/encoder_test.exs sed -i -r '/"decodes (nested as(| with keys)|records correctly)"/,/^[[:blank:]]*end[[:blank:]]*$/d' test/decoder_test.exs %build export LANG=en_US.UTF-8 mix compile --force --no-deps-check 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%_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/ install -d -m 0755 %buildroot%_docdir/%name ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 README* %buildroot%_docdir/%name/ %add_erlang_req_beam_skiplist Elixir.Jazz.Decoder.Atom Elixir.Jazz.Decoder.BitString Elixir.Jazz.Decoder.Float %add_erlang_req_beam_skiplist Elixir.Jazz.Decoder.Function Elixir.Jazz.Decoder.Integer Elixir.Jazz.Decoder.List %add_erlang_req_beam_skiplist Elixir.Jazz.Decoder.Map Elixir.Jazz.Decoder.PID Elixir.Jazz.Decoder.Port %add_erlang_req_beam_skiplist Elixir.Jazz.Decoder.Reference Elixir.Jazz.Decoder.Tuple %add_erlang_req_beam_skiplist Elixir.Jazz.Encoder.Function Elixir.Jazz.Encoder.PID Elixir.Jazz.Encoder.Port %add_erlang_req_beam_skiplist Elixir.Jazz.Encoder.Reference Elixir.Jazz.Encoder.Tuple %check LANG=en_US.UTF-8 mix test --no-color %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * 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