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