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