1 Summary: Graphics library that outputs text instead of pixels
2 Summary(pl): Biblioteka graficzna wy¶wietlaj±ca tekst zamiast pikseli
8 Source0: http://sam.zoy.org/projects/libcaca/%{name}-%{version}.tar.bz2
9 # Source0-md5: c7d5c46206091a9203fcb214abb25e4a
10 URL: http://sam.zoy.org/projects/libcaca/
11 BuildRequires: autoconf >= 2.50
12 BuildRequires: automake
13 BuildRequires: doxygen
14 BuildRequires: imlib2-devel
15 BuildRequires: libtool
16 BuildRequires: slang-devel
17 # shouldn't these be in doxygen requirements?
18 BuildRequires: tetex-fonts-jknappen
19 BuildRequires: tetex-makeindex
20 BuildRequires: XFree86-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define specflags -fomit-frame-pointer
26 The libcaca library is a graphics library that outputs text instead of
27 pixels, so that it can work on older video cards or text terminals. It
28 is not unlike the famous AAlib library.
30 The differences with AAlib are the following:
31 - 16 available colours for character output (256 colour pairs)
32 - dithering of colour images
33 - basic sprite primitives
35 But libcaca also has the following limitations:
36 - no support for brightness, contrast, gamma
37 - unefficient character-choosing algorithms
38 - no raw keyboard support
41 Biblioteka libcaca to biblioteka graficzna wy¶wietlaj±ca tekst zamiast
42 pikseli, dziêki czemu mo¿e dzia³aæ na starszych kartach graficznych
43 oraz terminalach tekstowych. Pod tym wzglêdem jest podobna do s³ynnej
46 Ró¿nice w stosunku do AAlib s± nastêpuj±ce:
47 - 16 dostêpnych kolorów dla znaków (256 par kolorów)
48 - dithering kolorowych obrazów
49 - proste kszta³ty duszków (sprites)
51 Ale libcaca ma tak¿e nastêpuj±ce ograniczenia:
52 - brak obs³ugi jasno¶ci, kontrakstu, korekcji gamma
53 - ma³o wydajne algorytmy wyboru znaków
54 - brak obs³ugi klawiatury w trybie surowym
57 Summary: Header files for libcaca library
58 Summary(pl): Pliki nag³ówkowe biblioteki libcaca
59 Group: Development/Libraries
60 # to be restored when switching to shared lib
61 #Requires: %{name} = %{version}-%{release}
65 Header files for libcaca library.
67 %description devel -l pl
68 Pliki nag³ówkowe biblioteki libcaca.
71 Summary: Static libcaca library
72 Summary(pl): Statyczna biblioteka libcaca
73 Group: Development/Libraries
74 Requires: %{name}-devel = %{version}-%{release}
77 Static libcaca library.
79 %description static -l pl
80 Statyczna biblioteka libcaca.
99 rm -rf $RPM_BUILD_ROOT
102 DESTDIR=$RPM_BUILD_ROOT
104 # replace symlink by groff include
105 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/caca{ball,fire,moir,plas}.1
106 echo '.so cacademo.1' > $RPM_BUILD_ROOT%{_mandir}/man1/cacaball.1
107 echo '.so cacademo.1' > $RPM_BUILD_ROOT%{_mandir}/man1/cacafire.1
108 echo '.so cacademo.1' > $RPM_BUILD_ROOT%{_mandir}/man1/cacamoir.1
109 echo '.so cacademo.1' > $RPM_BUILD_ROOT%{_mandir}/man1/cacaplas.1
112 rm -rf $RPM_BUILD_ROOT
114 #%post -p /sbin/ldconfig
115 #%postun -p /sbin/ldconfig
118 %defattr(644,root,root,755)
119 %doc AUTHORS BUGS ChangeLog NEWS NOTES README TODO
120 %attr(755,root,root) %{_bindir}/cacaball
121 %attr(755,root,root) %{_bindir}/cacademo
122 %attr(755,root,root) %{_bindir}/cacafire
123 %attr(755,root,root) %{_bindir}/cacamoir
124 %attr(755,root,root) %{_bindir}/cacaplas
125 %attr(755,root,root) %{_bindir}/cacaview
126 #%attr(755,root,root) %{_libdir}/libcaca.so.*.*.*
129 %{_mandir}/man1/cacaball.1*
130 %{_mandir}/man1/cacademo.1*
131 %{_mandir}/man1/cacafire.1*
132 %{_mandir}/man1/cacamoir.1*
133 %{_mandir}/man1/cacaplas.1*
134 %{_mandir}/man1/cacaview.1*
137 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_bindir}/caca-config
140 #%attr(755,root,root) %{_libdir}/libcaca.so
141 #%{_libdir}/libcaca.la
143 %{_libdir}/libcaca_pic.a
145 %{_mandir}/man1/caca-config.1*
146 # man3 pages have too common base names to be included
149 #%defattr(644,root,root,755)
150 #%{_libdir}/libcaca.a