Group :: Development/Erlang
RPM: rebar2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%def_disable debug
Name: rebar2
Epoch: 1
Version: 2.6.4
Release: alt3
Summary: A sophisticated build-tool for Erlang projects that follows OTP principles.
License: %asl
Group: Development/Erlang
BuildArch: noarch
URL: https://github.com/rebar/rebar
# https://github.com/rebar/rebar.git
Source: %name-%version.tar
Patch1: rebar-fedora-try-shell-variable-VSN-first.patch
BuildRequires(pre): rpm-build-erlang rpm-build-licenses
BuildRequires: erlang-devel erlang-otp-devel erlang-visual-devel erlang-common_test-devel
Requires: erlang-otp erlang-visual erlang-common_test
%description
rebar is an Erlang build tool that makes it easy to compile and
test Erlang applications, port drivers and releases.
rebar is a self-contained Erlang script, so it's easy to distribute or even
embed directly in a project. Where possible, rebar uses standard Erlang/OTP
conventions for project structures, thus minimizing the amount of build
configuration work. rebar also provides dependency management, enabling
application writers to easily re-use common libraries from a variety of
locations (git, hg, etc).
%prep
%setup
%patch1 -p1
%build
./bootstrap
%install
mkdir -p %buildroot%_bindir
install -m755 rebar %buildroot%_bindir
%files
%_bindir/*
%changelog
…
Full changelog you can see here
%def_disable debug
Name: rebar2
Epoch: 1
Version: 2.6.4
Release: alt3
Summary: A sophisticated build-tool for Erlang projects that follows OTP principles.
License: %asl
Group: Development/Erlang
BuildArch: noarch
URL: https://github.com/rebar/rebar
# https://github.com/rebar/rebar.git
Source: %name-%version.tar
Patch1: rebar-fedora-try-shell-variable-VSN-first.patch
BuildRequires(pre): rpm-build-erlang rpm-build-licenses
BuildRequires: erlang-devel erlang-otp-devel erlang-visual-devel erlang-common_test-devel
Requires: erlang-otp erlang-visual erlang-common_test
%description
rebar is an Erlang build tool that makes it easy to compile and
test Erlang applications, port drivers and releases.
rebar is a self-contained Erlang script, so it's easy to distribute or even
embed directly in a project. Where possible, rebar uses standard Erlang/OTP
conventions for project structures, thus minimizing the amount of build
configuration work. rebar also provides dependency management, enabling
application writers to easily re-use common libraries from a variety of
locations (git, hg, etc).
%prep
%setup
%patch1 -p1
%build
./bootstrap
%install
mkdir -p %buildroot%_bindir
install -m755 rebar %buildroot%_bindir
%files
%_bindir/*
%changelog
…
Full changelog you can see here