1 |
Name: gnofract4d |
2 |
Version: 3.14.1 |
3 |
Release: %mkrel 5 |
4 |
Group: Graphics/Utilities |
5 |
License: BSD |
6 |
Summary: Gnofract 4D: Superior Fractal Software |
7 |
URL: http://gnofract4d.sourceforge.net/ |
8 |
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 |
9 |
Patch0: gnofract4d-3.13-fix_desktop_file.patch |
10 |
Patch1: gnofract4d-3.13-fix_libdl.patch |
11 |
BuildRequires: python-devel |
12 |
#needed at runtime, see bug 9091 |
13 |
Requires: gcc |
14 |
|
15 |
%description |
16 |
Gnofract 4D is a free, open source program which allows anyone to |
17 |
create beautiful images called fractals. The images are automatically |
18 |
created by the computer based on mathematical principles. |
19 |
These include the Mandelbrot and Julia sets and many more. |
20 |
You don't need to do any math: you can explore a universe of images |
21 |
just using a mouse. |
22 |
|
23 |
%prep |
24 |
%setup -q |
25 |
%patch0 -p0 |
26 |
%patch1 -p0 |
27 |
|
28 |
%build |
29 |
python setup.py build |
30 |
|
31 |
%install |
32 |
python setup.py install --root=%{buildroot} |
33 |
|
34 |
#duplicate docs |
35 |
rm -rf %{buildroot}%{_docdir}/%{name} |
36 |
|
37 |
#fix rights |
38 |
chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map |
39 |
|
40 |
%find_lang %{name} --with-gnome |
41 |
|
42 |
%files -f %{name}.lang |
43 |
%doc COPYING README |
44 |
%{_bindir}/%{name} |
45 |
%{_datadir}/%{name} |
46 |
%{_datadir}/pixmaps/%{name} |
47 |
%{_datadir}/pixmaps/%{name}-logo.png |
48 |
%{_datadir}/mime/packages/%{name}-mime.xml |
49 |
%{_datadir}/applications/%{name}.desktop |
50 |
%{python_sitearch}/fract4d |
51 |
%{python_sitearch}/fract4dgui |
52 |
%{python_sitearch}/fractutils |
53 |
%{python_sitearch}/%{name}-%{version}-py%{py_ver}.egg-info |