Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
jsx
jsx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jsx.spec of Package jsx
%define bname jsx Name: %bname Version: 3.1.0 Release: 4 Summary: An erlang application for consuming, producing and manipulating JSON License: MIT Group: Development/Tools/Other URL: https://github.com/talentdeficit/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: %bname-3.1.0-test-float.patch Patch11: jsx_parser-more-strict-calendar-datetime-and-erlang-.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: erlang >= R15 BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-eunit %description An erlang application for consuming, producing and manipulating JSON inspired by yajl. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 2.8.2-4 %description doc An erlang application for consuming, producing and manipulating JSON inspired by yajl. This package contains documentation of %bname. %prep %setup -q -n %bname-%version %patch0 -p1 %patch1 -p1 %patch11 -p1 %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [[io_lib:print(E), ".\n"] || E <- lists:keydelete(deps, 1, L)], [raw]), init:stop().' ln -sf rebar.config.script %bname.rebar.config.script 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/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 *.md %buildroot%_docdir/%name/ %check ERL_COMPILER_OPTIONS="[inline,verbose]" rebar -C %bname.rebar.config eunit -v %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/doc %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Fri Mar 01 2024 Led <ledest@gmail.com> 3.1.0-4 - add patches: + jsx-3.1.0-test-float.patch * Sat Jun 18 2022 Led <ledest@gmail.com> 3.1.0-3 - git 1d3407a * Fri Aug 13 2021 Led <ledest@gmail.com> 3.1.0-2 - git 590214d - remove patches: + jsx-2.11.0-jsx_to_json-test.patch * Sun Apr 18 2021 Led <ledest@gmail.com> 3.1.0-1 - 3.1.0 * Mon Mar 22 2021 Led <ledest@gmail.com> 3.0.0-1 - 3.0.0 * Tue Mar 16 2021 Led <ledest@gmail.com> 2.11.0-2 - add patches: + jsx-2.11.0-jsx_to_json-test.patch * Tue Jun 16 2020 Led <ledest@gmail.com> 2.11.0-1 - 2.11.0 * Mon Dec 02 2019 Led <ledest@gmail.com> 2.10.0-1 - 2.10.0 - git 6712649 * Sat Nov 09 2019 Led <ledest@gmail.com> 2.9.0-1 - 2.9.0 - git 528d5b8 * Wed Nov 15 2017 Led <ledest@gmail.com> 2.8.2-6 - fix build docs for Erlang/OTP < 17 * Sat Oct 14 2017 Led <ledest@gmail.com> 2.8.2-5 - git 45ffea2 - remove patches: + jsx_to_term-fix-parsing-return_maps-option.patch + More-strict-calendar-datetime-and-erlang-timestamp-r.patch - add patches: + jsx_parser-more-strict-calendar-datetime-and-erlang-.patch * Sat Oct 14 2017 Led <ledest@gmail.com> 2.8.2-4 - remove patches: + jsx_parser-fix-guard-in-value-4-for-calendar-datetim.patch - update patches: + More-strict-calendar-datetime-and-erlang-timestamp-r.patch - add patches: + jsx_to_term-fix-parsing-return_maps-option.patch - add doc subpackage * Mon Feb 27 2017 Led <ledest@gmail.com> 2.8.2-3 - add patches: + jsx_parser-fix-guard-in-value-4-for-calendar-datetim.patch * Sat Feb 25 2017 Led <ledest@gmail.com> 2.8.2-2 - add patches: + More-strict-calendar-datetime-and-erlang-timestamp-r.patch * Tue Feb 07 2017 Led <ledest@gmail.com> 2.8.2-1 - 2.8.2 * Sun Dec 18 2016 Led <ledest@gmail.com> 2.8.1-1 - 2.8.1 - remove patches: + global-accept-erlang-timestamp.patch * Fri Mar 18 2016 Led <ledest@gmail.com> 2.8.0-3 - add patches: + global-accept-erlang-timestamp.patch * Fri Mar 18 2016 Led <ledest@gmail.com> 2.8.0-2 - clean up BuildRequires * Sun Oct 11 2015 Led <ledest@gmail.com> 2.8.0-1 - 2.8.0 * Fri Sep 18 2015 Led <ledest@gmail.com> 2.7.2-1 - 2.7.2 * Thu Aug 20 2015 Led <ledest@gmail.com> 2.7.1-1 - 2.7.1 * Wed Aug 05 2015 Led <ledest@gmail.com> 2.7.0-1 - 2.7.0 - remove patches: + jsx-2.6.0-fix-build-docs.patch * Wed Jul 21 2015 Led <ledest@gmail.com> 2.6.2-2 - erl_opts: add no_debug_info - edoc_opts: add {preprocess, true} * Tue Jun 16 2015 Led <ledest@gmail.com> 2.6.2-1 - 2.6.2 * Tue Jun 16 2015 Led <ledest@gmail.com> 2.6.1-2 - fix URL * Sat May 16 2015 Led <ledest@gmail.com> 2.6.1-1 - 2.6.1 * Thu May 07 2015 Led <ledest@gmail.com> 2.6.0-1 - 2.6.0 - add docs - add patches: + jsx-2.6.0-fix-build-docs.patch * Sun Apr 12 2015 Led <ledest@gmail.com> 2.5.1-3 - clean ups * Sun Apr 05 2015 Led <ledest@gmail.com> 2.5.1-2 - fix BuildRequires * Sat Apr 04 2015 Led <ledest@gmail.com> 2.5.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