From c3847cf1ee8710a4f2e844aa89602ed3ab1c63b6 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sat, 14 Dec 2024 23:55:29 +0700 Subject: [PATCH] add: icoextract-thumbnailer (#2618) (cherry picked from commit 258be4ae73d35eb15aeb02d44c098975079b74a1) --- 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