forked from pool/csmash
Accepting request 978078 from home:jengelh:branches:games
- Build with to pkgconfig(sdl) so we can use sdl12_compat. OBS-URL: https://build.opensuse.org/request/show/978078 OBS-URL: https://build.opensuse.org/package/show/games/csmash?expand=0&rev=16
This commit is contained in:
parent
b95d8eef20
commit
bd5268b7d4
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 19 08:05:59 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Build with to pkgconfig(sdl) so we can use sdl12_compat.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 4 12:00:26 UTC 2018 - meissner@suse.com
|
Mon Jun 4 12:00:26 UTC 2018 - meissner@suse.com
|
||||||
|
|
||||||
|
24
csmash.spec
24
csmash.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package csmash
|
# spec file for package csmash
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -20,9 +20,9 @@ Name: csmash
|
|||||||
Version: 0.6.6
|
Version: 0.6.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: 3D Table Tennis Game
|
Summary: 3D Table Tennis Game
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Amusements/Games/3D/Other
|
Group: Amusements/Games/3D/Other
|
||||||
Url: http://cannonsmash.sourceforge.net/
|
URL: http://cannonsmash.sourceforge.net/
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: danslatristesse2-48.ogg
|
Source1: danslatristesse2-48.ogg
|
||||||
Source2: %{name}.desktop
|
Source2: %{name}.desktop
|
||||||
@ -32,7 +32,6 @@ Patch2: %{name}-%{version}-return_value.diff
|
|||||||
Patch3: %{name}-%{version}-qualification.diff
|
Patch3: %{name}-%{version}-qualification.diff
|
||||||
Patch4: %{name}-%{version}-definitions.diff
|
Patch4: %{name}-%{version}-definitions.diff
|
||||||
Patch5: %{name}-%{version}-uninitialized.diff
|
Patch5: %{name}-%{version}-uninitialized.diff
|
||||||
BuildRequires: SDL-devel
|
|
||||||
BuildRequires: SDL_image-devel
|
BuildRequires: SDL_image-devel
|
||||||
BuildRequires: SDL_mixer-devel
|
BuildRequires: SDL_mixer-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
@ -43,21 +42,15 @@ BuildRequires: pkgconfig(glib-2.0)
|
|||||||
BuildRequires: pkgconfig(glu)
|
BuildRequires: pkgconfig(glu)
|
||||||
BuildRequires: pkgconfig(gobject-2.0)
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
BuildRequires: pkgconfig(gtk+-x11-2.0)
|
BuildRequires: pkgconfig(gtk+-x11-2.0)
|
||||||
|
BuildRequires: pkgconfig(sdl)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
CannonSmash is a 3D table tennis game. The goal of this project is to
|
CannonSmash is a 3D table tennis game. The goal of this project is to
|
||||||
represent various table tennis strategies in a computer game.
|
represent various table tennis strategies in a computer game.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p0
|
||||||
%patch0
|
|
||||||
%patch1
|
|
||||||
%patch2
|
|
||||||
%patch3
|
|
||||||
%patch4
|
|
||||||
%patch5
|
|
||||||
mv README README.jp
|
mv README README.jp
|
||||||
mv README.en README
|
mv README.en README
|
||||||
|
|
||||||
@ -65,17 +58,16 @@ mv README.en README
|
|||||||
%configure \
|
%configure \
|
||||||
--x-includes=%{_includedir} \
|
--x-includes=%{_includedir} \
|
||||||
--x-libraries=%{_libdir}
|
--x-libraries=%{_libdir}
|
||||||
make %{?_smp_mflags} AM_CFLAGS="%optflags" AM_CPPFLAGS="%optflags"
|
%make_build AM_CFLAGS="%optflags" AM_CPPFLAGS="%optflags"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
%make_install
|
||||||
cp %{SOURCE1} %{buildroot}%{_datadir}/csmash
|
cp %{SOURCE1} %{buildroot}%{_datadir}/csmash
|
||||||
%fdupes %{buildroot}%{_datadir}
|
%fdupes %{buildroot}%{_datadir}
|
||||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc README README.jp AUTHORS COPYING CREDITS ChangeLog
|
%doc README README.jp AUTHORS COPYING CREDITS ChangeLog
|
||||||
%{_bindir}/csmash
|
%{_bindir}/csmash
|
||||||
%{_datadir}/csmash/
|
%{_datadir}/csmash/
|
||||||
|
Loading…
Reference in New Issue
Block a user