add: tela-icon-theme (#3206) (#3230)

* add: tela-icon-theme

* fix: trigger update on new commits

the release schedule of other themes from the same author seems spotty

* fix: tela-icon-theme date

* update tela-icon-theme license

Co-authored-by: madomado <madonuko@outlook.com>
Signed-off-by: Alberto García <4411661+GarciaLnk@users.noreply.github.com>

---------

Signed-off-by: Alberto García <4411661+GarciaLnk@users.noreply.github.com>
Co-authored-by: madomado <madonuko@outlook.com>
(cherry picked from commit 4f124129c5)

Co-authored-by: Alberto García <4411661+GarciaLnk@users.noreply.github.com>
This commit is contained in:
Raboneko
2025-02-06 00:39:30 -08:00
committed by GitHub
parent 762ef011aa
commit 285b3ff44d
3 changed files with 49 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project "pkg" {
arches = ["x86_64"]
rpm {
spec = "tela-icon-theme.spec"
}
}
@@ -0,0 +1,38 @@
%global commit ba6354539f1b7802a15da662b35a3be287befb4d
%global commit_date 20250110
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: tela-icon-theme
Version: %commit_date.%shortcommit
Release: 1%?dist
Summary: Tela icon theme for linux desktops
License: GPL-3.0-only
URL: https://github.com/vinceliuice/Tela-icon-theme/
Source0: %url/archive/%commit/Tela-icon-theme-%commit.tar.gz
BuildArch: noarch
BuildRequires: gtk-update-icon-cache fdupes
%description
Tela icon theme for linux desktops.
%prep
%autosetup -n Tela-icon-theme-%{commit}
%build
%install
mkdir -p %{buildroot}%{_datadir}/themes
./install.sh -c -d %{buildroot}%{_datadir}/icons
%fdupes %buildroot%_datadir/icons/
%files
%license COPYING
%doc README.md
%{_datadir}/icons/Tela*/
%changelog
%autochangelog
+5
View File
@@ -0,0 +1,5 @@
rpm.global("commit", gh_commit("vinceliuice/Tela-icon-theme"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}