From 5290e3751d7652341dc9aaf7489674460c03d6cc Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Wed, 4 Jan 2023 14:45:47 +0800 Subject: [PATCH 1/2] Move adwaita --- anda/{ => themes}/adwaita++-icons/.gitignore | 0 .../adwaita++-icons/adwaita++-icons.spec | 0 anda/{ => themes}/adwaita++-icons/anda.hcl | 0 anda/{ => themes}/adwaita++-icons/update.rhai | 0 .../bibata-cursor-theme.spec | 18 ++++++++++++++++++ 5 files changed, 18 insertions(+) rename anda/{ => themes}/adwaita++-icons/.gitignore (100%) rename anda/{ => themes}/adwaita++-icons/adwaita++-icons.spec (100%) rename anda/{ => themes}/adwaita++-icons/anda.hcl (100%) rename anda/{ => themes}/adwaita++-icons/update.rhai (100%) create mode 100644 anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec diff --git a/anda/adwaita++-icons/.gitignore b/anda/themes/adwaita++-icons/.gitignore similarity index 100% rename from anda/adwaita++-icons/.gitignore rename to anda/themes/adwaita++-icons/.gitignore diff --git a/anda/adwaita++-icons/adwaita++-icons.spec b/anda/themes/adwaita++-icons/adwaita++-icons.spec similarity index 100% rename from anda/adwaita++-icons/adwaita++-icons.spec rename to anda/themes/adwaita++-icons/adwaita++-icons.spec diff --git a/anda/adwaita++-icons/anda.hcl b/anda/themes/adwaita++-icons/anda.hcl similarity index 100% rename from anda/adwaita++-icons/anda.hcl rename to anda/themes/adwaita++-icons/anda.hcl diff --git a/anda/adwaita++-icons/update.rhai b/anda/themes/adwaita++-icons/update.rhai similarity index 100% rename from anda/adwaita++-icons/update.rhai rename to anda/themes/adwaita++-icons/update.rhai diff --git a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec new file mode 100644 index 0000000000..7a803ab554 --- /dev/null +++ b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec @@ -0,0 +1,18 @@ +Name: bibata-cursor-theme +Version: 2.0.3 +Release: %autorelease +URL: https://github.com/ful1e5/Bibata_Cursor +Source0: %{url}/releases/download/v%{version}/Bibata.tar.gz +License: GPLv3 +Summary: Open source, compact, and material designed cursor set. +BuildArch: noarch + +%description +Bibata is an open source, compact, and material designed cursor set that +aims to improve the cursor experience for users. It is one of the most +popular cursor sets in the Linux community and is now available for free +on Windows as well, with multiple color and size options. Its goal is to +offer personalized cursors to users. + +%prep +%autosetup -n From 2ffd0fe19e985c9dec9707f20efc5eeb2c40107d Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Wed, 4 Jan 2023 17:17:45 +0800 Subject: [PATCH 2/2] Add bibata-cursor-theme --- anda/themes/bibata-cursor-theme/anda.hcl | 6 +++++ .../bibata-cursor-theme.spec | 22 ++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 anda/themes/bibata-cursor-theme/anda.hcl diff --git a/anda/themes/bibata-cursor-theme/anda.hcl b/anda/themes/bibata-cursor-theme/anda.hcl new file mode 100644 index 0000000000..e038733053 --- /dev/null +++ b/anda/themes/bibata-cursor-theme/anda.hcl @@ -0,0 +1,6 @@ +project "pkg" { + rpm { + spec = "bibata-cursor-theme.spec" + update = "" + } +} diff --git a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec index 7a803ab554..dffddaa549 100644 --- a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec +++ b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec @@ -3,6 +3,8 @@ Version: 2.0.3 Release: %autorelease URL: https://github.com/ful1e5/Bibata_Cursor Source0: %{url}/releases/download/v%{version}/Bibata.tar.gz +Source1: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/README.md +Source2: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/LICENSE License: GPLv3 Summary: Open source, compact, and material designed cursor set. BuildArch: noarch @@ -15,4 +17,22 @@ on Windows as well, with multiple color and size options. Its goal is to offer personalized cursors to users. %prep -%autosetup -n +tar xf %{SOURCE0} + +%build + +%install +mkdir -p %{buildroot}/%{_datadir}/icons/ +mv Bibata-* %{buildroot}/%{_datadir}/icons/ +mkdir -p %{buildroot}/%{_datadir}/{doc,licenses}/%{name}/ +cp %{SOURCE1} %{buildroot}/%{_datadir}/doc/%{name}/README.md +cp %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/LICENSE + +%files +%doc README.md +%license LICENSE +%{_datadir}/icons/Bibata-* + +%changelog +* Wed Jan 4 2023 windowsboy111 +- Initial package