/[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 1586562 - (show annotations) (download)
Thu May 21 05:42:08 2020 UTC (3 years, 11 months ago) by daviddavid
Original Path: cauldron/gnofract4d/current/SPECS/gnofract4d.spec
File size: 1928 byte(s)
SILENT: fix files list

1 Name: gnofract4d
2 Version: 4.1
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.0.1-fix_desktop_file.patch
10 Patch1: gnofract4d-4.1-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 # Point the XSL file to where Mageia stores its docbook XSL files
30 sed -i 's|http://docbook.sourceforge.net/release/xsl/current|file://%{_datadir}/sgml/docbook/xsl-stylesheets|' doc/gnofract4d-manual/C/gnofract4d.xsl
31
32 %build
33 %py3_build
34
35 %install
36 %py3_install
37
38 #duplicate docs
39 rm -rf %{buildroot}%{_docdir}/%{name}
40
41 #fix rights
42 chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map
43
44 # install manapage
45 mkdir -p %{buildroot}%{_mandir}/man1/
46 install -m 0644 doc/gnofract4d.1 %{buildroot}%{_mandir}/man1/
47
48 %find_lang %{name} --with-gnome
49
50 %files -f %{name}.lang
51 %doc README.md
52 %license LICENSE
53 %{_bindir}/%{name}
54 %{_datadir}/%{name}/
55 %{_datadir}/pixmaps/%{name}*
56 %{_datadir}/mime/packages/%{name}-mime.xml
57 %{_datadir}/applications/%{name}.desktop
58 %{_mandir}/man1/%{name}.1*
59 %{python3_sitearch}/fract4d/
60 %{python3_sitearch}/fract4d_compiler/
61 %{python3_sitearch}/fract4dgui/
62 %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30