]> git.pld-linux.org Git - SPECS.git/blob - gnofract4d.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / gnofract4d.spec
1 Summary:        gnofract4d - GNOME-based program to draw fractals
2 Summary(pl.UTF-8):      gnofract4d - program do rysowania fraktali pod GNOME
3 Name:           gnofract4d
4 Version:        4.3
5 Release:        1
6 License:        BSD
7 Group:          X11/Applications/Graphics
8 Source0:        https://github.com/fract4d/gnofract4d/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  d815353c682eab9787e2fdad26f625ba
10 URL:            https://fract4d.github.io/gnofract4d/
11 Patch0:         %{name}-desktop.patch
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  pkgconfig
14 BuildRequires:  python3-devel
15 BuildRequires:  python3-modules
16 BuildRequires:  rpm-pythonprov
17 BuildRequires:  sed >= 4.0
18 Requires:       python3-pygobject3
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Gnofract 4D is a GNOME-based program to draw fractals. What sets it
23 apart from other fractal programs (and makes it "4D") is the way that
24 it treats the Mandelbrot and Julia sets as different views of the same
25 four-dimensional fractal object.
26
27 %description -l pl.UTF-8
28 Gnofract 4D jest program do rysowania fraktali pod GNOME. To, co
29 odróżnia ten go od innych programów do fraktali (i czyni go "4D"), to
30 sposób, w jaki traktuje zbiory Mandelbrota i Julia - jako różne widoki
31 tego samego, czterowymiarowego obiektu fraktalnego.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 %build
38 sed -i -e "s#/usr/lib/%{name}-%{version}#%{_libdir}/%{name}-%{version}#g" \
39         setup.cfg gnofract4d
40
41 %py3_build
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %py3_install
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %post
52 %update_desktop_database_post
53 %update_mime_database
54
55 %postun
56 %update_desktop_database_post
57 %update_mime_database
58
59 %files
60 %defattr(644,root,root,755)
61 %doc LICENSE README.md
62 %attr(755,root,root) %{_bindir}/*
63 %{py3_sitedir}/*fract*
64 %{_datadir}/%{name}
65 %{_datadir}/mime/packages/*
66 %{_pixmapsdir}/gnofract4d.png
67 %{_desktopdir}/gnofract4d.desktop
68 %{_iconsdir}/hicolor/*x*/apps/gnofract4d.png
This page took 0.89096 seconds and 3 git commands to generate.