/[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 1647637 - (show annotations) (download)
Thu Nov 19 10:33:19 2020 UTC (3 years, 4 months ago) by daviddavid
Original Path: cauldron/gnofract4d/current/SPECS/gnofract4d.spec
File size: 1664 byte(s)
SILENT: fix build

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 BuildRequires: pkgconfig(python3)
11 BuildRequires: pkgconfig(libjpeg)
12 BuildRequires: pkgconfig(libpng)
13 #needed at runtime, see bug 9091
14 Requires: gcc
15
16 %description
17 Gnofract 4D is a free, open source program which allows anyone to
18 create beautiful images called fractals. The images are automatically
19 created by the computer based on mathematical principles.
20 These include the Mandelbrot and Julia sets and many more.
21 You don't need to do any math: you can explore a universe of images
22 just using a mouse.
23
24 %prep
25 %setup -q
26 %autopatch -p1
27
28 %build
29 %py3_build
30
31 %install
32 %py3_install
33
34 #duplicate docs
35 rm -rf %{buildroot}%{_docdir}/%{name}
36
37 #fix rights
38 chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map
39
40 # install manapage
41 mkdir -p %{buildroot}%{_mandir}/man1/
42 install -m 0644 doc/gnofract4d.1 %{buildroot}%{_mandir}/man1/
43
44 %find_lang %{name} --with-gnome
45
46 %files -f %{name}.lang
47 %doc README.md
48 %license LICENSE
49 %{_bindir}/%{name}
50 %{_datadir}/%{name}/
51 %{_datadir}/pixmaps/%{name}*
52 %{_datadir}/mime/packages/%{name}-mime.xml
53 %{_datadir}/applications/%{name}.desktop
54 %{_mandir}/man1/%{name}.1*
55 %{python3_sitearch}/fract4d/
56 %{python3_sitearch}/fract4d_compiler/
57 %{python3_sitearch}/fract4dgui/
58 %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30