From 29b31b2815e395538c61ace1712bd820a1e454abfaf786bc888cda13f8a9cb47 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 1 Apr 2024 17:57:02 +0000 Subject: [PATCH] Accepting request 1163848 from home:mantarimay:apps initial package OBS-URL: https://build.opensuse.org/request/show/1163848 OBS-URL: https://build.opensuse.org/package/show/graphics/pastel?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++ .gitignore | 1 + _service | 9 +++++++ pastel-0.9.0.tar.gz | 3 +++ pastel.changes | 5 ++++ pastel.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++ vendor.tar.zst | 3 +++ 7 files changed, 104 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 pastel-0.9.0.tar.gz create mode 100644 pastel.changes create mode 100644 pastel.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..574df55 --- /dev/null +++ b/_service @@ -0,0 +1,9 @@ + + + + pastel-*.tar.gz + zst + true + + + diff --git a/pastel-0.9.0.tar.gz b/pastel-0.9.0.tar.gz new file mode 100644 index 0000000..6609206 --- /dev/null +++ b/pastel-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:473c805de42f6849a4bb14ec103ca007441f355552bdb6ebc80b60dac1f3a95d +size 3230126 diff --git a/pastel.changes b/pastel.changes new file mode 100644 index 0000000..7a671fb --- /dev/null +++ b/pastel.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Dec 13 20:14:12 UTC 2023 - Muhammad Akbar Yanuar Mantari + +- Initial package + diff --git a/pastel.spec b/pastel.spec new file mode 100644 index 0000000..c344b23 --- /dev/null +++ b/pastel.spec @@ -0,0 +1,60 @@ +# +# spec file for package pastel +# +# 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: pastel +Version: 0.9.0 +Release: 0 +Summary: CLI to generate, analyze, convert and manipulate colors +License: MIT AND Apache-2.0 +URL: https://github.com/sharkdp/pastel +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: vendor.tar.zst +BuildRequires: cargo-packaging +Recommends: pastel-doc + +%description +pastel is a command-line tool to generate, analyze, convert and manipulate +colors. It supports many different color formats and color spaces like RGB +(sRGB), HSL, CIELAB, CIELCh as well as ANSI 8-bit and 24-bit +representations. + +%package doc +Summary: Documentation for pastel +BuildArch: noarch + +%description doc +This package provides the documentation for pastel. + +%prep +%autosetup -a1 -p1 + +%build +%{cargo_build} + +%install +%{cargo_install} + +%files +%license LICENSE-MIT LICENSE-APACHE +%{_bindir}/%{name} + +%files doc +%doc README* doc + +%changelog + diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..60d2c06 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53ba0805934b72e5a21904cd1af8594e0bfa2a80157fed1d19bf9e79a22ab7f2 +size 19018689