agama/service/package/gem2rpm.yml

27 lines
1.3 KiB
YAML

---
# ## used by gem2rpm
:preamble: |-
BuildRequires: libdbus-1-3
Requires: libdbus-1-3
Requires: snapper
Requires: yast2-bootloader
Requires: yast2-country
Requires: yast2-hardware-detection
Requires: yast2-installation
Requires: yast2-network
Requires: yast2-proxy
Requires: yast2-storage-ng
Requires: yast2-users
# ## used by gem2rpm
:post_install: |-
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/dbus.conf %{buildroot}%{_datadir}/dbus-1/system.d/org.opensuse.DInstaller.conf
install --directory %{buildroot}%{_datadir}/dbus-1/system-services
install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/system-services %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/org.opensuse.DInstaller*.service
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/systemd.service %{buildroot}%{_unitdir}/d-installer.service
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/etc/d-installer.yaml %{buildroot}%{_sysconfdir}/d-installer.yaml
# ## used by gem_packages
:main:
:filelist: "%{_datadir}/dbus-1/system.d/org.opensuse.DInstaller.conf\n
%{_datadir}/dbus-1/system-services/org.opensuse.DInstaller*.service\n
%{_unitdir}/d-installer.service\n
%{_sysconfdir}/d-installer.yaml\n"