[packages/erlang-rebar3-rebar-mix] Initial (review welcome)

arekm arekm at pld-linux.org
Thu Mar 12 16:28:07 CET 2026


commit 7538274c2a467f669cdc30980823c96e8da89377
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Mar 12 16:27:49 2026 +0100

    Initial (review welcome)

 erlang-rebar3-rebar-mix.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/erlang-rebar3-rebar-mix.spec b/erlang-rebar3-rebar-mix.spec
new file mode 100644
index 0000000..3ddee4f
--- /dev/null
+++ b/erlang-rebar3-rebar-mix.spec
@@ -0,0 +1,46 @@
+Summary:	Elixir integration plugin for rebar3
+Name:		erlang-rebar3-rebar-mix
+Version:	0.5.1
+Release:	1
+License:	APLv2
+Group:		Development/Tools
+Source0:	https://repo.hex.pm/tarballs/rebar_mix-%{version}.tar
+# Source0-md5:	62ef83f00a996cfa86550c4ab0a63c3d
+URL:		https://hex.pm/packages/rebar_mix
+BuildRequires:	elixir
+BuildRequires:	erlang >= 2:17
+BuildRequires:	erlang-rebar3
+BuildRequires:	rpmbuild(macros) >= 2.035
+Requires:	elixir
+Requires:	erlang-rebar3
+%{?erlang_requires}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_enable_debug_packages	0
+
+%description
+Elixir integration plugin for rebar3.
+
+%prep
+%setup -q -T -c -a 0 -n rebar_mix-%{version}
+tar -xzf contents.tar.gz
+
+%build
+export REBAR_OFFLINE=1
+rebar3 compile
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/erlang/lib/rebar_mix-%{version}
+for f in _build/default/lib/rebar_mix/* ; do
+	[ -e "$f" ] || continue
+	cp -rpL "$f" $RPM_BUILD_ROOT%{_libdir}/erlang/lib/rebar_mix-%{version}
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{_libdir}/erlang/lib/rebar_mix-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/erlang-rebar3-rebar-mix.git/commitdiff/7538274c2a467f669cdc30980823c96e8da89377



More information about the pld-cvs-commit mailing list