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