Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang-sh
erlang-sh.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-sh.spec of Package erlang-sh
%define bname sh Name: erlang-%bname Version: 1.9 Release: 2 Summary: Erlang SH Executor License: BSD-3-Clause Group: Development/Tools/Other URL: https://github.com/synrc/%bname Source: %bname-%version.tar Patch: %bname-%version-git.patch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface erts-devel %description Family of functions and ports involving interacting with the system shell, paths and external programs for Erlang. %prep %setup -q -n %bname-%version %patch -p1 %build erl -noshell -eval ' {ok, L} = file:consult("rebar.config"), file:write_file("%bname.rebar.config", [io_lib:format("~p.~n", proplists:delete(port_env, L))]), halt().' export CFLAGS="%optflags -flto -fwhole-program" for c in compile doc; do rebar -C %bname.rebar.config $c -v done %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%_otplibdir/%bname-%version/priv install -p -m 0755 priv/* %buildroot%_otplibdir/%bname-%version/priv/ install -d -m 0755 %buildroot%_docdir/%name 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 * Wed Dec 01 2015 Led <ledest@gmail.com> 1.9-2 - git 02c2bf0 - add patches: + sh-1.9-git.patch * Sun Oct 11 2015 Led <ledest@gmail.com> 1.9-1 - 1.9 - remove patches: + sh-0.9-git.patch * Sun Apr 05 2015 Led <ledest@gmail.com> 0.9-4 - clean up docs * Fri Feb 27 2015 Led <ledest@gmail.com> 0.9-3 - add patches: + sh-0.9-git.patch * Fri Feb 27 2015 Led <ledest@gmail.com> 0.9-2 - cleaned up spec * 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