From b9a561470d58d78254bb50fd81385dc6423d38c3bc848c4193833de8df13b504 Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Thu, 11 Jul 2024 09:42:53 +0000 Subject: [PATCH] Accepting request 1186814 from home:rrahl0 OBS-URL: https://build.opensuse.org/request/show/1186814 OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Apps/oboete?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + _service | 19 ++++++++ oboete-0.1.4+git20240709.0e05eb4.tar.zst | 3 ++ oboete.changes | 4 ++ oboete.spec | 60 ++++++++++++++++++++++++ vendor.tar.zst | 3 ++ 7 files changed, 113 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 oboete-0.1.4+git20240709.0e05eb4.tar.zst create mode 100644 oboete.changes create mode 100644 oboete.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..1134aa1 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + https://github.com/mariinkys/oboete.git + git + main + @PARENT_TAG@+git%cd.%h + yes + + + *.tar + zstd + + + oboete + false + + + diff --git a/oboete-0.1.4+git20240709.0e05eb4.tar.zst b/oboete-0.1.4+git20240709.0e05eb4.tar.zst new file mode 100644 index 0000000..d2aea23 --- /dev/null +++ b/oboete-0.1.4+git20240709.0e05eb4.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25f327ba8fe37953d895d4a78c5b3bbb1ce7bafec5b8bb904e7da06a72110ca7 +size 860004 diff --git a/oboete.changes b/oboete.changes new file mode 100644 index 0000000..b173848 --- /dev/null +++ b/oboete.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Jul 11 09:41:06 UTC 2024 - Richard Rahl + +- initial packaging diff --git a/oboete.spec b/oboete.spec new file mode 100644 index 0000000..82837b2 --- /dev/null +++ b/oboete.spec @@ -0,0 +1,60 @@ +# +# spec file for package oboete +# +# 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.Oboete +Name: oboete +Version: 0.1.4+git20240709.0e05eb4 +Release: 0 +Summary: A simple flashcards application for the COSMIC desktop +License: GPL-3.0-only +URL: https://github.com/mariinkys/oboete +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +BuildRequires: just +BuildRequires: update-desktop-files +BuildRequires: pkgconfig +BuildRequires: hicolor-icon-theme +BuildRequires: pkgconfig(xkbcommon) + +%description +A simple flashcards application for the COSMIC desktop. Written in Rust. + +%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}/%{name} +%{_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..4e9f879 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b42919ec0e247214c207bc576b1bebf713768c2149ebb9ccb44817ff05ff578 +size 80858214