Name: icoutils Version: 0.32.3 Release: 4 Summary: extract and convert Microsoft icon and cursor files License: GPLv3+ URL: http://www.nongnu.org/icoutils/ Source0: http://nongnu.askapache.com/%{name}/%{name}-%{version}.tar.bz2 # Possible security fix, at minimum it's a DoS. # Upstream commit d72956a6de228c91d1fc48fd15448fadea9ab6cf Patch1: 0001-wrestool-Fix-get_resource_id_quoted-to-return-heap-a.patch BuildRequires: autoconf automake gcc gettext libpng-devel perl-generators Provides: bundled(gnulib) %description The icoutils are a set of command-line programs for extracting and converting images in Microsoft Windows(R) icon and cursor files. These files usually have the extension .ico or .cur, but they can also be embedded in executables and libraries (.dll-files). %prep %autosetup -p1 autoreconf -i for f in AUTHORS NEWS; do iconv -f ISO88592 -t UTF8 < $f > $f.utf8 && \ touch -r $f $f.utf8 && \ mv $f.utf8 $f done %build %configure %make_build %install %make_install %find_lang %{name} %files -f %{name}.lang %doc README AUTHORS COPYING NEWS TODO ChangeLog %{_bindir}/extresso %{_bindir}/genresscript %{_bindir}/icotool %{_bindir}/wrestool %{_mandir}/man1/*.1* %changelog * Wed Feb 12 2020 openEuler Buildteam - 0.32.3-4 - Package init