Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
active
active.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File active.spec of Package active
%define bname active Name: %bname Version: 1.9 Release: 5 Summary: Erlang sync replacement License: BSD-3-Clause Group: Development/Tools/Other URL: https://github.com/synrc/%bname Source: %bname.tar.xz BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 %description Active is sync replacement that uses native FileSystem OS async listeners to compile and reload Erlang files, DTL templates and other files. It acts as FS subscriber under supervision and uses MAD under the hood. %prep %setup -q -n %bname erl -noshell -eval ' A = "src/%bname.app.src", {ok, [{application, %bname, L}]} = file:consult(A), file:write_file(A, io_lib:format("{application, %bname, ~p}.~n", [[{vsn, "%version"}|proplists:delete(vsn, L)]])), halt().' %build echo "{erl_opts, [slim]}." > %bname.rebar.config 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, [{erl_opts, [slim, inline, no_debug_info|lists:delete(debug_info, proplists:get_value(erl_opts, L, []))]}|lists:foldl(fun proplists:delete/2, L, [erl_opts, deps])])), halt().' for c in compile doc; do rebar -C %bname.rebar.config $c -v done %install install -d -m 0755 %buildroot{%_otplibdir/%bname-%version/{ebin,doc},%_docdir/%name} install -p -m 0644 ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -p -m 0644 doc/*.{css,html,png} %buildroot%_otplibdir/%bname-%version/doc/ install -p -m 0644 README* %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Sun May 21 2017 Led <ledest@gmail.com> 1.9-5 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.9-4 - update BuildRequires * Sat Sep 03 2016 Led <ledest@gmail.com> 1.9-3 - git fcc0bc9 * Sun Jun 26 2016 Led <ledest@gmail.com> 1.9-2 - git 7d00ee5 * Sun Oct 11 2015 Led <ledest@gmail.com> 1.9-1 - 1.9 * Thu May 07 2015 Led <ledest@gmail.com> 1.4-1 - 1.4 * Sun Apr 05 2015 Led <ledest@gmail.com> 0.9-6 - clean up BuildRequires - clean up docs * Mon Mar 30 2015 Led <ledest@gmail.com> 0.9-5 - spec: cosmetic fixes * Mon Mar 30 2015 Led <ledest@gmail.com> 0.9-4 - spec: cosmetic fixes * Sat Feb 28 2015 Led <ledest@gmail.com> 0.9-3 - update patches: + active-0.9-git.patch * Sat Feb 28 2015 Led <ledest@gmail.com> 0.9-2 - added provides * Fri Feb 27 2015 Led <ledest@gmail.com> 0.9-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