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