Accepting request 1073815 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1073815 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-tour?expand=0&rev=5
This commit is contained in:
commit
8058755c73
26
_service
Normal file
26
_service
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://gitlab.gnome.org/GNOME/gnome-tour.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">refs/tags/44.0</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||||
|
<param name="versionrewrite-pattern">(.*)\+0</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
<!-- <param name="changesgenerate">enable</param> -->
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual"/>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_vendor" mode="manual">
|
||||||
|
<param name="srcdir">gnome-tour</param>
|
||||||
|
<param name="update">true</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_audit" mode="manual">
|
||||||
|
<param name="srcdir">gnome-tour</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
||||||
|
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[source.crates-io]
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source.vendored-sources]
|
||||||
|
directory = "vendor"
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1351e419627fbd7c771932a6ef1ad80c0bf2e6828c4948a062068984ddb3cc88
|
|
||||||
size 14076336
|
|
3
gnome-tour-44.0.obscpio
Normal file
3
gnome-tour-44.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a5cb50be9f262e6ece5059527db7858969353adb21458fd0df24977457cd34e2
|
||||||
|
size 731660
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 20 20:59:58 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Switch to cargo_packaging:
|
||||||
|
+ Drop cargo and rust BuildRequires, add cargo-packaging
|
||||||
|
BuildRequires and macros.
|
||||||
|
+ Use source services to generate tarball + run cargo packaging.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 20 09:33:13 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 44.0:
|
||||||
|
+ No upstream changes provided.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 20 17:41:22 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
Tue Sep 20 17:41:22 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
4
gnome-tour.obsinfo
Normal file
4
gnome-tour.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: gnome-tour
|
||||||
|
version: 44.0
|
||||||
|
mtime: 1679298248
|
||||||
|
commit: 46ca411004a49ef963e3a7df7b928ebb976bed72
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gnome-tour
|
# spec file for package gnome-tour
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 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
|
||||||
@ -16,20 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
|
||||||
|
|
||||||
Name: gnome-tour
|
Name: gnome-tour
|
||||||
Version: 43.0
|
Version: 44.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GNOME Tour & Greeter
|
Summary: GNOME Tour & Greeter
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
URL: https://gitlab.gnome.org/GNOME/gnome-tour
|
URL: https://gitlab.gnome.org/GNOME/gnome-tour
|
||||||
Source0: https://download.gnome.org/sources/gnome-tour/43/%{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
|
Source2: vendor.tar.zst
|
||||||
|
Source3: cargo_config
|
||||||
|
|
||||||
BuildRequires: appstream-glib
|
BuildRequires: appstream-glib
|
||||||
BuildRequires: cargo
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: rust
|
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
BuildRequires: pkgconfig(gio-2.0) >= 2.56
|
BuildRequires: pkgconfig(gio-2.0) >= 2.56
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.64
|
BuildRequires: pkgconfig(glib-2.0) >= 2.64
|
||||||
@ -42,20 +45,25 @@ A guided tour and greeter for GNOME.
|
|||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -a2
|
||||||
|
mkdir .cargo
|
||||||
|
cp %{SOURCE3} .cargo/config
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export RUSTFLAGS=%{rustflags}
|
||||||
%meson \
|
%meson \
|
||||||
-D profile=default \
|
-D profile=default \
|
||||||
%{nil}
|
%{nil}
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
export RUSTFLAGS=%{rustflags}
|
||||||
%meson_install
|
%meson_install
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
|
%cargo_test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa77477f43f089ba2bac2550e536276a951522958b65869b374fc3a41f6c24ea
|
||||||
|
size 16314023
|
Loading…
Reference in New Issue
Block a user