Hello community,

here is the log from the commit of package solarwolf for openSUSE:Factory 
checked in at 2014-10-15 08:51:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/solarwolf (Old)
 and      /work/SRC/openSUSE:Factory/.solarwolf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "solarwolf"

Changes:
--------
--- /work/SRC/openSUSE:Factory/solarwolf/solarwolf.changes      2012-09-14 
12:38:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.solarwolf.new/solarwolf.changes 2014-10-15 
08:51:57.000000000 +0200
@@ -1,0 +2,38 @@
+Mon Oct 13 21:20:04 UTC 2014 - [email protected]
+
+- Add Source4 solarwolf-rpmlintrc
+
+-------------------------------------------------------------------
+Sun Oct 12 18:48:09 UTC 2014 - [email protected]
+
+- Use Requires for libmikmod instead of BuildRequires libmikmod-devel
+- Add solarwolf-rpmlintrc, for false positive libmikmod
+
+-------------------------------------------------------------------
+Sun Oct 12 10:48:12 UTC 2014 - [email protected]
+
+- Use check for openSUSE %if 0%{?suse_version}
+- Use BuildRequires libmikmod-devel instead of libmikmod
+
+-------------------------------------------------------------------
+Fri Oct 10 20:04:22 UTC 2014 - [email protected]
+
+- Use based on instead of based of
+
+-------------------------------------------------------------------
+Wed Oct  8 00:04:09 UTC 2014 - [email protected]
+
+- Add BuildRequires for  desktop-file-utils
+
+-------------------------------------------------------------------
+Tue Oct  7 22:42:59 UTC 2014 - [email protected]
+
+- Change Desktop entry file
+- Change %{name}.sh
+- Change URL
+- Change Source0 to use Web URL
+- Add BuildRequires for fdupes
+- Use BuildRequires instead of Requires for libmikmod
+- Simplify installation handling, fix paths use datadir
+
+-------------------------------------------------------------------

Old:
----
  solarwolf-1.5.tar.bz2

New:
----
  solarwolf-1.5.tar.gz
  solarwolf-rpmlintrc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ solarwolf.spec ++++++
--- /var/tmp/diff_new_pack.2ddqfl/_old  2014-10-15 08:51:58.000000000 +0200
+++ /var/tmp/diff_new_pack.2ddqfl/_new  2014-10-15 08:51:58.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package solarwolf
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,33 +17,32 @@
 
 
 Name:           solarwolf
-BuildRequires:  python
-BuildRequires:  update-desktop-files
-Summary:        An Action/Arcade Game
-License:        LGPL-2.1+
-Group:          Amusements/Games/Action/Arcade
 Version:        1.5
 Release:        0
-Requires:       pygame
-# libmikmod is only recommended in pygame
-Requires:       libmikmod
-Source:         solarwolf-%{version}.tar.bz2
-Source1:        solarwolf.sh
-Source2:        %name.desktop
+Summary:        Action/arcade game originally based on SolarFox
+License:        LGPL-2.1+
+Group:          Amusements/Games/Action/Arcade
+Url:            http://www.pygame.org/shredwheat/solarwolf/index.shtml
+Source0:        
http://www.pygame.org/shredwheat/%{name}/%{name}-%{version}.tar.gz
+Source1:        %{name}.sh
+Source2:        %{name}.desktop
 Source3:        solar-wolf-logo-64.png
-Url:            http://pygame.org/shredwheat/solarwolf/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1130
-BuildArch:      noarch
+Source4:        %{name}-rpmlintrc
+%if 0%{?suse_version}
+BuildRequires:  desktop-file-utils
+BuildRequires:  fdupes
+BuildRequires:  update-desktop-files
 %endif
+BuildRequires:  python
+Requires:       libmikmod
+Requires:       pygame
+BuildArch:      noarch
 
 %description
 The point of this game is to scramble through 48 levels of patterns,
 collecting all the boxes. The part that makes it tricky is avoiding the
 relentless hailstorm of fire coming at you from all directions.
 
-
-
 Authors:
 --------
     Pete Shinners <[email protected]>
@@ -51,27 +50,45 @@
 %prep
 %setup
 find -type d | xargs chmod 755
+
+# Remove not needed files
 rm -rf data/.xvpics
 
 %build
 
 %install
-mkdir -p $RPM_BUILD_ROOT/usr/share/games/solarwolf
-mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
-mkdir -p $RPM_BUILD_ROOT/usr/games
-cp -pr code data solarwolf.py $RPM_BUILD_ROOT/usr/share/games/solarwolf
-install -m 755 %{S:1} $RPM_BUILD_ROOT/usr/games/solarwolf
-python /usr/%_lib/python/compileall.py -d /usr/share/games/solarwolf \
-       $RPM_BUILD_ROOT/usr/share/games/solarwolf
-install -m 0644 %{S:3} $RPM_BUILD_ROOT/usr/share/pixmaps/solarwolf.png
-%suse_update_desktop_file -i %name Game ArcadeGame
+# install wrapper
+install -Dm 0755 %{S:1} %{buildroot}%{_bindir}/%{name}
+
+# install directories
+mkdir -p %{buildroot}%{_datadir}/%{name}/{code,data}
+for d in code data ; do
+    cp -r "$d"/* %{buildroot}%{_datadir}/%{name}/"$d"
+done
+
+# install files
+install -Dm 0755 %{name}.py %{buildroot}%{_datadir}/%{name}
+
+# install icon
+install -Dm 0644 %{S:3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
+
+# install Desktop file
+install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+python -m compileall -d %{_datadir}/%{name} %{buildroot}%{_datadir}/%{name}
+python -O -m compileall -d %{_datadir}/%{name} %{buildroot}%{_datadir}/%{name}
+
+%if 0%{?suse_version}
+%suse_update_desktop_file %{name}
+%fdupes -s %{buildroot}%{_prefix}
+%endif
 
 %files
-%defattr(-,root,root)
-/usr/games/solarwolf
-/usr/share/games/solarwolf
+%defattr(-,root,root,-)
 %doc *.txt
-/usr/share/applications/%name.desktop
-/usr/share/pixmaps/solarwolf.png
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+%{_datadir}/%{name}
 
 %changelog


++++++ solarwolf-rpmlintrc ++++++
# This is needed dependency libmikmod
addFilter("explicit-lib-dependency")
++++++ solarwolf.desktop ++++++
--- /var/tmp/diff_new_pack.2ddqfl/_old  2014-10-15 08:51:58.000000000 +0200
+++ /var/tmp/diff_new_pack.2ddqfl/_new  2014-10-15 08:51:58.000000000 +0200
@@ -1,7 +1,9 @@
 [Desktop Entry]
-Type=Application
-Categories=Game;ArcadeGame
-Encoding=UTF-8
 Name=Solar Wolf
+GenericName=SolarFox
+Comment=Action/arcade game originally based on SolarFox on the Atari 2600
 Exec=solarwolf
 Icon=solarwolf
+Type=Application
+Categories=Game;ActionGame;ArcadeGame;
+StartupNotify=false

++++++ solarwolf.sh ++++++
--- /var/tmp/diff_new_pack.2ddqfl/_old  2014-10-15 08:51:58.000000000 +0200
+++ /var/tmp/diff_new_pack.2ddqfl/_new  2014-10-15 08:51:58.000000000 +0200
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-python /usr/share/games/solarwolf/solarwolf.py
\ No newline at end of file
+python /usr/share/solarwolf/solarwolf.py

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to