/[packages]/updates/8/gnofract4d/current/SPECS/gnofract4d.spec
ViewVC logotype

Contents of /updates/8/gnofract4d/current/SPECS/gnofract4d.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1439422 - (show annotations) (download)
Tue Sep 10 17:20:11 2019 UTC (4 years, 6 months ago) by wally
Original Path: cauldron/gnofract4d/current/SPECS/gnofract4d.spec
File size: 1730 byte(s)
- rebuild for python3.8
1 Name: gnofract4d
2 Version: 4.0.1
3 Release: %mkrel 2
4 Group: Graphics/Utilities
5 License: BSD
6 Summary: A fractal generation program for linux
7 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 Patch2: python3.8.patch
12 BuildRequires: pkgconfig(python3)
13 BuildRequires: pkgconfig(libjpeg)
14 BuildRequires: pkgconfig(libpng)
15 #needed at runtime, see bug 9091
16 Requires: gcc
17
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 %autopatch -p1
29
30 %build
31 %py3_build
32
33 %install
34 %py3_install
35
36 #duplicate docs
37 rm -rf %{buildroot}%{_docdir}/%{name}
38
39 #fix rights
40 chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map
41
42 # install manapage
43 mkdir -p %{buildroot}%{_mandir}/man1/
44 install -m 0644 doc/gnofract4d.1 %{buildroot}%{_mandir}/man1/
45
46 %find_lang %{name} --with-gnome
47
48 %files -f %{name}.lang
49 %doc COPYING README
50 %{_bindir}/%{name}
51 %{_datadir}/%{name}/
52 %{_datadir}/pixmaps/%{name}
53 %{_datadir}/pixmaps/%{name}-logo.png
54 %{_datadir}/mime/packages/%{name}-mime.xml
55 %{_datadir}/applications/%{name}.desktop
56 %{_mandir}/man1/%{name}.1*
57 %{python3_sitearch}/fract4d/
58 %{python3_sitearch}/fract4dgui/
59 %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30