Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
msgpack-erlang
msgpack-erlang.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File msgpack-erlang.spec of Package msgpack-erlang
%define bname msgpack Name: %bname-erlang Version: 0.5.0 Release: 1 Summary: MessagePack serializer/deserializer for Erlang License: Apache-2.0 Group: Development/Tools/Other URL: https://github.com/%bname/%name Source: %name-%version.tar.xz #Patch: %name-%version-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release Provides: %name-devel = %version-%release Provides: erlang-%bname-devel = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 BuildRequires: erlang-eunit %description %summary. %prep %setup -q #patch -p1 sed -i '/^%%%%/s/@doc[[:blank:]]*//' src/msgpack_ext.erl sed -i '/^%%%%/s/<</\<\</g;/^%%%%/s/>>/\>\>/g' src/msgpack_packer.erl sed -i 's|"\(/test/utf8.txt"\)|"/..\1|' test/msgpack_tests.erl %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", lists:map(fun(E) -> io_lib:format("~p.~n", [E]) end, [{erl_opts, [slim, inline, no_debug_info|lists:delete(debug_info, proplists:get_value(erl_opts, L, []))]}, {edoc_opts, [{preprocess, true}|proplists:get_value(edoc_opts, L, [])]} |lists:foldl(fun proplists:delete/2, L, [erl_opts, edoc_opts, cover_enabled])])), halt().' rebar -C %bname.rebar.config compile -v rebar -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 AUTHORS README* %buildroot%_docdir/%name/ %check rebar -C %bname.rebar.config eunit %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Thu Jun 02 2016 Led <ledest@gmail.com> 0.5.0-1 - 0.5.0 * Fri Mar 18 2016 Led <ledest@gmail.com> 0.3.6-2 - clean up BuildRequires * Sun Feb 28 2016 Led <ledest@gmail.com> 0.3.6-1 - 0.3.6 * Sun Dec 13 2015 Led <ledest@gmail.com> 0.3.5-1 - 0.3.5 * Fri Sep 04 2015 Led <ledest@gmail.com> 0.3.4-1 - 0.3.4 - update patches: + msgpack-erlang-0.3.4-git.patch * Sat Jul 04 2015 Led <ledest@gmail.com> 0.3.3-3 - add patches: + msgpack-erlang-0.3.3-git.patch * Fri Jun 26 2015 Led <ledest@gmail.com> 0.3.3-2 - fix build with Erlang 18 * Mon Apr 13 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