Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
esip
esip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File esip.spec of Package esip
%define bname esip Name: %bname Version: 1.0.17 Release: 1 Summary: ProcessOne SIP server component in Erlang License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/processone/%bname Source: %bname-%version.tar.xz #Patch0: %bname-%version-git.patch Patch1: %bname-1.0.10-fix-include.patch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erts-devel BuildRequires: erlang-stun-devel >= 1.0.16 %description eSIP is a ProcessOne SIP server component in Erlang. %package devel Summary: Headers of %bname Group: Development/Tools/Other Provides: erlang-%bname-devel = %version-%release Conflicts: %bname < 1.0.17 %description devel Headers of %bname. %package doc Summary: Documentation of %bname Group: Documentation/HTML Provides: erlang-%bname-doc = %version-%release Conflicts: %bname < 1.0.17 %description doc Documentation of %bname. %prep %setup -q -n %bname-%version #patch0 -p1 %patch1 -p1 rm -rf ebin %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> [io_lib:print(E), ".\n"] end, lists:foldl(fun proplists:delete/2, lists:keystore(erl_opts, 1, L, {erl_opts, lists:filter(fun({i, P}) -> P =:= "include"; ({src_dirs, _}) -> false; (_) -> true end, proplists:get_value(erl_opts, L, []))}), [deps, port_env])), [raw]), init:stop().' ln -sf rebar.config.script %bname.rebar.config.script CFLAGS="%optflags" CC="%__cc" \ 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/include install -p -m 0644 include/* %buildroot%_otplibdir/%bname-%version/include/ install -d -m 0755 %buildroot%_otplibdir/%bname-%version/priv/lib install -p -m 0755 priv/lib/* %buildroot%_otplibdir/%bname-%version/priv/lib/ 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/ %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.0.17-1 - 1.0.17 - move headers and docs to separate subpackages * Sat Sep 30 2017 Led <ledest@gmail.com> 1.0.16-1 - 1.0.16 * Sun Jul 16 2017 Led <ledest@gmail.com> 1.0.14-1 - 1.0.14 * Thu Mar 30 2017 Led <ledest@gmail.com> 1.0.11-1 - 1.0.11 * Mon Jan 02 2017 Led <ledest@gmail.com> 1.0.10-3 - clean up spec * Mon Jan 02 2017 Led <ledest@gmail.com> 1.0.10-2 - fix Summary and description * Sun Jan 01 2017 Led <ledest@gmail.com> 1.0.10-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