Sync from SUSE:SLFO:Main rubygem-agama-yast revision 46e924006eac72213d72591003c20455
This commit is contained in:
parent
2181f571f3
commit
068059601c
6
_multibuild
Normal file
6
_multibuild
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<multibuild>
|
||||||
|
<!-- don't repeat the base package name, it is implied
|
||||||
|
<flavor>rubygem-agama-yast</flavor>
|
||||||
|
-->
|
||||||
|
<flavor>agama-yast</flavor>
|
||||||
|
</multibuild>
|
BIN
agama-yast-10.gem
(Stored with Git LFS)
BIN
agama-yast-10.gem
(Stored with Git LFS)
Binary file not shown.
BIN
agama-yast-11.gem
(Stored with Git LFS)
Normal file
BIN
agama-yast-11.gem
(Stored with Git LFS)
Normal file
Binary file not shown.
91
agama-yast.spec
Normal file
91
agama-yast.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
#
|
||||||
|
# spec file for package agama-yast
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: agama-yast
|
||||||
|
Version: 11
|
||||||
|
Release: 0
|
||||||
|
%define mod_name agama-yast
|
||||||
|
%define mod_full_name %{mod_name}-%{version}
|
||||||
|
BuildRequires: dbus-1-common
|
||||||
|
# "msgfmt" tool
|
||||||
|
BuildRequires: gettext-runtime
|
||||||
|
Requires: dbus-1-common
|
||||||
|
Requires: rubygem(agama-yast)
|
||||||
|
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: ruby-macros >= 5
|
||||||
|
|
||||||
|
URL: https://github.com/openSUSE/agama
|
||||||
|
Source: %{mod_full_name}.gem
|
||||||
|
Source1: po.tar.bz2
|
||||||
|
Source2: install_translations.sh
|
||||||
|
Summary: YaST integration service for Agama - common files
|
||||||
|
License: GPL-2.0-only
|
||||||
|
Group: Development/Languages/Ruby
|
||||||
|
|
||||||
|
%description
|
||||||
|
D-Bus service exposing some YaST features that are useful for Agama.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%{gem_unpack}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -m 0644 %{mod_full_name}/share/dbus.conf %{buildroot}%{_datadir}/dbus-1/agama.conf
|
||||||
|
install --directory %{buildroot}%{_datadir}/dbus-1/agama-services
|
||||||
|
install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/agama-services %{mod_full_name}/share/org.opensuse.Agama*.service
|
||||||
|
install -D -m 0644 %{mod_full_name}/share/agama.service %{buildroot}%{_unitdir}/agama.service
|
||||||
|
install -D -m 0644 %{mod_full_name}/share/agama-dbus-monitor.service %{buildroot}%{_unitdir}/agama-dbus-monitor.service
|
||||||
|
install -D -m 0644 %{mod_full_name}/share/agama-proxy-setup.service %{buildroot}%{_unitdir}/agama-proxy-setup.service
|
||||||
|
install --directory %{buildroot}/usr/share/agama/conf.d
|
||||||
|
install -D -m 0644 %{mod_full_name}/conf.d/*.yaml %{buildroot}/usr/share/agama/conf.d/
|
||||||
|
|
||||||
|
# run a script for installing the translations
|
||||||
|
sh "%{SOURCE2}" "%{SOURCE1}"
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre agama.service
|
||||||
|
%service_add_pre agama-dbus-monitor.service
|
||||||
|
|
||||||
|
%post
|
||||||
|
%service_add_post agama.service
|
||||||
|
%service_add_post agama-dbus-monitor.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun agama.service
|
||||||
|
%service_del_preun agama-dbus-monitor.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun_with_restart agama.service
|
||||||
|
%service_del_postun_with_restart agama-dbus-monitor.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_datadir}/dbus-1/agama.conf
|
||||||
|
%dir %{_datadir}/dbus-1/agama-services
|
||||||
|
%{_datadir}/dbus-1/agama-services/org.opensuse.Agama*.service
|
||||||
|
%{_unitdir}/agama.service
|
||||||
|
%{_unitdir}/agama-dbus-monitor.service
|
||||||
|
%{_unitdir}/agama-proxy-setup.service
|
||||||
|
%dir %{_datadir}/agama
|
||||||
|
%dir %{_datadir}/agama/conf.d
|
||||||
|
%{_datadir}/agama/conf.d
|
||||||
|
%dir /usr/share/YaST2
|
||||||
|
/usr/share/YaST2/locale
|
||||||
|
|
||||||
|
%changelog
|
33
gem2rpm.yml
33
gem2rpm.yml
@ -1,29 +1,13 @@
|
|||||||
---
|
---
|
||||||
:sourceurl: "%{mod_full_name}.gem"
|
:sourceurl: "%{mod_full_name}.gem"
|
||||||
:sources:
|
|
||||||
- po.tar.bz2
|
|
||||||
- install_translations.sh
|
|
||||||
:preamble: |-
|
:preamble: |-
|
||||||
%global rb_build_versions %{rb_default_ruby}
|
%global rb_build_versions %{rb_default_ruby}
|
||||||
BuildRequires: dbus-1-common
|
BuildRequires: dbus-1-common
|
||||||
# "msgfmt" tool
|
|
||||||
BuildRequires: gettext-runtime
|
|
||||||
Requires: dbus-1-common
|
Requires: dbus-1-common
|
||||||
:post_install: |-
|
|
||||||
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/dbus.conf %{buildroot}%{_datadir}/dbus-1/agama.conf
|
|
||||||
install --directory %{buildroot}%{_datadir}/dbus-1/agama-services
|
|
||||||
install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/agama-services %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/org.opensuse.Agama*.service
|
|
||||||
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/agama.service %{buildroot}%{_unitdir}/agama.service
|
|
||||||
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/agama-proxy-setup.service %{buildroot}%{_unitdir}/agama-proxy-setup.service
|
|
||||||
install --directory %{buildroot}/usr/share/agama/conf.d
|
|
||||||
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/conf.d/*.yaml %{buildroot}/usr/share/agama/conf.d/
|
|
||||||
# run a script for installing the translations
|
|
||||||
sh "%{SOURCE2}" "%{SOURCE1}"
|
|
||||||
:main:
|
:main:
|
||||||
:preamble: |-
|
:preamble: |-
|
||||||
# Override build.rpm, see also https://github.com/openSUSE/obs-build/blob/master/configs/
|
# Override build.rpm, see also https://github.com/openSUSE/obs-build/blob/master/configs/
|
||||||
%global rb_build_versions %{rb_default_ruby}
|
%global rb_build_versions %{rb_default_ruby}
|
||||||
Provides: agama-yast
|
|
||||||
BuildRequires: dbus-1-common
|
BuildRequires: dbus-1-common
|
||||||
Requires: dbus-1-common
|
Requires: dbus-1-common
|
||||||
Requires: dbus-1-daemon
|
Requires: dbus-1-daemon
|
||||||
@ -39,7 +23,7 @@
|
|||||||
Requires: yast2-iscsi-client >= 4.5.7
|
Requires: yast2-iscsi-client >= 4.5.7
|
||||||
Requires: yast2-network
|
Requires: yast2-network
|
||||||
Requires: yast2-proxy
|
Requires: yast2-proxy
|
||||||
Requires: yast2-storage-ng >= 5.0.18
|
Requires: yast2-storage-ng >= 5.0.20
|
||||||
Requires: yast2-users
|
Requires: yast2-users
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
Requires: yast2-s390 >= 4.6.4
|
Requires: yast2-s390 >= 4.6.4
|
||||||
@ -75,18 +59,3 @@
|
|||||||
Requires: yast2-schema
|
Requires: yast2-schema
|
||||||
# lsblk
|
# lsblk
|
||||||
Requires: util-linux-systemd
|
Requires: util-linux-systemd
|
||||||
:filelist: "%{_datadir}/dbus-1/agama.conf\n
|
|
||||||
%dir %{_datadir}/dbus-1/agama-services\n
|
|
||||||
%{_datadir}/dbus-1/agama-services/org.opensuse.Agama*.service\n
|
|
||||||
%{_unitdir}/agama.service\n
|
|
||||||
%{_unitdir}/agama-proxy-setup.service\n
|
|
||||||
%dir %{_datadir}/agama\n
|
|
||||||
%dir %{_datadir}/agama/conf.d\n
|
|
||||||
%{_datadir}/agama/conf.d\n
|
|
||||||
%dir /usr/share/YaST2\n
|
|
||||||
/usr/share/YaST2/locale\n"
|
|
||||||
:scripts:
|
|
||||||
:pre: "%service_add_pre agama.service"
|
|
||||||
:post: "%service_add_post agama.service"
|
|
||||||
:preun: "%service_del_preun agama.service"
|
|
||||||
:postun: "%service_del_postun_with_restart agama.service"
|
|
||||||
|
BIN
po.tar.bz2
(Stored with Git LFS)
BIN
po.tar.bz2
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,179 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 10 21:22:00 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Version 11
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 10 15:44:30 UTC 2025 - José Iván López González <jlopez@suse.com>
|
||||||
|
|
||||||
|
- Objects from the D-Bus trees representing the storage devices are
|
||||||
|
removed before performing the probing. It prevents a segmentation
|
||||||
|
fault by accessing to old objects (gh#agama-project/agama#1884).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 9 12:21:40 UTC 2025 - Knut Anderssen <kanderssen@suse.com>
|
||||||
|
|
||||||
|
- Activate multipath in case it is forced by the user
|
||||||
|
(gh#agama-project/agama#1875).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 8 14:05:53 UTC 2025 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Add support for products registration (jsc#PED-11192,
|
||||||
|
gh#agama-project/agama#1809).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 23 18:40:01 UTC 2024 - Josef Reidinger <jreidinger@suse.com>
|
||||||
|
|
||||||
|
- Fix collision between hotfix and new bootlaoder dbus interface
|
||||||
|
(gh#agama-project/agama#1852)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 20 15:05:11 UTC 2024 - José Iván López González <jlopez@suse.com>
|
||||||
|
|
||||||
|
- Hotfix to avoid losing the storage config with auto installation
|
||||||
|
(bsc#1234711).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 20 12:18:56 UTC 2024 - Josef Reidinger <jreidinger@suse.com>
|
||||||
|
|
||||||
|
- Add bootloader dbus interface to allow to set if bootloader
|
||||||
|
should stop on boot menu (gh#agama-project/agama#1840)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 14:43:11 UTC 2024 - Ancor Gonzalez Sosa <ancor@suse.com>
|
||||||
|
|
||||||
|
- Work around to a problem triggered after formatting DASD devices
|
||||||
|
(mitigates gh#agama-project/agama#1818).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 3 20:32:08 UTC 2024 - Josef Reidinger <jreidinger@suse.com>
|
||||||
|
|
||||||
|
- Fix parsing agama.install_url that contain '='
|
||||||
|
(gh#agama-project/agama#1803)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 3 16:43:08 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Convert AutoYaST scripts when importing an AutoYaST profile (gh#agama-project/agama#1800).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 3 13:00:58 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Include the agama-dbus-monitor package in the spec file
|
||||||
|
(gh#agama-project/agama#1805).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 1 21:59:11 UTC 2024 - David Diaz <dgonzalez@suse.com>
|
||||||
|
|
||||||
|
- Rename flag to set password as encrypted
|
||||||
|
(gh#agama-project/agama#1787).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 15 16:48:44 UTC 2024 - Ladislav Slezák <lslezak@suse.com>
|
||||||
|
|
||||||
|
- Allow using encrypted password for root and the first user
|
||||||
|
(gh#agama-project/agama#1771)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 14 15:34:17 UTC 2024 - Ancor Gonzalez Sosa <ancor@suse.com>
|
||||||
|
|
||||||
|
- Storage: fixed bug when existing partitions were searched at the
|
||||||
|
config but not deleted or resized (gh#agama-project/agama#1767).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 14 13:26:23 UTC 2024 - Ancor Gonzalez Sosa <ancor@suse.com>
|
||||||
|
|
||||||
|
- Storage: honor the candidate devices from DiskAnalyzer when
|
||||||
|
matching drives (gh#agama-project/agama#1765).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 13 12:14:06 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Do not crash when trying to change the language of the storage
|
||||||
|
service before the "config" phase (gh#agama-project/agama#1746).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 16:11:35 UTC 2024 - Martin Vidner <mvidner@suse.com>
|
||||||
|
|
||||||
|
- packaging: split out files independent of Ruby version
|
||||||
|
from rubygem-agama-yast (gh#agama-project/agama#1677).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 11:33:54 UTC 2024 - José Iván López González <jlopez@suse.com>
|
||||||
|
|
||||||
|
- Storage: do not generate config json with search wildcard
|
||||||
|
(gh#agama-project/agama#1713).
|
||||||
|
- Storage: fix issue when setting config
|
||||||
|
(gh#agama-project/agama#1706).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 14:44:35 UTC 2024 - Ancor Gonzalez Sosa <ancor@suse.com>
|
||||||
|
|
||||||
|
- Storage: do not report issues when intentionally skipping entries
|
||||||
|
at the storage config (gh#agama-project/agama#1696).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 13:07:50 UTC 2024 - Ancor Gonzalez Sosa <ancor@suse.com>
|
||||||
|
|
||||||
|
- Storage: support to match several devices with every 'search'
|
||||||
|
section (gh#agama-project/agama#1691).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 22 09:48:57 UTC 2024 - José Iván López González <jlopez@suse.com>
|
||||||
|
|
||||||
|
- Storage: extend schema to allow selecting TPM FDE as encryption
|
||||||
|
method (gh#agama-project/agama#1681).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 16 15:09:31 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Add support for running user-defined scripts after the
|
||||||
|
installation (gh#agama-project/agama#1673).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 16 14:35:47 UTC 2024 - José Iván López González <jlopez@suse.com>
|
||||||
|
|
||||||
|
- Storage: add config conversion to JSON
|
||||||
|
(gh#agama-project/agama#1670).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 14:52:26 UTC 2024 - Ladislav Slezák <lslezak@suse.com>
|
||||||
|
|
||||||
|
- Fixed shell injection vulnerability in the internal API
|
||||||
|
(gh#agama-project/agama#1668)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 8 12:25:08 UTC 2024 - Ancor Gonzalez Sosa <ancor@suse.com>
|
||||||
|
|
||||||
|
- Storage: added support for automatic creation of physical volumes
|
||||||
|
(gh#agama-project/agama#1655).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 7 06:58:48 UTC 2024 - José Iván López González <jlopez@suse.com>
|
||||||
|
|
||||||
|
- Storage: add support to the storage config for automatically
|
||||||
|
creating physical volumes (gh#agama-project/agama#1652).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 27 14:15:16 UTC 2024 - José Iván López González <jlopez@suse.com>
|
||||||
|
|
||||||
|
- Storage: add support for automatically generating 'default' and
|
||||||
|
'mandatory' partitions or logical volumes in the storage config
|
||||||
|
(gh#openSUSE/agama#1634).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 27 09:23:40 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
|
||||||
|
|
||||||
|
- Handle UI language change in users and storage
|
||||||
|
(gh#agama-project/agama#1642).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 23 14:55:53 UTC 2024 - José Iván López González <jlopez@suse.com>
|
||||||
|
|
||||||
|
- Storage: add support for resizing partitions using its current
|
||||||
|
size as min or max limit (gh#openSUSE/agama#1617).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 20 13:09:47 UTC 2024 - Ancor Gonzalez Sosa <ancor@suse.com>
|
Fri Sep 20 13:09:47 UTC 2024 - Ancor Gonzalez Sosa <ancor@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rubygem-agama-yast
|
# spec file for package rubygem-agama-yast
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -24,31 +24,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: rubygem-agama-yast
|
Name: rubygem-agama-yast
|
||||||
Version: 10
|
Version: 11
|
||||||
Release: 0
|
Release: 0
|
||||||
%define mod_name agama-yast
|
%define mod_name agama-yast
|
||||||
%define mod_full_name %{mod_name}-%{version}
|
%define mod_full_name %{mod_name}-%{version}
|
||||||
# MANUAL
|
# MANUAL
|
||||||
%global rb_build_versions %{rb_default_ruby}
|
%global rb_build_versions %{rb_default_ruby}
|
||||||
BuildRequires: dbus-1-common
|
BuildRequires: dbus-1-common
|
||||||
# "msgfmt" tool
|
|
||||||
BuildRequires: gettext-runtime
|
|
||||||
Requires: dbus-1-common
|
Requires: dbus-1-common
|
||||||
# /MANUAL
|
# /MANUAL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: ruby-macros >= 5
|
||||||
BuildRequires: %{ruby >= 2.5.0}
|
BuildRequires: %{ruby >= 2.5.0}
|
||||||
BuildRequires: %{rubygem gem2rpm}
|
BuildRequires: %{rubygem gem2rpm}
|
||||||
BuildRequires: ruby-macros >= 5
|
|
||||||
BuildRequires: update-alternatives
|
BuildRequires: update-alternatives
|
||||||
URL: https://github.com/openSUSE/agama
|
URL: https://github.com/openSUSE/agama
|
||||||
Source: %{mod_full_name}.gem
|
Source: %{mod_full_name}.gem
|
||||||
Source1: po.tar.bz2
|
Source1: gem2rpm.yml
|
||||||
Source2: install_translations.sh
|
|
||||||
Source3: gem2rpm.yml
|
|
||||||
Summary: YaST integration service for Agama
|
Summary: YaST integration service for Agama
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
Group: Development/Languages/Ruby
|
|
||||||
PreReq: update-alternatives
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
D-Bus service exposing some YaST features that are useful for Agama.
|
D-Bus service exposing some YaST features that are useful for Agama.
|
||||||
@ -61,29 +54,6 @@ D-Bus service exposing some YaST features that are useful for Agama.
|
|||||||
%gem_install \
|
%gem_install \
|
||||||
--symlink-binaries \
|
--symlink-binaries \
|
||||||
-f
|
-f
|
||||||
# MANUAL
|
|
||||||
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/dbus.conf %{buildroot}%{_datadir}/dbus-1/agama.conf
|
|
||||||
install --directory %{buildroot}%{_datadir}/dbus-1/agama-services
|
|
||||||
install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/agama-services %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/org.opensuse.Agama*.service
|
|
||||||
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/agama.service %{buildroot}%{_unitdir}/agama.service
|
|
||||||
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/share/agama-proxy-setup.service %{buildroot}%{_unitdir}/agama-proxy-setup.service
|
|
||||||
install --directory %{buildroot}/usr/share/agama/conf.d
|
|
||||||
install -D -m 0644 %{buildroot}%{gem_base}/gems/%{mod_full_name}/conf.d/*.yaml %{buildroot}/usr/share/agama/conf.d/
|
|
||||||
# run a script for installing the translations
|
|
||||||
sh "%{SOURCE2}" "%{SOURCE1}"
|
|
||||||
# /MANUAL
|
|
||||||
|
|
||||||
%pre
|
|
||||||
%service_add_pre agama.service
|
|
||||||
|
|
||||||
%post
|
|
||||||
%service_add_post agama.service
|
|
||||||
|
|
||||||
%preun
|
|
||||||
%service_del_preun agama.service
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%service_del_postun_with_restart agama.service
|
|
||||||
|
|
||||||
%gem_packages
|
%gem_packages
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user