From b30047d676770795dee5de3cc6e5fcfba60e98b688df8522bc380a7c9aeb0471 Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Sat, 13 Jul 2024 08:01:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Apps/starrydex?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + _service | 19 +++++++ starrydex-0.1.0+git20240711.0552a59.tar.zst | 3 + starrydex.changes | 4 ++ starrydex.spec | 61 +++++++++++++++++++++ vendor.tar.zst | 3 + 7 files changed, 114 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 starrydex-0.1.0+git20240711.0552a59.tar.zst create mode 100644 starrydex.changes create mode 100644 starrydex.spec create mode 100644 vendor.tar.zst diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..5d559b7 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + https://github.com/mariinkys/starrydex.git + git + main + @PARENT_TAG@+git%cd.%h + yes + + + *.tar + zstd + + + starrydex + false + + + diff --git a/starrydex-0.1.0+git20240711.0552a59.tar.zst b/starrydex-0.1.0+git20240711.0552a59.tar.zst new file mode 100644 index 0000000..f68e84f --- /dev/null +++ b/starrydex-0.1.0+git20240711.0552a59.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae74f9e864b4750dbae602dbf6ae3909bd2fa23790ec93b997021cc1e8e71eef +size 669262 diff --git a/starrydex.changes b/starrydex.changes new file mode 100644 index 0000000..37b0226 --- /dev/null +++ b/starrydex.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Jul 13 06:50:07 UTC 2024 - Richard Rahl + +- initial packaging diff --git a/starrydex.spec b/starrydex.spec new file mode 100644 index 0000000..1ce9c7c --- /dev/null +++ b/starrydex.spec @@ -0,0 +1,61 @@ +# +# spec file for package starrydex +# +# Copyright (c) 2024 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/ +# + + +%define appname dev.mariinkys.StarryDex +Name: starrydex +Version: 0.1.0+git20240711.0552a59 +Release: 0 +Summary: Pokédex application for the COSMIC desktop +License: GPL-3.0-only +URL: https://github.com/mariinkys/starrydex +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +BuildRequires: hicolor-icon-theme +BuildRequires: just +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(xkbcommon) + +%description +A Pokedex which can work offline (after initialization). + +%prep +%autosetup -a1 + +%build +just build-release + +%install +just rootdir=%{buildroot} prefix=%{_prefix} install +%suse_update_desktop_file %{appname} + +%check +%{cargo_test} + +%files +%license LICENSE +%doc README.md +%{_bindir}/starry-dex +%{_datadir}/applications/%{appname}.desktop +%{_iconsdir}/hicolor/??x??/apps/%{appname}.svg +%{_iconsdir}/hicolor/???x???/apps/%{appname}.svg +%{_datadir}/metainfo/%{appname}.metainfo.xml + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..4f73a9f --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b2fb22d41015e30a923c238dba184d0387081bbc283f4f9c022b6afa93fb393 +size 85449356