Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:21
erlang-jose
erlang-jose.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-jose.spec of Package erlang-jose
%define bname jose Name: erlang-%bname Version: 1.8.4 Release: 2 Summary: JSON Object Signing and Encryption (JOSE) for Erlang and Elixir License: MPL-2.0 Group: Development/Tools/Other URL: https://github.com/potatosalad/%name Source: %name-%version.tar.xz BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: elixir-mix BuildRequires: erlang-public_key-devel # check BuildRequires: erlang-common_test-devel BuildRequires: erlang-triq %description JSON Object Signing and Encryption (JOSE) for Erlang and Elixir. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release %description devel Headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML %description doc Documentation of %bname. %prep %setup -q -n %name-%version #sed -i '/^-include_lib("jose/s|_lib("jose/|("../|' test/jose_SUITE.erl test/property_test/*.erl erl -noshell -eval ' {ok, [{application, %bname, L}]} = file:consult("src/%bname.app.src"), file:write_file("src/%bname.app.src", io_lib:format("{application, %bname, ~96p}.~n", [lists:delete({id, "git"}, L)]), [raw]), init:stop().' %build LANG=en_US.UTF-8 MIX_NO_DEPS=1 mix compile --force --no-deps-check rebar %{?_smp_mflags} -C %bname.rebar.config doc -v %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/include install -p -m 0644 include/* %buildroot%_otplibdir/%bname-%version/include/ 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/examples ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html install -p -m 0644 *.md %buildroot%_docdir/%name/ install -p -m 0644 examples/* %buildroot%_docdir/%name/examples/ %if 0 %check LANG=en_US.UTF-8 MIX_NO_DEPS=1 mix test %endif %files %defattr(-,root,root) %_otplibdir/* %exclude %_otplibdir/%bname-*/include %exclude %_otplibdir/%bname-*/doc %files devel %defattr(-,root,root) %dir %_otplibdir/%bname-* %_otplibdir/%bname-*/include %files doc %defattr(-,root,root) %doc %_docdir/%name %doc %dir %_otplibdir/%bname-* %doc %_otplibdir/%bname-*/doc %changelog * Sun Nov 26 2017 Led <ledest@gmail.com> 1.8.4-2 - build with mix * Sun Nov 26 2017 Led <ledest@gmail.com> 1.8.4-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