Ladislav Slezák 2023-06-30 07:11:13 +00:00 committed by Git OBS Bridge
parent c09b544584
commit 485853cc79
5 changed files with 7 additions and 36 deletions

View File

@ -1,9 +1,3 @@
-------------------------------------------------------------------
Thu Jun 1 08:14:14 UTC 2023 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>
- Add a localization D-Bus service (gh#openSUSE/agama#533).
- Add a network D-Bus service (gh#openSUSE/agama#571).
-------------------------------------------------------------------
Tue May 23 11:51:26 UTC 2023 - Martin Vidner <mvidner@suse.com>

View File

@ -24,35 +24,19 @@ Summary: Agama command line interface
# If you know the license, put it's SPDX string here.
# Alternately, you can use cargo lock2rpmprovides to help generate this.
License: GPL-2.0-only
URL: https://github.com/opensuse/agama
URL: https://github.com/yast/agama-cli
Source0: agama.tar
Source1: vendor.tar.zst
# Generated by the cargo_vendor OBS service
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: pkgconfig(openssl)
# used in tests for dbus service
BuildRequires: python-langtable-data
BuildRequires: dbus-1-common
Requires: jsonnet
Requires: lshw
%description
Command line program to interact with the agama service.
%package -n agama-dbus-server
# This will be set by osc services, that will run after this.
Version: 0
Release: 0
Summary: Agama Rust D-Bus service
License: GPL-2.0-only
URL: https://github.com/opensuse/agama
Requires: dbus-1-common
Requires: python-langtable-data
%description -n agama-dbus-server
DBus service for agama project. It provides so far localization service.
%prep
%autosetup -a1 -n agama
mkdir .cargo
@ -66,11 +50,8 @@ cp %{SOURCE2} .cargo/config
%install
install -D -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 %{_builddir}/agama/target/release/agama %{buildroot}%{_bindir}/agama
install -m 0755 %{_builddir}/agama/target/release/agama-dbus-server %{buildroot}%{_bindir}/agama-dbus-server
install -D -d -m 0755 %{buildroot}%{_datadir}/agama-cli
install -m 0644 %{_builddir}/agama/agama-lib/share/profile.schema.json %{buildroot}%{_datadir}/agama-cli
install --directory %{buildroot}%{_datadir}/dbus-1/agama-services
install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/agama-services %{_builddir}/agama/share/*.service
%check
%{cargo_test}
@ -80,8 +61,4 @@ install -m 0644 --target-directory=%{buildroot}%{_datadir}/dbus-1/agama-services
%dir %{_datadir}/agama-cli
%{_datadir}/agama-cli/profile.schema.json
%files -n agama-dbus-server
%{_bindir}/agama-dbus-server
%{_datadir}/dbus-1/agama-services
%changelog

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27f19c2a80eeac841deee10440606cdfbe07f3e3687ca5f51848332a8e88a486
size 332299
oid sha256:e691a91afbb2969ddf8422f81595b51c917c6b29030fae77780f5d9f12a68f8c
size 166923

View File

@ -1,4 +1,4 @@
name: agama
version: 2.2
mtime: 1687531248
commit: 0fde6ba3a56be0b28a0100e8492e362564fe2ec2
mtime: 1684927342
commit: d34d68d7bc1af4d72bb4939ad9f5c9b4b0bb1bea

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44e77533bb8d6574a59e85e1936a20fb47dafcbad9f06aee196d1e9b51426e44
size 35507723
oid sha256:07f0562d6440b1465306666cf8a688bc03015a5c5e8c230932000ba0f968b7b0
size 36630520