From 7aca4dc956496cfffbfaa1b2cafd4cdae47c0399 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 19 Jun 2023 17:27:47 +0300 Subject: [PATCH] import kora-icon-theme-1.5.7-1.el9 --- .gitignore | 1 + .kora-icon-theme.metadata | 1 + SPECS/kora-icon-theme.spec | 72 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 .gitignore create mode 100644 .kora-icon-theme.metadata create mode 100644 SPECS/kora-icon-theme.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4dad7b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/kora-1.5.7.tar.gz diff --git a/.kora-icon-theme.metadata b/.kora-icon-theme.metadata new file mode 100644 index 0000000..e39d88b --- /dev/null +++ b/.kora-icon-theme.metadata @@ -0,0 +1 @@ +912b5b697b32fa04bcd6c454dc9179fdca186643 SOURCES/kora-1.5.7.tar.gz diff --git a/SPECS/kora-icon-theme.spec b/SPECS/kora-icon-theme.spec new file mode 100644 index 0000000..3452f37 --- /dev/null +++ b/SPECS/kora-icon-theme.spec @@ -0,0 +1,72 @@ +%global themes kora-pgrey kora kora-light kora-light-panel + +Name: kora-icon-theme +Version: 1.5.7 +Release: 1%{?dist} +Summary: Icon theme designed for Equinox GTK theme + +Group: User Interface/Desktops +License: GPLv3 +URL: https://github.com/bikass/kora +Source0: https://github.com/bikass/kora/archive/refs/tags/v%{version}.tar.gz#/kora-%{version}.tar.gz +BuildArch: noarch +BuildRequires: fdupes + +%description +This icon theme for Gnome provides monochromatic icons for panels, toolbars and +buttons and colorful squared icons for devices, applications, folder, files and +Gnome menu items. Six themes are included to fit with light or dark +themes/panels. + + +%prep +%autosetup -n kora-%{version} +# Remove executable bits on all files +find . -type f -exec chmod 0644 {} \; +find . -type d -exec chmod 0755 {} \; +find . -name '*.sh' -exec chmod +x {} \; + +%build +# nothing to build + +%install +install -dm 755 %{buildroot}%{_datadir}/icons + +cp -a kora* %{buildroot}%{_datadir}/icons +%fdupes -s %{buildroot} + + + +%post +for theme in %{themes} +do + touch --no-create %{_datadir}/icons/${theme} &>/dev/null ||: +done + + +%postun +if [ $1 -eq 0 ] ; then + for theme in %{themes} + do + touch --no-create %{_datadir}/icons/${theme} &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/${theme} &>/dev/null || : + done +fi + + +%posttrans +for theme in %{themes} +do + gtk-update-icon-cache %{_datadir}/icons/${theme} &>/dev/null || : +done + + +%files +%doc README.md +%license LICENSE +%{_datadir}/icons/kora* + + +%changelog +* Mon Jun 19 2023 Arkady L. Shane - 1.5.7-1 +- initial build for MSVSphere 9.2