]> git.pld-linux.org Git - packages/libcaca.git/blob - libcaca.spec
- pl description
[packages/libcaca.git] / libcaca.spec
1 Summary:        Graphics library that outputs text instead of pixels
2 Summary(pl):    Biblioteka graficzna wy¶wietlaj±ca tekst zamiast pikseli
3 Name:           libcaca
4 Version:        0.6
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
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)
18
19 %define         specflags       -fomit-frame-pointer
20
21 %description
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.
25
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
30
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
35
36 %description -l pl
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
40 biblioteki AAlib.
41
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)
46
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
51
52 %package devel
53 Summary:        Header files for libcaca library
54 Summary(pl):    Pliki nag³ówkowe biblioteki libcaca
55 Group:          Development/Libraries
56 Requires:       %{name} = %{version}-%{release}
57 Requires:       slang-devel
58
59 %description devel
60 Header files for libcaca library.
61
62 %description devel -l pl
63 Pliki nag³ówkowe biblioteki libcaca.
64
65 %package static
66 Summary:        Static libcaca library
67 Summary(pl):    Statyczna biblioteka libcaca
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Static libcaca library.
73
74 %description static -l pl
75 Statyczna biblioteka libcaca.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80
81 %build
82 %{__libtoolize}
83 %{__aclocal}
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure \
88         --disable-x11 \
89         --disable-ncurses \
90         --enable-slang
91
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
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.*.*.*
114 %{_datadir}/%{name}
115 %{_mandir}/man1/caca-spritedit.1*
116 %{_mandir}/man1/cacademo.1*
117 %{_mandir}/man1/cacafire.1*
118 %{_mandir}/man1/cacaview.1*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %doc doc/html/*
123 %attr(755,root,root) %{_bindir}/caca-config
124 %attr(755,root,root) %{_libdir}/libcaca.so
125 %{_libdir}/libcaca.la
126 %{_includedir}/*.h
127 # man3 pages have too common base names to be included
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/libcaca.a
This page took 0.061794 seconds and 4 git commands to generate.