[neverball/f21] Split out neverputt and neverball into subpackages

Richard Hughes rhughes at fedoraproject.org
Tue Jul 15 16:04:02 UTC 2014


commit a6c5851196e85ec6e18a94c71dc206dc96bbd473
Author: Richard Hughes <richard at hughsie.com>
Date:   Fri Jul 11 20:45:52 2014 +0100

    Split out neverputt and neverball into subpackages

 neverball.spec |   41 ++++++++++++++++++++++++++++++++++++-----
 1 files changed, 36 insertions(+), 5 deletions(-)
---
diff --git a/neverball.spec b/neverball.spec
index 8eb736e..ab4e564 100644
--- a/neverball.spec
+++ b/neverball.spec
@@ -1,8 +1,8 @@
 Name:           neverball
 Version:        1.6.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 
-Summary:        Roll a ball through an obstacle course
+Summary:        Common files for neverball and neverputt
 
 Group:          Amusements/Games
 License:        GPLv2+
@@ -17,9 +17,26 @@ BuildRequires:  SDL2_image-devel, SDL2_ttf-devel, SDL2_mixer-devel
 BuildRequires:  freetype-devel, desktop-file-utils, zlib-devel
 BuildRequires:  libGL-devel, libjpeg-devel, libpng-devel, physfs-devel
 BuildRequires:  gettext
-Requires: opengl-games-utils dejavu-sans-fonts
 
 %description
+This package provides common files needed by both the Neverball and Neverputt
+games.
+
+%package neverputt
+Summary: Minigolf like game
+Requires: opengl-games-utils dejavu-sans-fonts
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description neverputt
+A hot-seat multiplayer miniature golf game, built on the physics and graphics
+engine of Neverball.
+
+%package neverball
+Summary: Roll a ball through an obstacle course
+Requires: opengl-games-utils dejavu-sans-fonts
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description neverball
 Tilt the floor to roll a ball through an obstacle course within the
 given time.  If the ball falls or time expires, a ball is lost.
 
@@ -64,12 +81,26 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(0644,root,root,0755)
 %doc README.md LICENSE.md doc/
-%attr(0755,root,root) %{_bindir}/*
 %{_datadir}/%{name}/
 %{_datadir}/pixmaps/*
-%{_datadir}/applications/*
+
+%files neverputt
+%doc LICENSE.md
+%attr(0755,root,root) %{_bindir}/neverputt
+%attr(0755,root,root) %{_bindir}/neverputt-wrapper
+%{_datadir}/applications/neverputt.desktop
+
+%files neverball
+%doc LICENSE.md
+%attr(0755,root,root) %{_bindir}/neverball
+%attr(0755,root,root) %{_bindir}/neverball-wrapper
+%{_datadir}/applications/neverball.desktop
 
 %changelog
+* Thu Jun 12 2014 Richard Hughes <richard at hughsie.com> - 1.6.0-3
+- Split out neverputt and neverball into subpackages so that each one is
+  installable in the GNOME and KDE software centers.
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list