[packages/blobby2] Up to 1.1.1

arekm arekm at pld-linux.org
Wed May 20 16:57:50 CEST 2026


commit 3a9a0dface3420bd0eaa2b583a9a0f8de88cc5ed
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 16:57:33 2026 +0200

    Up to 1.1.1

 blobby2-gcc4.patch | 21 ---------------
 blobby2.spec       | 77 +++++++++++++++++++++++++++++++++---------------------
 2 files changed, 47 insertions(+), 51 deletions(-)
---
diff --git a/blobby2.spec b/blobby2.spec
index fc9450d..dbdde95 100644
--- a/blobby2.spec
+++ b/blobby2.spec
@@ -1,25 +1,22 @@
-
-# TODO:
-#	- use system-wide lua
-
-%define		snap	070804
 Summary:	Blobby Volley 2 game
 Summary(pl.UTF-8):	Gra Blobby Volley 2
 Name:		blobby2
-Version:	0.61
-Release:	2
+Version:	1.1.1
+Release:	1
 License:	GPL v2
 Group:		X11/Applications/Games
-Source0:	%{name}-%{snap}.tar.bz2
-# Source0-md5:	fffe00422e14879fe73db491ae782649
-Patch0:		%{name}-gcc4.patch
-URL:		http://blobby.redio.de/content/en/
+Source0:	https://github.com/danielknobe/blobbyvolley2/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	2c95af30dc3a40d2505b6367299849e7
+URL:		https://blobbyvolley.de/
 BuildRequires:	OpenGL-devel
-BuildRequires:	SDL-devel
-BuildRequires:	autoconf
-BuildRequires:	automake
+BuildRequires:	SDL2-devel
+BuildRequires:	boost-devel
+BuildRequires:	cmake >= 3.7
 BuildRequires:	physfs-devel
-BuildRequires:	sed >= 4.0
+BuildRequires:	rpmbuild(macros) >= 1.605
+Requires(post,postun):	desktop-file-utils
+Requires(post,postun):	gtk-update-icon-cache
+Requires(post,postun):	hicolor-icon-theme
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,33 +25,53 @@ Blobby Volley 2 game.
 %description -l pl.UTF-8
 Gra Blobby Volley 2.
 
+%package server
+Summary:	Blobby Volley 2 dedicated server
+Summary(pl.UTF-8):	Dedykowany serwer gry Blobby Volley 2
+Group:		Applications/Games
+
+%description server
+Dedicated server for Blobby Volley 2.
+
+%description server -l pl.UTF-8
+Dedykowany serwer gry Blobby Volley 2.
+
 %prep
-%setup -q -n %{name}-%{snap}
-%patch -P0 -p1
+%setup -q -n blobbyvolley2-%{version}
 
 %build
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-sed -i -e "s:HAVE_LIBGL = @HAVE_LIBGL@:HAVE_LIBGL = 0:" src/Makefile.in
-sed -i -e "s:-lSDL:-lSDL -lGL:" configure
-%configure \
-	%{?debug:--enable-debug}
-%{__make} \
-	CFLAGS="%{rpmcflags}" \
-	CXXFLAGS="%{rpmcflags}"
+install -d build
+cd build
+%cmake ..
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} install -C build \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database_post
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database_postun
+%update_icon_cache hicolor
+
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%doc AUTHORS ChangeLog NEWS README TODO doc/*.txt
+%doc AUTHORS ChangeLog NEWS README.md doc/*.txt
+%attr(755,root,root) %{_bindir}/blobby
 %{_datadir}/blobby
+%{_desktopdir}/blobby.desktop
+%{_iconsdir}/hicolor/128x128/apps/blobby.png
+%{_datadir}/metainfo/blobby.appdata.xml
+
+%files server
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/blobby-server
diff --git a/blobby2-gcc4.patch b/blobby2-gcc4.patch
deleted file mode 100644
index c71288d..0000000
--- a/blobby2-gcc4.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- blobby-alpha-6-unpatched/src/NetworkState.cpp 2008-11-09 17:17:28.000000000 +0100
-+++ blobby-alpha-6/src/NetworkState.cpp 2008-11-09 17:17:53.000000000 +0100
-@@ -18,6 +18,7 @@
- =============================================================================*/
- 
- #include <sstream>
-+#include <algorithm>
- 
- #include "NetworkState.h"
- #include "NetworkMessage.h"
-diff -ru blobby-alpha-6-unpatched/src/State.cpp blobby-alpha-6/src/State.cpp
---- blobby-alpha-6-unpatched/src/State.cpp 2008-11-09 17:17:28.000000000 +0100
-+++ blobby-alpha-6/src/State.cpp 2008-11-09 17:18:08.000000000 +0100
-@@ -30,6 +30,7 @@
- 
- #include <physfs.h>
- #include <sstream>
-+#include <algorithm>
- 
- State::State()
- {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/blobby2.git/commitdiff/3a9a0dface3420bd0eaa2b583a9a0f8de88cc5ed



More information about the pld-cvs-commit mailing list