Hello community,

here is the log from the commit of package sdl-asylum for openSUSE:Factory 
checked in at 2015-06-23 11:55:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sdl-asylum (Old)
 and      /work/SRC/openSUSE:Factory/.sdl-asylum.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sdl-asylum"

Changes:
--------
New Changes file:

--- /dev/null   2015-05-15 19:41:08.266053825 +0200
+++ /work/SRC/openSUSE:Factory/.sdl-asylum.new/sdl-asylum.changes       
2015-06-23 11:56:01.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Mon Jun 15 22:01:17 UTC 2015 - nemy...@gmx.ch
+
+- Initial package creation
+

New:
----
  asylum-0.3.2.tar.gz
  sdl-asylum.changes
  sdl-asylum.desktop
  sdl-asylum.png
  sdl-asylum.spec

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

Other differences:
------------------
++++++ sdl-asylum.spec ++++++
#
# spec file for package sdl-asylum
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define oname  asylum

Name:           sdl-asylum
Version:        0.3.2
Release:        0
Summary:        Asylum like game
License:        GPL-3.0+ and SUSE-Public-Domain
Group:          Amusements/Games/Logic
Url:            http://sdl-asylum.sourceforge.net/
Source0:        
http://downloads.sourceforge.net/%{name}/Asylum/%{version}/%{oname}-%{version}.tar.gz
Source1:        %{name}.png
Source2:        %{name}.desktop
%if 0%{?suse_version}
BuildRequires:  fdupes
BuildRequires:  update-desktop-files
%endif
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig(SDL_image)
BuildRequires:  pkgconfig(SDL_mixer)
BuildRequires:  pkgconfig(sdl)
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(glu)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Young Sigmund has a few problems. To help him resolve his mental instability
you must enter the surreal world of his inner mind and shut down the
malfunctioning brain cells.

SDL Asylum is a C port of the computer game Asylum, which was written by Andy
Southgate in 1994 for the Acorn Archimedes and is now public domain.

%prep
%setup -q -n asylum-%{version}

# SED-FIX-OPENSUSE -- Fix Paths and Highscore
sed -i -e 's|/usr/games/asylum|$(DESTDIR)/usr/bin/%{name}|;
           s|/usr/share/games/asylum|$(DESTDIR)/usr/share/%{name}|;
           s|/var/games/asylum|$(DESTDIR)/var/games/%{name}|;
           s|$(CHGRP) $(INSTALLGROUP)|#$(CHGRP) $(INSTALLGROUP)|;
           s|$(CHGRP) -R $(INSTALLGROUP)|#$(CHGRP) -R $(INSTALLGROUP)|' Makefile

%build
make

%install
mkdir -p %{buildroot}%{_bindir}
%make_install

# install icon
install -Dm 0644 %{S:1} %{buildroot}/%{_datadir}/pixmaps/%{name}.png

# install Desktop file
install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/applications/%{name}.desktop


%if 0%{?suse_version}
    %suse_update_desktop_file %{name}
    %fdupes -s %{buildroot}%{_prefix}
%endif

%files
%defattr(-,root,root,-)
%doc COPYING Instruct README
%attr(0755,root,games) %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}
%attr(0755,root,games) %{_localstatedir}/games/%{name}
%config(noreplace) %attr(0664,root,games) 
%{_localstatedir}/games/%{name}/EgoHighScores
%config(noreplace) %attr(0664,root,games) 
%{_localstatedir}/games/%{name}/ExtendedHighScores
%config(noreplace) %attr(0664,root,games) 
%{_localstatedir}/games/%{name}/IdHighScores
%config(noreplace) %attr(0664,root,games) 
%{_localstatedir}/games/%{name}/PsycheHighScores

%changelog
++++++ sdl-asylum.desktop ++++++
[Desktop Entry]
Name=SDL Asylum
GenericName=Asylum
Comment=Young Sigmund has a few problems
Icon=sdl-asylum
Exec=sdl-asylum
Type=Application
Categories=Game;LogicGame;
StartupNotify=false

Reply via email to