Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
qdate
qdate.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qdate.spec of Package qdate
%define bname qdate Name: %bname Version: 0.4.2 Release: 1 Summary: Erlang date and timezone library License: MIT Group: Development/Tools/Other URL: https://github.com/choptastic/%bname Source: %bname-%version.tar.xz #Patch: %bname-%version-git.patch BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-10 BuildRequires: erlang_localtime erlang-erlware_commons %description Erlang date and time management is rather primitive, but improving. %prep %setup -q -n %bname-%version #patch -p1 %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:keystore(erl_opts, 1, lists:foldl(fun(K, A) -> lists:keydelete(K, 1, A) end, L, [deps, cover_enabled]), {erl_opts, [slim, inline, no_debug_info|lists:delete(debug_info, proplists:get_value(erl_opts, L, []))]}))), halt().' %__rebar_compile -C %bname.rebar.config -v %__rebar_doc -C %bname.rebar.config -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* CHANGELOG* %buildroot%_docdir/%name/ %check %__rebar_eunit -C %bname.rebar.config %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Sun May 29 2016 Led <ledest@gmail.com> 0.4.2-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