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