Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
jsone
jsone.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jsone.spec of Package jsone
%define bname jsone Name: %bname Version: 1.8.1 Release: 1 Summary: Erlang JSON library License: MIT Group: Development/Tools/Other URL: https://github.com/sile/%bname Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch Patch1: add-jsx-as-float_format-option.patch Patch2: %bname-1.8.0-stacktrace.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-otpbp-devel >= 0.37.0 # check BuildRequires: erlang-otpbp >= 0.26.7 %description An Erlang library for encoding, decoding JSON (http://json.org/index.html) data. Features: - Provides simple encode/decode function only - RFC4627 (http://www.ietf.org/rfc/rfc4627.txt)-compliant - Supports UTF-8 encoded binary - Pure Erlang - Highly Efficient %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1.4.5-3 %description doc An Erlang library for encoding, decoding JSON (http://json.org/index.html) data. This package contains socumentation of %bname. %prep %setup -q -n %bname-%version #patch0 -p1 %patch1 -p1 %patch2 -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().' %if %_otp_release >= 21 ERL_COMPILER_OPTIONS="[inline,verbose]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" \ %endif 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/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 README* doc/%bname.md %buildroot%_docdir/%name/ install -p -m 0644 benchmark/README.md %buildroot%_docdir/%name/benchmark.md %check %if %_otp_release >= 21 ERL_COMPILER_OPTIONS="[inline,verbose]" \ %else ERL_COMPILER_OPTIONS="[inline,verbose,{parse_transform,otpbp_pt}]" \ %endif 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 * Mon Sep 25 2023 Led <ledest@gmail.com> 1.8.1-1 - 1.8.1 * Fri Mar 10 2023 Led <ledest@gmail.com> 1.8.0-1 - 1.8.0 - update patches: + add-jsx-as-float_format-option.patch + jsone-1.8.0-stacktrace.patch * Sat Aug 06 2022 Led <ledest@gmail.com> 1.7.0-2 - update patches: + jsone-1.7.0-stacktrace.patch - update BuildRequires * Mon Feb 14 2022 Led <ledest@gmail.com> 1.7.0-1 - 1.7.0 - add jsone.md and benchmarck.md to docs * Fri Aug 13 2021 Led <ledest@gmail.com> 1.6.1-1 - 1.6.1 * Sun Apr 18 2021 Led <ledest@gmail.com> 1.5.7-1 - 1.5.7 * Mon Dec 02 2019 Led <ledest@gmail.com> 1.5.2-1 - 1.5.2 * Wed Oct 02 2019 Led <ledest@gmail.com> 1.5.1-1 - 1.5.1 * Sat Sep 07 2019 Led <ledest@gmail.com> 1.5.0-1 - 1.5.0 - update patches: + add-jsx-as-float_format-option.patch * Sun Feb 24 2019 Led <ledest@gmail.com> 1.4.7-2 - git 5f36206 - update patches: + jsone-1.4.7-stacktrace.patch * Sun Aug 05 2018 Led <ledest@gmail.com> 1.4.7-1 - 1.4.7 - add patches: + jsone-1.4.7-stacktrace.patch * Fri Mar 09 2018 Led <ledest@gmail.com> 1.4.5-4 - add patches: + add-jsx-as-float_format-option.patch * Fri Feb 09 2018 Led <ledest@gmail.com> 1.4.5-3 - move docs to separate subpackage * Mon Aug 21 2017 Led <ledest@gmail.com> 1.4.5-2 - update spec * Mon Aug 14 2017 Led <ledest@gmail.com> 1.4.5-1 - 1.4.5 - git 0e42866 - enable %%check * Sun Jul 02 2017 Led <ledest@gmail.com> 1.4.4-1 - 1.4.4 * Sun Feb 26 2017 Led <ledest@gmail.com> 1.4.3-1 - 1.4.3 * Sun Feb 19 2017 Led <ledest@gmail.com> 1.4.2-1 - 1.4.2 * Sun Jan 22 2017 Led <ledest@gmail.com> 1.4.1-1 - 1.4.1 * Fri Sep 30 2016 Led <ledest@gmail.com> 1.4.0-1 - 1.4.0 * Wed Sep 28 2016 Led <ledest@gmail.com> 1.3.2-2 - git 2ac362d * Sat Sep 24 2016 Led <ledest@gmail.com> 1.3.2-1 - 1.3.2 * Wed Sep 14 2016 Led <ledest@gmail.com> 1.3.1-1 - 1.3.1 * Sat Sep 03 2016 Led <ledest@gmail.com> 1.3.0-1 - 1.3.0 * Sun Aug 21 2016 Led <ledest@gmail.com> 1.2.6-1 - 1.2.6 * Thu Jun 02 2016 Led <ledest@gmail.com> 1.2.3-2 - spec: cosmetic fix * Wed May 25 2016 Led <ledest@gmail.com> 1.2.3-1 - 1.2.3 * Fri Sep 18 2015 Led <ledest@gmail.com> 1.2.1-1 - 1.2.1 * Thu Sep 10 2015 Led <ledest@gmail.com> 1.2.0-2 - disable %%check * Fri Sep 04 2015 Led <ledest@gmail.com> 1.2.0-1 - 1.2.0 * Thu Jun 18 2015 Led <ledest@gmail.com> 0.3.3-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