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