Commit 01da6f87 authored by Roman Alifanov's avatar Roman Alifanov

Add ALT spec and gear rules

parent 6964bae8
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
Name: eepm-dbus
Version: 0.1.0
Release: alt1
License: GPL-3.0
Summary: D-Bus service that wraps the EEPM (Etersoft Package Manager) bash scripts
Group: System/Configuration/Packaging
Url: https://gitlab.eterfund.ru/ximperlinux/eepm-dbus
Source: %name-%version.tar
Source1: %name-development-%version.tar
Source2: config.toml
BuildRequires(pre): rpm-macros-meson
BuildRequires: rpm-build-rust
BuildRequires: meson
BuildRequires: /proc
Requires: eepm
Requires: polkit
Requires: dbus
%description
D-Bus system service that exposes the EEPM (epm) command line tool over
two interfaces: ru.etersoft.EPM.Query for read-only operations and
ru.etersoft.EPM.Manage for installs, removals and upgrades. Manage
operations are gated by polkit. Progress for long-running operations is
emitted via the Notification signal.
%prep
%setup -a1
install -vD %SOURCE2 .cargo/config.toml
%build
%meson
%meson_build
%install
%meson_install
%post
%systemd_post %name.service
%preun
%systemd_preun %name.service
%postun
%systemd_postun_with_restart %name.service
%files
%doc README.md
%_bindir/%name
%_unitdir/%name.service
%_datadir/dbus-1/system-services/ru.etersoft.EPM.service
%_sysconfdir/dbus-1/system.d/ru.etersoft.EPM.conf
%_datadir/polkit-1/actions/ru.etersoft.EPM.policy
%changelog
* Fri Apr 10 2026 Roman Alifanov <ximper@altlinux.org> 0.1.0-alt1
- initial build
spec: .gear/eepm-dbus.spec
tar: .
tar: .gear/predownloaded-development name=@name@-development-@version@ base=
copy: .gear/config.toml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment