Add masks to all channels in SDL_CreateRGBSurface calls
[sdl_tbmf.git] / SDL_tbmf.spec.in
blobb2df82e26c3dc4dda1bf915a0f20bf9adce61665
1 %define name @PACKAGE@
2 %define version @VERSION@
3 %define release 1
5 Summary: Library for reading TBMF font files
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 Group: System Environment/Libraries
10 Source: %{name}-%{version}.tar.bz2
11 Copyright: GPL
12 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13 Prefix: %{_prefix}
15 %description
16 This library allows you to read TBMF files in your SDL program
18 %package devel
19 Summary: Libraries, includes and more to develop SDL applications.
20 Group: Development/Libraries
21 Requires: %{name}
23 %description devel
24 This library allows you to read TBMF files in your SDL program
26 %prep
27 %setup
29 %build
30 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
31 make
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 make DESTDIR=$RPM_BUILD_ROOT install
37 %clean
38 rm -rf $RPM_BUILD_ROOT
40 %files
41 %defattr(-,root,root)
42 %doc ChangeLog COPYING INSTALL INSTALL.RPM NEWS README TODO doc/TBMF-spec.txt
43 %{prefix}/lib/lib*.so.*
45 %files devel
46 %defattr(-,root,root)
47 %{prefix}/lib/lib*.a
48 %{prefix}/lib/lib*.la
49 %{prefix}/lib/lib*.so
50 %{prefix}/include/SDL/
52 %changelog
53 * Fri Jun 07 2002 Tuomas Suutari <tume@nuoli.com>
54 - Specfile changes to make this package relocateable.
56 * Sat Apr 06 2002 Tuomas Suutari <tume@nuoli.com>
57 - initial spec file