]> git.pld-linux.org Git - packages/libcaca.git/blob - libcaca.spec
- 0.6
[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 URL:            http://sam.zoy.org/projects/libcaca/
11 BuildRequires:  XFree86-devel
12 BuildRequires:  imlib2-devel
13 BuildRequires:  slang-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The libcaca library is a graphics library that outputs text instead of
18 pixels, so that it can work on older video cards or text terminals. It
19 is not unlike the famous AAlib library.
20
21 The differences with AAlib are the following:
22
23 - 16 available colours for character output (256 colour pairs)
24 - dithering of colour images
25 - basic sprite primitives
26
27 But libcaca also has the following limitations:
28
29 - no support for brightness, contrast, gamma
30 - unefficient character-choosing algorithms
31 - no raw keyboard support
32
33 %prep
34 %setup -q
35
36 %build
37 # TODO: fix configure, so it can find ncurses includes
38 %configure \
39         --prefix=%{_prefix} \
40         --enable-x11 \
41         --disable-ncurses \
42         --enable-slang
43
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS BUGS ChangeLog NEWS NOTES README TODO
56 %attr(755,root,root) %{_bindir}/*
57 %{_includedir}/*
58 %{_libdir}/*
59 %{_datadir}/%{name}
60 %{_mandir}/man1/*
This page took 0.038265 seconds and 4 git commands to generate.