]> git.pld-linux.org Git - packages/XaoS.git/blob - XaoS.spec
- typos
[packages/XaoS.git] / XaoS.spec
1 #
2 # Conditional build:
3 #
4 # _without_aa                   - without aalib output support
5 # _without_svga                 - without svga output support
6 # _without_ncurses              - without ncurses output support
7
8 Summary:        A fast, portable real-time interactive fractal zoomer.
9 Summary(pl):    Szybki, przeno¶ny i interaktywny explorator fraktali
10 Name:           XaoS
11 Version:        3.0
12 Release:        1
13 License:        GPL
14 Group:          X11/Applications
15 Group(de):      X11/Applikationen
16 Group(pl):      X11/Aplikacje
17 URL:            http://limax.paru.cas.cz/~hubicka/XaoS/index.html
18 Source0:        ftp://sunsite.unc.edu/pub/Linux/X11/xapps/graphics/%{name}-%{version}.tar.gz
19 Source1:        %{name}.desktop
20 Patch0:         %{name}-nosuid.patch
21 Patch1:         %{name}-brokenasm.patch
22 BuildRequires:  XFree86-devel
23 BuildRequires:  libpng-devel
24 %{!?_without_aa:BuildRequires:          aalib-devel}
25 %{!?_without_svga:BuildRequires:        svgalib-devel}
26 %{!?_without_ncurses:BuildRequires:     ncurses-devel}
27 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _prefix         /usr/X11R6
30 %define         _mandir         %{_prefix}/man
31
32 %description
33 XaoS is a fast portable real-time interactive fractal zoomer. It
34 supports outputs such as X11, aalib, ncurses and SVGAlib. It displays
35 the Mandelbrot set (among other escape time fractals) and allows you
36 zoom smoothly into the fractal. Various coloring modes are provided
37 for both the points inside and outside the selected set. In addition,
38 switching between Julia and Mandelbrot fractal types is provided. The
39 first version was a poorly written Mandelbrot view by Thomas later
40 modified by Jan to support high frame-rate zooming. Other additions
41 were later made including autopilot (for those of you without drivers
42 licenses), palette changing, PNG saving, and fractal inversion.
43
44 %description -l pl
45 XaoS jest szybkim, przeno¶nym i interaktywnym exploratorem fraktali.
46 Efekty jego dzia³ania mo¿na ogl±daæ z u¿yciem drajwerów X11, aalib,
47 ncurses oraz SVGAlib. XaoS wy¶wietla zbiór Mandelbrota (i nie tylko) i
48 pozwala na p³ynne powiêkszanie/pomniejszanie widocznego zakresu.
49 Dostêpne s± ró¿ne rodzaje kolorowania dla punktów w wybranym zbiorze,
50 jak i poza nim. Dodatkowo, mo¿liwe jest prze³±czanie miêdzy fraktalem
51 Mandelbrota, a odpowiadaj±cym mu fraktalem Julii (i w drug± stronê).
52 Piwrwsza wersja (Tomasa) by³a kiepsko napisanym wy¶wietlaczem zbioru 
53 Mandelbrota. Zosta³a zmodyfikowana przez Jana aby umo¿liwiaæ
54 szybkie powiêkszanie. Inne zmiany, zrobione pó¼niej to autopilot, zmiana
55 palety, zapisywanie PNG i inwersja fraktali.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60 %patch1 -p1
61
62 %build
63 autoconf
64 %configure \
65         --with-x \
66         --with-x11-driver=yes \
67         %{?_without_aa:         --with-aa-driver=no} \
68         %{?_without_ncurses:    --with-curses-driver=no} \
69         %{?_without_svga:       --with-svga-driver=no}
70         
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 install -d $RPM_BUILD_ROOT%{_datadir}/XaoS
77 install -d $RPM_BUILD_ROOT%{_datadir}/XaoS/tutorial
78 install -d $RPM_BUILD_ROOT%{_datadir}/XaoS/examples
79 install -d $RPM_BUILD_ROOT%{_datadir}/XaoS/catalogs
80 install -d $RPM_BUILD_ROOT%{_datadir}/XaoS/doc
81 install -d $RPM_BUILD_ROOT%{_bindir}
82 install -d $RPM_BUILD_ROOT%{_mandir}/man6
83 install -d $RPM_BUILD_ROOT%{_infodir}
84 install -d $RPM_BUILD_ROOT%{_applnkdir}
85 install bin/xaos $RPM_BUILD_ROOT%{_bindir}
86 install tutorial/*.x[ah]f $RPM_BUILD_ROOT%{_datadir}/XaoS/tutorial
87 install examples/* $RPM_BUILD_ROOT%{_datadir}/XaoS/examples
88 install catalogs/* $RPM_BUILD_ROOT%{_datadir}/XaoS/catalogs
89 install doc/README doc/README.bugs doc/compilers.txt doc/ANNOUNCE doc/PROBLEMS doc/tutorial.txt $RPM_BUILD_ROOT%{_datadir}/XaoS/doc
90 install doc/xaos.6 $RPM_BUILD_ROOT%{_mandir}/man6
91 install doc/xaos.info $RPM_BUILD_ROOT%{_infodir}
92 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}
93         
94 gzip -9nf doc/README doc/README.bugs doc/compilers.txt doc/ANNOUNCE doc/PROBLEMS doc/tutorial.txt
95
96 %post
97 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
98
99 %postun
100 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %files
106 %defattr(644,root,root,755)
107 %dir %{_datadir}/XaoS
108 %dir %{_datadir}/XaoS/tutorial
109 %dir %{_datadir}/XaoS/examples
110 %dir %{_datadir}/XaoS/catalogs
111 %attr(755,root,root) %{_bindir}/xaos
112 %doc doc/*.gz
113 %{_mandir}/man6/*
114 %{_infodir}/*.info*
115 %{_datadir}/XaoS/tutorial/*
116 %{_datadir}/XaoS/examples/*
117 %{_datadir}/XaoS/catalogs/*
This page took 0.0422 seconds and 4 git commands to generate.