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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1586562 - (hide 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 ofaurax 86912 Name: gnofract4d
2 daviddavid 1586344 Version: 4.1
3     Release: %mkrel 1
4 boklm 344995 Group: Graphics/Utilities
5 ofaurax 86912 License: BSD
6 wally 1439422 Summary: A fractal generation program for linux
7 daviddavid 1586344 URL: http://fract4d.github.io/gnofract4d/
8     Source0: https://github.com/fract4d/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
9 daviddavid 1386067 Patch0: gnofract4d-4.0.1-fix_desktop_file.patch
10 daviddavid 1586561 Patch1: gnofract4d-4.1-linking.patch
11 daviddavid 1386067 BuildRequires: pkgconfig(python3)
12     BuildRequires: pkgconfig(libjpeg)
13     BuildRequires: pkgconfig(libpng)
14 ofaurax 464656 #needed at runtime, see bug 9091
15     Requires: gcc
16 ofaurax 86912
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 daviddavid 1386067 %autopatch -p1
28 ofaurax 86912
29 daviddavid 1586344 # 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 ofaurax 86912 %build
33 daviddavid 1386067 %py3_build
34 ofaurax 86912
35     %install
36 daviddavid 1386067 %py3_install
37 ofaurax 86912
38     #duplicate docs
39     rm -rf %{buildroot}%{_docdir}/%{name}
40    
41     #fix rights
42     chmod 644 %{buildroot}%{_datadir}/%{name}/maps/royal.map
43    
44 daviddavid 1386067 # install manapage
45     mkdir -p %{buildroot}%{_mandir}/man1/
46     install -m 0644 doc/gnofract4d.1 %{buildroot}%{_mandir}/man1/
47    
48 wally 398861 %find_lang %{name} --with-gnome
49    
50     %files -f %{name}.lang
51 daviddavid 1586344 %doc README.md
52     %license LICENSE
53 ofaurax 86912 %{_bindir}/%{name}
54 daviddavid 892427 %{_datadir}/%{name}/
55 daviddavid 1586562 %{_datadir}/pixmaps/%{name}*
56 ofaurax 86912 %{_datadir}/mime/packages/%{name}-mime.xml
57     %{_datadir}/applications/%{name}.desktop
58 daviddavid 1386067 %{_mandir}/man1/%{name}.1*
59     %{python3_sitearch}/fract4d/
60 daviddavid 1586344 %{python3_sitearch}/fract4d_compiler/
61 daviddavid 1386067 %{python3_sitearch}/fract4dgui/
62     %{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30