From 879c454b28a673749fe3180edcb6d78b9ab43727c69106701c59daec17f30ca8 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 20 Dec 2023 14:18:50 +0000 Subject: [PATCH] Accepting request 1134111 from home:mantarimay:apps Initial package OBS-URL: https://build.opensuse.org/request/show/1134111 OBS-URL: https://build.opensuse.org/package/show/graphics/oculante?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + _service | 9 +++++++ oculante-0.8.6.tar.gz | 3 +++ oculante.changes | 4 ++++ oculante.spec | 56 +++++++++++++++++++++++++++++++++++++++++++ vendor.tar.zst | 3 +++ 7 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 oculante-0.8.6.tar.gz create mode 100644 oculante.changes create mode 100644 oculante.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..26328df --- /dev/null +++ b/_service @@ -0,0 +1,9 @@ + + + + oculante-*.tar.gz + zst + true + + + diff --git a/oculante-0.8.6.tar.gz b/oculante-0.8.6.tar.gz new file mode 100644 index 0000000..f8ae3ee --- /dev/null +++ b/oculante-0.8.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7fcd17c36626633b79ed3f48930447ecdd8394fcb0c74a617ea28696eabefd5 +size 58511241 diff --git a/oculante.changes b/oculante.changes new file mode 100644 index 0000000..127d107 --- /dev/null +++ b/oculante.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Dec 16 09:33:00 UTC 2023 - Muhammad Akbar Yanuar Mantari + +- Initial package diff --git a/oculante.spec b/oculante.spec new file mode 100644 index 0000000..b296da4 --- /dev/null +++ b/oculante.spec @@ -0,0 +1,56 @@ +# +# spec file for package oculante +# +# Copyright (c) 2023 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: oculante +Version: 0.8.6 +Release: 0 +Summary: A minimalistic crossplatform image viewer written in rust +License: MIT +URL: https://github.com/woelper/oculante +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +BuildRequires: extra-cmake-modules +BuildRequires: gtk3-devel +BuildRequires: nasm + +%description +Oculante's vision is to be a fast, unobtrusive, portable image viewer with +wide image format support, offering image analysis and basic editing +tools. + +%prep +%autosetup -a1 -p1 + +%build +%{cargo_build} + +%install +%{cargo_install} +install -Dpm644 res/%{name}.png -t %{buildroot}%{_datadir}/pixmaps/ +install -Dpm644 res/%{name}.desktop -t %{buildroot}%{_datadir}/applications + +%files +%license LICENSE* +%doc README* CHANGELOG.md +%{_bindir}/%{name} +%{_datadir}/pixmaps/%{name}.png +%{_datadir}/applications/%{name}.desktop + +%changelog + diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..1d437b7 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8174a0165ef65fc26efed3f25e4e64cac7a222c9dadd35177821edaa7eb86c92 +size 73700375