[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: more games

On Sun, Apr 24, 2005 at 10:53:04PM -0700, Michael A. Peters wrote:
> Is anyone working on a clanlib spec?

We have one here @ BU. (One of our goals is to merge all of this stuff into
Fedora Extras, but we're crazy busy with internal work right now.) I'll
stick it at the end of this message though, in case it helps.

> I have a personal one that builds, though I suspect it probably needs to
> be broken up more (I just have clanlib clanlib-devel and clanlib-doc)
> and I haven't done anything with the BuildRequires.

I don't see an advantage in breaking it up too much. Just adds confusion
without much practical gain -- it's not like it's that huge of a package. We
just have ClanLib and ClanLib-devel. (With most of the docs in -devel.)

Also, needs some cleanup, and now that I look at it closely, not sure
exactly why ExclusiveArch is in there.... So anyway:

Summary: The ClanLib Game SDK
Name: ClanLib
Version: 0.7.8
Release: %{bu_tag}7
License: LGPL
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Source: http://clanlib.org/~sphair/download/ClanLib-%{version}-1.tar.bz2
# not really based on this....
Source9999: clanlib.spec
URL: http://clanlib.org/
BuildRequires: zlib-devel mikmod libpng-devel Mesa-devel vorbis-tools libvorbis-devel lua
# whatever this is....
BuildConflicts: OpenPTC-devel
ExclusiveArch: i386 i486 i586 i686

# subsume pointless subpackages:
Provides: %{name}-gl %{name}-sound %{name}-network %{name}-vorbis %{name}-gui %{name}-mikmod

The ClanLib Game SDK is a crossplatform game library designed to ease the work
for game developers. The goal is to provide a common interface to classical
game problems (loading graphics eg.), so games can share as much code as
possible. Ideally anyone with small resources should be able to write
commercial quality games.

%package devel
Summary: ClanLib include files and static libraries for developers
Group: Development/Libraries
Requires: ClanLib = %{version}

%description devel
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package contains the header files and
development files needed to build ClanLib applications. If you're writing
or compiling programs using ClanLib, you want this. If you're just installing
binary game packages, you don't.

%setup -q

# Some people use HORRIBLE editors!!!
# Includes *MUST* end with a newline!
# Fix this up
for i in `find . -name "*.h" -type f`; do echo >>$i; done

%configure --enable-dyn \
           --enable-docs \
           --enable-clanDisplay \
           --enable-clanSDL \
           --enable-clanGL \
           --enable-clanSound \
           --enable-clanNetwork \
           --enable-clanGUI \
           --enable-clanMikMod \
           --enable-clanVorbis \
make %{?_smp_mflags} all

%makeinstall BIN_PREFIX=$RPM_BUILD_ROOT%{_bindir} LIB_PREFIX=$RPM_BUILD_ROOT%{_libdir} INC_PREFIX=$RPM_BUILD_ROOT%{_includedir} TARGET_PREFIX=$RPM_BUILD_ROOT%{_libdir}/%{name}

# clean up things that shouldn't be packaged
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%defattr(-, root, root)

%files devel
%defattr(-, root, root)
%doc %{_docdir}/clanlib/*

* Tue Mar 22 2005 Jeffrey A. Rogers <jeffr bu edu> 0.7.8-bu45.7
- Changed build requires from vorbis to vorbis-tools

* Fri Mar 18 2005 Jeffrey A. Rogers <jeffr bu edu> 0.7.8bu45.6
- Ported Bossanova's version into Velouria
- Velourized the spec file

* Wed Jun 02 2004 Matthew Miller <mattdm bu edu>
- update to 0.7.8 for Bossanova final release
- ooh, there's a new spec file in the tarball; syncing with that.
- ooh, no, even better: 
- oh. those both aren't the best. well, taking the best of both of
- getting rid of zillions of sub-packages. either you want ClanLib or
  you don't. The only sensible distinction is devel and plain.
- this version no longer requires Hermes-devel

* Thu Apr 15 2004 Joe Szep <jszep bu edu>
- rebuilt newer version for f2tc2

* Wed Apr 16 2003 Matthew Miller <mattdm bu edu>
- rebuilt for doolittle
- changed spec file name to StudlyCaps to match package name

* Wed Jan 08 2003 Joe Szep <jszep bu edu>
- update for Doolittle
- removed GL support as it doesn't even compile

* Wed Jul 24 2002 Joe Szep <jszep bu edu>
- bug fixes

* Mon Apr 29 2002 Joe Szep <jszep bu edu>
- new version, updated to Gigantic

* Fri Nov 16 2001 Joe Szep <jszep bu edu>
- initial BU release; updated to rh 7.2

Matthew Miller           mattdm mattdm org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 71 degrees Fahrenheit.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]