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: 0540e5c24aa6747c67805958185afe3b
10 Patch0: %{name}-shared.patch
11 URL: http://sam.zoy.org/projects/libcaca/
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake
14 BuildRequires: imlib2-devel
15 BuildRequires: libtool
16 BuildRequires: slang-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define specflags -fomit-frame-pointer
22 The libcaca library is a graphics library that outputs text instead of
23 pixels, so that it can work on older video cards or text terminals. It
24 is not unlike the famous AAlib library.
26 The differences with AAlib are the following:
27 - 16 available colours for character output (256 colour pairs)
28 - dithering of colour images
29 - basic sprite primitives
31 But libcaca also has the following limitations:
32 - no support for brightness, contrast, gamma
33 - unefficient character-choosing algorithms
34 - no raw keyboard support
37 Biblioteka libcaca to biblioteka graficzna wy¶wietlaj±ca tekst zamiast
38 pikseli, dziêki czemu mo¿e dzia³aæ na starszych kartach graficznych
39 oraz terminalach tekstowych. Pod tym wzglêdem jest podobna do s³ynnej
42 Ró¿nice w stosunku do AAlib s± nastêpuj±ce:
43 - 16 dostêpnych kolorów dla znaków (256 par kolorów)
44 - dithering kolorowych obrazów
45 - proste kszta³ty duszków (sprites)
47 Ale libcaca ma tak¿e nastêpuj±ce ograniczenia:
48 - brak obs³ugi jasno¶ci, kontrakstu, korekcji gamma
49 - ma³o wydajne algorytmy wyboru znaków
50 - brak obs³ugi klawiatury w trybie surowym
53 Summary: Header files for libcaca library
54 Summary(pl): Pliki nag³ówkowe biblioteki libcaca
55 Group: Development/Libraries
56 Requires: %{name} = %{version}-%{release}
60 Header files for libcaca library.
62 %description devel -l pl
63 Pliki nag³ówkowe biblioteki libcaca.
66 Summary: Static libcaca library
67 Summary(pl): Statyczna biblioteka libcaca
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
72 Static libcaca library.
74 %description static -l pl
75 Statyczna biblioteka libcaca.
95 rm -rf $RPM_BUILD_ROOT
98 DESTDIR=$RPM_BUILD_ROOT
101 rm -rf $RPM_BUILD_ROOT
103 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
107 %defattr(644,root,root,755)
108 %doc AUTHORS BUGS ChangeLog NEWS NOTES README TODO
109 %attr(755,root,root) %{_bindir}/caca-spritedit
110 %attr(755,root,root) %{_bindir}/cacademo
111 %attr(755,root,root) %{_bindir}/cacafire
112 %attr(755,root,root) %{_bindir}/cacaview
113 %attr(755,root,root) %{_libdir}/libcaca.so.*.*.*
115 %{_mandir}/man1/caca-spritedit.1*
116 %{_mandir}/man1/cacademo.1*
117 %{_mandir}/man1/cacafire.1*
118 %{_mandir}/man1/cacaview.1*
121 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_bindir}/caca-config
124 %attr(755,root,root) %{_libdir}/libcaca.so
125 %{_libdir}/libcaca.la
127 # man3 pages have too common base names to be included
130 %defattr(644,root,root,755)