1 |
Name: gnofract4d |
2 |
Version: 3.14 |
3 |
Release: %mkrel 2 |
4 |
Group: Graphics |
5 |
License: BSD |
6 |
Summary: Gnofract 4D: Superior Fractal Software |
7 |
Source: %{name}-%{version}.tar.gz |
8 |
Patch0: gnofract4d-3.13-fix_desktop_file.patch |
9 |
Patch1: gnofract4d-3.13-fix_libdl.patch |
10 |
URL: http://%{name}.sourceforge.net/ |
11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
12 |
|
13 |
BuildRequires: python-devel |
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 |
%__rm -rf %{buildroot} |
33 |
python setup.py install --root=%{buildroot} |
34 |
|
35 |
#duplicate docs |
36 |
rm -rf %{buildroot}%{_docdir}/%{name} |
37 |
|
38 |
#fix rights |
39 |
chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map |
40 |
|
41 |
%clean |
42 |
%__rm -rf %{buildroot} |
43 |
|
44 |
%files |
45 |
%defattr(-,root,root) |
46 |
%doc COPYING README |
47 |
%{_bindir}/%{name} |
48 |
%{_datadir}/%{name} |
49 |
%{_datadir}/pixmaps/%{name} |
50 |
%{_datadir}/pixmaps/%{name}-logo.png |
51 |
%{_datadir}/mime/packages/%{name}-mime.xml |
52 |
%{_datadir}/applications/%{name}.desktop |
53 |
%{_datadir}/gnome/help/%{name} |
54 |
%{python_sitearch}/fract4d |
55 |
%{python_sitearch}/fract4dgui |
56 |
%{python_sitearch}/fractutils |
57 |
%{python_sitearch}/%{name}-%{version}-py%{py_ver}.egg-info |
58 |
|
59 |
|