Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
erlang-dec
erlang-dec.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-dec.spec of Package erlang-dec
%define bname dec Name: erlang-%bname Version: 0.1.0 Release: 3 Summary: Simple decimal module for Erlang License: ErlPL-1.1 Group: Development/Tools/Other URL: https://github.com/hermanbosma/%name Source: %bname.tar.xz Patch1: %bname-fix-make.patch BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar erl_interface %description Simple decimal module for Erlang, suitable for handling monetary values. Only offers addition, subtraction, and multiplication. %prep %setup -q -n %bname %patch1 -p1 sed -i -r '/-opaque/s/^%+[[:blank:]]*//' src/dec_trees.erl %build echo "{erl_opts, [slim, online]}." > %bname.rebar.config 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 * Thu Jul 02 2015 Led <ledest@gmail.com> 0.1.0-3 - fix build with Erlang 18 * Mon Jun 08 2015 Led <ledest@gmail.com> 0.1.0-2 - add patches: + dec-fix-make.patch * Mon Jun 08 2015 Led <ledest@gmail.com> 0.1.0-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