]> git.pld-linux.org Git - packages/aavga.git/blob - aavga.spec
- added the mouse_setscale.patch
[packages/aavga.git] / aavga.spec
1 Summary:        Simple svgalib dropin replacement that utilizes aalib
2 Summary(pl.UTF-8):      Prosta biblioteka zastępująca svgalib, oparta o aalib
3 Name:           aavga
4 Version:        1.0rc1
5 Release:        4
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/aa-project/%{name}-%{version}.tar.gz
9 # Source0-md5:  75c7c0be6d22ef52768568d5ec5c5c05
10 Patch0:         %{name}-update.patch
11 Patch1:         %{name}-mouse_setscale.patch
12 URL:            http://aa-project.sourceforge.net/aavga/
13 BuildRequires:  aalib-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 # note: no obsoletes for svgalib - vgagl.so.1 may be useful
16
17 %description
18 Drop-in replacement for svgalib to wrap around aa, a wonderful ascii
19 art library. Allows squake to run in text mode.
20
21 %description -l pl.UTF-8
22 Prosta biblioteka zastępująca svgalib, odwołująca się do aalib -
23 biblioteki wyświetlającej grafikę jako ascii art. aavga pozwala
24 uruchamiać programy korzystające z svgalib w trybie tekstowym.
25
26 %prep
27 %setup -q -n %{name}-1.0
28 %patch0 -p1
29 %patch1 -p1
30
31 %build
32 %{__cc} aavga.c -Wl,-soname,libvga.so.1 -o libvga.so.1.99.1 \
33         -shared -nostdlib -fPIC %{rpmldflags} %{rpmcflags} -laa
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_libdir}
38
39 install libvga.so.1.99.1 $RPM_BUILD_ROOT%{_libdir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %post   -p /sbin/ldconfig
45 %postun -p /sbin/ldconfig
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README
50 %attr(755,root,root) %{_libdir}/lib*
This page took 0.05649 seconds and 3 git commands to generate.