From d7e16285e40f7911944a26045eda3d8afdcf2398 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 14 Dec 2024 09:02:41 -0800 Subject: [PATCH] add: icoextract-thumbnailer (#2618) (#2622) (cherry picked from commit 258be4ae73d35eb15aeb02d44c098975079b74a1) Co-authored-by: Cappy Ishihara --- anda/misc/icoextract-thumbnailer/anda.hcl | 6 +++ .../icoextract-thumbnailer.spec | 37 +++++++++++++++++++ anda/misc/icoextract-thumbnailer/update.rhai | 1 + 3 files changed, 44 insertions(+) create mode 100644 anda/misc/icoextract-thumbnailer/anda.hcl create mode 100644 anda/misc/icoextract-thumbnailer/icoextract-thumbnailer.spec create mode 100644 anda/misc/icoextract-thumbnailer/update.rhai diff --git a/anda/misc/icoextract-thumbnailer/anda.hcl b/anda/misc/icoextract-thumbnailer/anda.hcl new file mode 100644 index 0000000000..4d1200fcd7 --- /dev/null +++ b/anda/misc/icoextract-thumbnailer/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "icoextract-thumbnailer.spec" + } +} diff --git a/anda/misc/icoextract-thumbnailer/icoextract-thumbnailer.spec b/anda/misc/icoextract-thumbnailer/icoextract-thumbnailer.spec new file mode 100644 index 0000000000..72bd6402b5 --- /dev/null +++ b/anda/misc/icoextract-thumbnailer/icoextract-thumbnailer.spec @@ -0,0 +1,37 @@ +Name: icoextract-thumbnailer +Version: 0.1.5 +Release: 1%{?dist} +Summary: XDG-compatible thumbnailer for Windows PE executables + +URL: https://github.com/jlu5/icoextract/ +License: MIT +Source0: %{url}/raw/refs/tags/%{version}/exe-thumbnailer.thumbnailer +Packager: Cappy Ishihara +BuildArch: noarch +BuildRequires: /usr/bin/install +Requires: python3dist(icoextract) + + +%description +%{summary}. +This package supplements icoextract by providing the thumbnailer configuration file for file managers +that support XDG thumbnailers, such as Nautilus, Dolphin and Thunar. + +%prep + +%build + + + +%install +install -Dm644 %{SOURCE0} %{buildroot}%{_datadir}/thumbnailers/exe-thumbnailer.thumbnailer + + +%files +%{_datadir}/thumbnailers/exe-thumbnailer.thumbnailer + + + +%changelog +* Sat Dec 14 2024 Cappy Ishihara +- Initial package diff --git a/anda/misc/icoextract-thumbnailer/update.rhai b/anda/misc/icoextract-thumbnailer/update.rhai new file mode 100644 index 0000000000..622bc63ada --- /dev/null +++ b/anda/misc/icoextract-thumbnailer/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("jlu5/icoextract")); \ No newline at end of file