diff --git a/anda/tools/xcur2png/anda.hcl b/anda/tools/xcur2png/anda.hcl new file mode 100644 index 0000000000..a357557434 --- /dev/null +++ b/anda/tools/xcur2png/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "xcur2png.spec" + } +} diff --git a/anda/tools/xcur2png/update.rhai b/anda/tools/xcur2png/update.rhai new file mode 100644 index 0000000000..c2a27a2089 --- /dev/null +++ b/anda/tools/xcur2png/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("eworm-de/xcur2png")); diff --git a/anda/tools/xcur2png/xcur2png.spec b/anda/tools/xcur2png/xcur2png.spec new file mode 100644 index 0000000000..9e125ef91c --- /dev/null +++ b/anda/tools/xcur2png/xcur2png.spec @@ -0,0 +1,38 @@ +%global _distro_extra_cflags -Wno-parenthesis -Wno-implicit-int + +Name: xcur2png +Version: 0.7.1 +Release: 1%{?dist} +License: GPL-3.0-or-later +Summary: Convert X cursors to PNG images +URL: https://github.com/eworm-de/xcur2png +Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz +Packager: Metcya + +BuildRequires: gcc +BuildRequires: make +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(xcursor) + +%description +xcur2png is a program which let you take PNG image from X cursor, and generate config-file which is reusable by xcursorgen. To put it simply, it is converter from X cursor to PNG image. + +%prep +%autosetup + +%build +%configure +%make_build + +%install +%make_install + +%files +%license COPYING +%doc AUTHORS INSTALL NEWS README +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* + +%changelog +* Sat Dec 13 2025 Metcya - 0.7.1 +- package xcur2png