]> git.pld-linux.org Git - packages/aavga.git/blob - aavga.spec
- use http for sources from sourceforge
[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 Source0:        http://dl.sourceforge.net/aa-project/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-update.patch
10 URL:            http://aa-project.sourceforge.net/aavga/
11 BuildRequires:  aalib-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 # note: no obsoletes for svgalib - vgagl.so.1 may be useful
14
15 %description
16 Drop-in replacement for svgalib to wrap around aa, a wonderful ascii
17 art library. Allows squake to run in text mode.
18
19 %description -l pl
20 Prosta biblioteka zastêpuj±ca svgalib, odwo³uj±ca siê do aalib -
21 biblioteki wy¶wietlaj±cej grafikê jako ascii art. aavga pozwala
22 uruchamiaæ programy korzystaj±ce z svgalib w trybie tekstowym.
23
24 %prep
25 %setup -q -n %{name}-1.0
26 %patch -p1
27
28 %build
29 %{__cc} aavga.c -Wl,-soname,libvga.so.1 -o libvga.so.1.99.1 \
30         -shared -nostdlib -fPIC %{rpmldflags} %{rpmcflags} -laa
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_libdir}
35
36 install libvga.so.* $RPM_BUILD_ROOT%{_libdir}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %post   -p /sbin/ldconfig
42 %postun -p /sbin/ldconfig
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README 
47 %attr(755,root,root) %{_libdir}/*
This page took 0.035114 seconds and 4 git commands to generate.