Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlgit
erlgit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlgit.spec of Package erlgit
%define bname erlgit Name: %bname Version: 0.7.5 Release: 6 Summary: Erlang convenience wrapper around git executable License: MIT Group: Development/Tools/Other URL: https://github.com/gleber/%bname Source: %bname-%version.tar.xz Patch0: %bname-%version-git.patch Patch1: %bname-doc.patch Provides: erlang-%bname = %version-%release BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface erlsemver %description Erlang convenience wrapper around git executable. %prep %setup -q -n %bname-%version %patch0 -p1 %patch1 -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, [{erl_opts, [slim, inline, no_debug_info|lists:delete(debug_info, proplists:get_value(erl_opts, L, []))]}|lists:foldl(fun proplists:delete/2, L, [deps, erl_opts])])), 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 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* %buildroot%_docdir/%name/ %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Sat Sep 03 2016 Led <ledest@gmail.com> 0.7.5-6 - git a9c90a0 - remove patches: + erlgit-spec.patch - update patches: + erlgit-doc.patch * Fri Jul 15 2016 Led <ledest@gmail.com> 0.7.5-5 - fix specs * Fri Jul 15 2016 Led <ledest@gmail.com> 0.7.5-4 - update patches: + erlgit-doc.patch - add patches: + erlgit-spec.patch * Tue Aug 11 2015 Led <ledest@gmail.com> 0.7.5-3 - revert Provides * Tue Aug 11 2015 Led <ledest@gmail.com> 0.7.5-2 - fix Provides * Tue Aug 11 2015 Led <ledest@gmail.com> 0.7.5-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