Name: gnofract4d Version: 3.14 Release: %mkrel 4 Group: Graphics/Utilities License: BSD Summary: Gnofract 4D: Superior Fractal Software URL: http://gnofract4d.sourceforge.net/ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: gnofract4d-3.13-fix_desktop_file.patch Patch1: gnofract4d-3.13-fix_libdl.patch BuildRequires: python-devel %description Gnofract 4D is a free, open source program which allows anyone to create beautiful images called fractals. The images are automatically created by the computer based on mathematical principles. These include the Mandelbrot and Julia sets and many more. You don't need to do any math: you can explore a universe of images just using a mouse. %prep %setup -q %patch0 -p0 %patch1 -p0 %build python setup.py build %install python setup.py install --root=%{buildroot} #duplicate docs rm -rf %{buildroot}%{_docdir}/%{name} #fix rights chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map %find_lang %{name} --with-gnome %files -f %{name}.lang %doc COPYING README %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/pixmaps/%{name} %{_datadir}/pixmaps/%{name}-logo.png %{_datadir}/mime/packages/%{name}-mime.xml %{_datadir}/applications/%{name}.desktop %{python_sitearch}/fract4d %{python_sitearch}/fract4dgui %{python_sitearch}/fractutils %{python_sitearch}/%{name}-%{version}-py%{py_ver}.egg-info