From 2194ed55925cf122c58db5f5e37672290998573c Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sat, 14 Dec 2024 23:51:49 +0700 Subject: [PATCH] add: icoextract-thumbnailer --- 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 000000000..4d1200fcd --- /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 000000000..72bd6402b --- /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 000000000..622bc63ad --- /dev/null +++ b/anda/misc/icoextract-thumbnailer/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("jlu5/icoextract")); \ No newline at end of file