File black-box.spec of Package black-box
#
# spec file for package black-box (Version 1.4.8)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: black-box
BuildRequires: SDL_image-devel SDL_mixer-devel xorg-x11
License: GPL v2 or later
Group: Amusements/Games/Board/Puzzle
Summary: Puzzle Game
Version: 1.4.8
Release: 1
Url: http://www.linux-games.com/black-box/
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.patch
Patch2: %{name}-%{version}-range.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A puzzle game.
Authors:
--------
Karl Bartel <karlb@gmx.net>
%prep
%setup
%patch
%patch2
%build
%{suse_update_config -f}
aclocal
automake -a
autoconf
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=/usr
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README
/usr/bin/black-box
/usr/share/black-box
%changelog
* Fri Jan 09 2009 mseben@suse.cz
- upgrade to version 1.4.8
* Updated autotools files
* Updated acinclude.m4 (for SDL)
* Applied patch by Javier Serrano Polo:
- Remove compilation warnings
- Fix buffer overflows
- Erase previous level text
- Fix level command option
- Reuse path calculation function
- Avoid repeated crystal generation
- Fix window title
- obsoletes black-box-*-uninitialized.patch
- updated black-box-*-range.patch
* Sat May 27 2006 schwab@suse.de
- Don't strip binaries.
- Fix out-of-range array access.
* Fri Feb 24 2006 lmichnovic@suse.cz
- fixed uninitialized variable [#152888]
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 lmichnovic@suse.cz
- upgrade to version 1.4.7
* Tue Sep 20 2005 lmichnovic@suse.cz
- fixed gcc warnings
* Thu May 13 2004 ro@suse.de
- get rid of some compiler warnings
* Wed Apr 28 2004 ltinkl@suse.cz
- fix build problems with aliasing and possible buffer overflow
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Thu Jan 23 2003 ro@suse.de
- fixed macro definitions for gcc-3.3
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Fri Nov 23 2001 cihlar@suse.cz
- update to version 1.4.3
* Fri Oct 26 2001 ro@suse.de
- use neededforbuild aliases: SDL_devel-pakages, SDL_mixer-packages
* Thu Aug 16 2001 ro@suse.de
- changed neededforbuild <smpeg> to <smpeg smpeg-devel>
* Wed Aug 08 2001 ro@suse.de
- changed neededforbuild <kdelibs kdelibs-devel> to <kdelibs-artsd>
* Wed Aug 08 2001 ro@suse.de
- changed neededforbuild <sdl> to <SDL>
- changed neededforbuild <sdl-devel> to <SDL-devel>
* Wed Jun 20 2001 cihlar@suse.cz
- added kdelibs and kdelibs-devel to neededforbuild
* Mon Mar 26 2001 ro@suse.de
- changed neededforbuild <sdl> to <sdl sdl-devel>
* Mon Mar 12 2001 cihlar@suse.cz
- fixed neededforbuild
* Fri Mar 09 2001 ro@suse.de
- neededforbuild sdlmixer -> SDL_mixer
* Mon Mar 05 2001 cihlar@suse.cz
- updated to version 1.4
* Wed Feb 21 2001 uli@suse.de
- added alsa, esound, audiofile to neededforbuild (reqd. by new SDL)
* Fri Dec 01 2000 cihlar@suse.cz
- package created