monkey-bubble/monkey-bubble.spec

117 lines
3.4 KiB
RPMSpec
Raw Normal View History

Name: monkey-bubble
Version: 0.4.0
Release: 2mamba
Summary: A game in which you must explode all bubbles in the game area
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://home.gna.org/monkeybubble
Source: http://home.gna.org/monkeybubble/downloads/monkey-bubble-%{version}.tar.gz
Patch0: %{name}-0.3.2-gcc34.patch
Patch1: %{name}-0.3.2-Werror.patch
Patch2: %{name}-0.3.2-desktop_file.patch
Patch3: %{name}-0.4.0-glib2.patch
Patch4: %{name}-0.4.0-xmlhelp.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: ORBit2-devel
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libatk-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglade-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgstreamer010-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
BuildRequires: libpopt-devel
BuildRequires: librsvg-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: perl
BuildRequires: pkgconfig >= 0.15.0
BuildRequires: libgtk-devel >= 2.6.8
BuildRequires: gettext-devel >= 0.14.4
BuildRequires: gconf >= 2.12.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Monkey Bubble is in a game in which you must explode all bubbles in the game area.
You explode bubbles by putting at least 3 of the same colour in contact. Any bubble that is connected to the top or the sides of the game area by bubbles you just exploded falls too.
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
# Fix compilation error
sed -i "s_glib/gthread.h_glib.h_" \
src/net/message-handler.c \
src/net/simple-server.c \
src/ui/main.c
%build
%configure \
--disable-scrollkeeper \
CFLAGS="-Wno-unused-but-set-variable -Wno-deprecated-declarations" \
LDFLAGS="-lm"
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/*
%dir %{_datadir}/monkey-bubble
%{_datadir}/monkey-bubble/*
%dir %{_datadir}/omf/monkey-bubble
%{_datadir}/omf/monkey-bubble/*
%{_datadir}/pixmaps/*
%{_datadir}/applications/monkey-bubble.desktop
%dir %{_datadir}/gnome/help/monkey-bubble
%{_datadir}/gnome/help/monkey-bubble/*
%{_sysconfdir}/gconf/schemas/monkey-bubble.schemas
%doc AUTHORS COPYING NEWS README
%changelog
* Wed Nov 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-2mamba
- automatic rebuild by autodist
* Fri Jan 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1qilnx
- update to version 0.4.0 by autospec
* Wed Nov 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.3.2-3qilnx
- patched to compile with gcc 4
- added italian translation to desktop file
* Tue Aug 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.3.2-2qilnx
- rebuilt
- patched to compile with gcc 3.4
* Sun Jul 04 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2-1qilnx
- first build