/[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 1647640 - (show annotations) (download)
Thu Nov 19 10:41:06 2020 UTC (3 years, 5 months ago) by daviddavid
Original Path: cauldron/gnofract4d/current/SPECS/gnofract4d.spec
File size: 1660 byte(s)
SILENT: fix files list

1 Name: gnofract4d
2 Version: 4.3
3 Release: %mkrel 1
4 Group: Graphics/Utilities
5 License: BSD
6 Summary: A fractal generation program for linux
7 URL: http://fract4d.github.io/gnofract4d/
8 Source0: https://github.com/fract4d/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
9 Patch0: gnofract4d-4.3-fix_desktop_file.patch
10 Patch1: gnofract4d-4.3-linking.patch
11 BuildRequires: pkgconfig(python3)
12 BuildRequires: pkgconfig(libjpeg)
13 BuildRequires: pkgconfig(libpng)
14 #needed at runtime, see bug 9091
15 Requires: gcc
16
17 %description
18 Gnofract 4D is a free, open source program which allows anyone to
19 create beautiful images called fractals. The images are automatically
20 created by the computer based on mathematical principles.
21 These include the Mandelbrot and Julia sets and many more.
22 You don't need to do any math: you can explore a universe of images
23 just using a mouse.
24
25 %prep
26 %setup -q
27 %autopatch -p1
28
29 %build
30 %py3_build
31
32 %install
33 %py3_install
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 # install manapage
42 mkdir -p %{buildroot}%{_mandir}/man1/
43 install -m 0644 doc/gnofract4d.1 %{buildroot}%{_mandir}/man1/
44
45 %files
46 %doc README.md
47 %license LICENSE
48 %{_bindir}/%{name}
49 %{_datadir}/%{name}/
50 %{_datadir}/pixmaps/%{name}*
51 %{_datadir}/mime/packages/%{name}-mime.xml
52 %{_datadir}/applications/%{name}.desktop
53 %{_mandir}/man1/%{name}.1*
54 %{python3_sitearch}/fract4d/
55 %{python3_sitearch}/fract4d_compiler/
56 %{python3_sitearch}/fract4dgui/
57 %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30