[packages/erlang] Rel 2. Move GUI applications (debugger, et, observer, reltool, wx) to subpackages so erlang no longe
arekm
arekm at pld-linux.org
Thu Oct 15 07:20:17 CEST 2026
commit b63608245eeadcef35cf24b66b0dea771a71eae4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 15 00:56:53 2026 +0200
Rel 2. Move GUI applications (debugger, et, observer, reltool, wx) to subpackages so erlang no longer pulls in wxGTK3.
erlang.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 91 insertions(+), 1 deletion(-)
---
diff --git a/erlang.spec b/erlang.spec
index c77f8a8..46750f4 100644
--- a/erlang.spec
+++ b/erlang.spec
@@ -22,7 +22,7 @@ Summary: OpenSource Erlang/OTP
Summary(pl.UTF-8): Erlang/OTP z otwartymi źródłami
Name: erlang
Version: 29.1.2
-Release: 1
+Release: 2
Epoch: 2
%define _version %(echo %{version} | tr _ -)
License: Apache v2.0
@@ -91,6 +91,76 @@ Erlang to język programowania opracowany w Ericsson Computer Science
Laboratory. Open-source Erlang został wydany, aby pomóc w
rozpowszechnianiu Erlanga poza Ericssonem.
+%package debugger
+Summary: Erlang debugger
+Summary(pl.UTF-8): Debugger dla Erlanga
+Group: Development/Languages
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name}-wx = %{epoch}:%{version}-%{release}
+
+%description debugger
+Graphical debugger for Erlang programs.
+
+%description debugger -l pl.UTF-8
+Graficzny debugger dla programów w Erlangu.
+
+%package et
+Summary: Erlang Event Tracer
+Summary(pl.UTF-8): Event Tracer dla Erlanga
+Group: Development/Languages
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name}-wx = %{epoch}:%{version}-%{release}
+
+%description et
+Event Tracer (ET) for recording and graphical presentation of Erlang
+events.
+
+%description et -l pl.UTF-8
+Event Tracer (ET) do rejestrowania i graficznej prezentacji zdarzeń
+w Erlangu.
+
+%package observer
+Summary: Erlang system observer
+Summary(pl.UTF-8): Narzędzie do obserwacji systemów w Erlangu
+Group: Development/Languages
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name}-et = %{epoch}:%{version}-%{release}
+Requires: %{name}-wx = %{epoch}:%{version}-%{release}
+
+%description observer
+Graphical tool for observing characteristics of Erlang systems, with
+crashdump viewer, etop and trace tool builder (ttb).
+
+%description observer -l pl.UTF-8
+Graficzne narzędzie do obserwacji systemów w Erlangu, wraz z
+przeglądarką zrzutów awaryjnych, etop i ttb.
+
+%package reltool
+Summary: Erlang release management tool
+Summary(pl.UTF-8): Narzędzie do zarządzania wydaniami w Erlangu
+Group: Development/Languages
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name}-wx = %{epoch}:%{version}-%{release}
+
+%description reltool
+Release management tool for Erlang/OTP with graphical frontend.
+
+%description reltool -l pl.UTF-8
+Narzędzie do zarządzania wydaniami Erlang/OTP z interfejsem
+graficznym.
+
+%package wx
+Summary: wxWidgets binding for Erlang
+Summary(pl.UTF-8): Wiązanie wxWidgets dla Erlanga
+Group: Development/Languages
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description wx
+wxWidgets GUI library binding for Erlang.
+
+%description wx -l pl.UTF-8
+Wiązanie biblioteki graficznej wxWidgets dla Erlanga.
+
%package doc
Summary: Erlang documentation
Summary(pl.UTF-8): Dokumentacja do Erlanga
@@ -193,6 +263,11 @@ find $RPM_BUILD_ROOT%{_libdir}/%{name}/lib -type f -perm -500 \
| %{__sed} -e"s#^$RPM_BUILD_ROOT%{_libdir}/%{name}/#%%attr(755,root,root) %%{_libdir}/%%{name}/#" >> lib.list
find $RPM_BUILD_ROOT%{_libdir}/%{name}/lib -type f '!' -perm -500 \
| %{__sed} -e"s#^$RPM_BUILD_ROOT%{_libdir}/%{name}/#%%{_libdir}/%%{name}/#" >> lib.list
+for app in debugger et observer reltool wx; do
+ %{__grep} "/lib/$app-[0-9]" lib.list > $app.list
+ %{__grep} -v "/lib/$app-[0-9]" lib.list > lib.list.tmp
+ %{__mv} lib.list.tmp lib.list
+done
%if %{with doc}
# Move noarch docs to _datadir
@@ -302,6 +377,21 @@ fi
%{systemdunitdir}/epmd at .socket
%endif
+%files debugger -f debugger.list
+%defattr(644,root,root,755)
+
+%files et -f et.list
+%defattr(644,root,root,755)
+
+%files observer -f observer.list
+%defattr(644,root,root,755)
+
+%files reltool -f reltool.list
+%defattr(644,root,root,755)
+
+%files wx -f wx.list
+%defattr(644,root,root,755)
+
%if %{with doc}
%files doc
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/erlang.git/commitdiff/b63608245eeadcef35cf24b66b0dea771a71eae4
More information about the pld-cvs-commit
mailing list