File goom2k4.spec of Package goom2k4
#
# spec file for package goom2k4 (Version 0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: goom2k4
BuildRequires: SDL-devel gcc-c++ glib-devel gtk-devel
# xmms support disabled by default, use -D "HAVE_XMMS 1"
%if 0%{?HAVE_XMMS}
BuildRequires: xmms-devel xmms-lib
%endif
Url: http://sourceforge.net/projects/goom/
# http://www.ios-software.com/?page=projet&quoi=1
%define my_provides %{_builddir}/%{?buildsubdir}/my-provides
License: LGPL v2.1 or later
Group: Productivity/Multimedia/Sound/Visualization
AutoReqProv: on
Summary: Program and Library for Visual Effects
Version: 0
Release: 82
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# from http://goom.sourceforge.net/
Source: goom-2k4-0-src.tar.bz2
# Patches
Patch0: goom2k4-ppc.patch
Patch1: goom2k4-execlp.patch
Patch2: goom2k4-dev15pre.patch
Patch10: goom2k4-sdl_xmms.patch
Patch11: goom2k4-noxmms.patch
%description
Goom is a visual effects generator for mp3 players.
Authors:
--------
Jean-Christophe Hoelt <jeko@ios-software.com>
Guillaume Borios <gyom@ios-software.com>
%package devel
License: LGPL v2.1 or later
Group: Productivity/Multimedia/Sound/Visualization
Summary: Program and Library for Visual Effects
Requires: %{name} = %{version}
Requires: SDL-devel gcc-c++ glib-devel gtk-devel
%if 0%{?HAVE_XMMS}
BuildRequires: xmms-devel
%endif
%description devel
Goom is a visual effects generator for mp3 players.
Authors:
--------
Jean-Christophe Hoelt <jeko@ios-software.com>
Guillaume Borios <gyom@ios-software.com>
%prep
%setup -q -n goom2k4-0
%patch0 -p1
%patch1 -p1
%patch2 -p1
# repair broken configure.in
%patch10 -p1
# patch out xmms checks to build without xmms dependencies
%if 0%{?HAVE_XMMS}
%else
%patch11 -p1
%endif
%build
# running autoreconf later, so don't bother w/ suse_update_config
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
autoreconf -f -i
%configure --with-pic
make
%install
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/goom2
%{_libdir}/libgoom2.so.*
%if 0%{?HAVE_XMMS}
%{_libdir}/xmms/Visualization/*
%endif
%doc AUTHORS ChangeLog COPYING INSTALL README
%files devel
%defattr(-,root,root)
%dir %{_prefix}/include/goom
%{_prefix}/include/goom/*.h
%{_libdir}/libgoom2.so
%exclude %{_libdir}/libgoom2.la
%{_libdir}/pkgconfig/*.pc
%changelog
* Mon May 05 2008 crrodriguez@suse.de
- fix for Feature No 300498 , use RPM_OPT_FLAGS everywhere.
* Thu Aug 16 2007 pcerny@suse.cz
- update to last version goom2k4-0
- fix for building stand-alone app and build without xmms
- -devel package
* Fri Sep 08 2006 sbrabec@suse.cz
- Fixed heap overflow in libmodplug in ReadSample (#198389).
http://sourceforge.net/tracker/index.php?func=detail&aid=1554733&group_id=1275&atid=301275
* Wed Jan 26 2005 sbrabec@suse.cz
- Package renamed to goom2k4.
- Packaged goom2k4 as sub-package of xmms-plugins.
* Wed Dec 01 2004 hvogel@suse.de
- remove ppc assembler stuff. wrong quoted and wont work anyway
* Tue Nov 16 2004 hvogel@suse.de
- Initial Package, Version 2k4-dev21