1 |
ofaurax |
86912 |
Name: gnofract4d |
2 |
daviddavid |
1386067 |
Version: 4.0.1 |
3 |
umeabot |
1531316 |
Release: %mkrel 3 |
4 |
boklm |
344995 |
Group: Graphics/Utilities |
5 |
ofaurax |
86912 |
License: BSD |
6 |
wally |
1439422 |
Summary: A fractal generation program for linux |
7 |
daviddavid |
1386067 |
URL: http://edyoung.github.io/gnofract4d/ |
8 |
|
|
Source0: https://github.com/edyoung/gnofract4d/archive/v%{version}/%{name}-%{version}.tar.gz |
9 |
|
|
Patch0: gnofract4d-4.0.1-fix_desktop_file.patch |
10 |
|
|
Patch1: gnofract4d-4.0.1-fix_version.patch |
11 |
wally |
1439422 |
Patch2: python3.8.patch |
12 |
daviddavid |
1386067 |
BuildRequires: pkgconfig(python3) |
13 |
|
|
BuildRequires: pkgconfig(libjpeg) |
14 |
|
|
BuildRequires: pkgconfig(libpng) |
15 |
ofaurax |
464656 |
#needed at runtime, see bug 9091 |
16 |
|
|
Requires: gcc |
17 |
ofaurax |
86912 |
|
18 |
|
|
%description |
19 |
|
|
Gnofract 4D is a free, open source program which allows anyone to |
20 |
|
|
create beautiful images called fractals. The images are automatically |
21 |
|
|
created by the computer based on mathematical principles. |
22 |
|
|
These include the Mandelbrot and Julia sets and many more. |
23 |
|
|
You don't need to do any math: you can explore a universe of images |
24 |
|
|
just using a mouse. |
25 |
|
|
|
26 |
|
|
%prep |
27 |
|
|
%setup -q |
28 |
daviddavid |
1386067 |
%autopatch -p1 |
29 |
ofaurax |
86912 |
|
30 |
|
|
%build |
31 |
daviddavid |
1386067 |
%py3_build |
32 |
ofaurax |
86912 |
|
33 |
|
|
%install |
34 |
daviddavid |
1386067 |
%py3_install |
35 |
ofaurax |
86912 |
|
36 |
|
|
#duplicate docs |
37 |
|
|
rm -rf %{buildroot}%{_docdir}/%{name} |
38 |
|
|
|
39 |
|
|
#fix rights |
40 |
|
|
chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map |
41 |
|
|
|
42 |
daviddavid |
1386067 |
# install manapage |
43 |
|
|
mkdir -p %{buildroot}%{_mandir}/man1/ |
44 |
|
|
install -m 0644 doc/gnofract4d.1 %{buildroot}%{_mandir}/man1/ |
45 |
|
|
|
46 |
wally |
398861 |
%find_lang %{name} --with-gnome |
47 |
|
|
|
48 |
|
|
%files -f %{name}.lang |
49 |
ofaurax |
86912 |
%doc COPYING README |
50 |
|
|
%{_bindir}/%{name} |
51 |
daviddavid |
892427 |
%{_datadir}/%{name}/ |
52 |
ofaurax |
86912 |
%{_datadir}/pixmaps/%{name} |
53 |
|
|
%{_datadir}/pixmaps/%{name}-logo.png |
54 |
|
|
%{_datadir}/mime/packages/%{name}-mime.xml |
55 |
|
|
%{_datadir}/applications/%{name}.desktop |
56 |
daviddavid |
1386067 |
%{_mandir}/man1/%{name}.1* |
57 |
|
|
%{python3_sitearch}/fract4d/ |
58 |
|
|
%{python3_sitearch}/fract4dgui/ |
59 |
|
|
%{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info |