Description: libopenw is a libary that uses ansi codes for giving you cool windows with shadows etc, and a bonus of location() and color() functions.
Name: libopenw
Version: 1.0.0
Release: 1
Source: openw.tar.gz
Copyright: GPL
Group: Libs

%prep
%setup


%build
gcc -fPIC -c *.c
gcc -shared -Wl,-soname,libopenw.so.1 -o /usr/lib/libopenw.so.1.0 *.o
ln -s /usr/lib/libopenw.so.1.0 /usr/lib/libopenw.so.1
ln -s /usr/lib/libopenw.so.1 /usr/lib/libopenw.so

%install
ldconfig
cp dos.fnt /usr/lib

%files
/usr/lib/libopenw.so.1.0
/usr/lib/libopenw.so.1
/usr/lib/libopenw.so
%doc README
/usr/lib/dos.fnt
