Name: grafx2 Version: 2.4 Release: %mkrel 1 Summary: Ultimate 256-color bitmap paint program Group: Graphics/Editors and Converters License: GPLv2+ URL: http://pulkomandy.tk/projects/GrafX2 # http://pulkomandy.tk/projects/GrafX2/downloads Source0: %{name}-%{version}.2035-src.tgz Patch0: grafx2-2.4-mga-hicolor-icon.patch Patch1: grafx2-2.4-mga-desktop.patch BuildRequires: dos2unix BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(SDL_image) BuildRequires: pkgconfig(SDL_ttf) BuildRequires: pkgconfig(zlib) %description GrafX2 is a bitmap paint program inspired by the Amiga programs âDeluxe Paint and Brilliance. Specialized in 256-color drawing, it includes a very large number of tools and effects that make it particularly suitable for pixel art, game graphics, and generally any detailed graphics painted with a mouse. %prep %setup -q -n %{name} %apply_patches dos2unix doc/README.txt %build %setup_compile_flags %make -C src %install %makeinstall -C src install -D -m644 misc/unix/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files %doc doc/README.txt %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_iconsdir}/hicolor/scalable/apps/%{name}.svg %{_mandir}/man1/%{name}.1* %changelog * Wed Mar 04 2015 akien <akien> 2.4-1.mga5 + Revision: 817669 - imported package grafx2