Name: gnofract4d Version: 4.3 Release: %mkrel 1 Group: Graphics/Utilities License: BSD Summary: A fractal generation program for linux URL: http://fract4d.github.io/gnofract4d/ Source0: https://github.com/fract4d/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz Patch0: gnofract4d-4.3-fix_desktop_file.patch Patch1: gnofract4d-4.3-linking.patch BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) #needed at runtime, see bug 9091 Requires: gcc %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 %autopatch -p1 %build %py3_build %install %py3_install #duplicate docs rm -rf %{buildroot}%{_docdir}/%{name} #fix rights chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map # install manapage mkdir -p %{buildroot}%{_mandir}/man1/ install -m 0644 doc/gnofract4d.1 %{buildroot}%{_mandir}/man1/ %find_lang %{name} --with-gnome %files -f %{name}.lang %doc README.md %license LICENSE %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/pixmaps/%{name}* %{_datadir}/mime/packages/%{name}-mime.xml %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/%{name}.1* %{python3_sitearch}/fract4d/ %{python3_sitearch}/fract4d_compiler/ %{python3_sitearch}/fract4dgui/ %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info