SHA256
1
0
forked from pool/xmahjongg

Accepting request 1082962 from home:jengelh:branches:games

- Remove pre-SUSE-15 build logic

OBS-URL: https://build.opensuse.org/request/show/1082962
OBS-URL: https://build.opensuse.org/package/show/games/xmahjongg?expand=0&rev=9
This commit is contained in:
Dirk Stoecker 2023-05-03 06:51:47 +00:00 committed by Git OBS Bridge
parent 215dd521c2
commit 83c53538d9
2 changed files with 12 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 26 10:04:26 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Remove pre-SUSE-15 build logic
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 10 18:45:47 UTC 2013 - dap.darkness@gmail.com Thu Oct 10 18:45:47 UTC 2013 - dap.darkness@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package xmahjongg # spec file for package xmahjongg
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2023 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,23 +20,15 @@ Name: xmahjongg
Version: 3.7 Version: 3.7
Release: 0 Release: 0
Summary: Colorful X solitaire MahJongg game Summary: Colorful X solitaire MahJongg game
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Amusements/Games/Board/Card Group: Amusements/Games/Board/Card
Url: http://www.lcdf.org/xmahjongg/ URL: http://www.lcdf.org/xmahjongg/
Source0: http://www.lcdf.org/xmahjongg/%{name}-%{version}.tar.gz Source0: http://www.lcdf.org/xmahjongg/%{name}-%{version}.tar.gz
Source1: %{name}.desktop Source1: %{name}.desktop
Source2: %{name}.png Source2: %{name}.png
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
%if 0%{?suse_version} >= 1220
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
%else
BuildRequires: xorg-x11-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Conflicts: xmahjong Conflicts: xmahjong
%description %description
@ -49,19 +41,18 @@ it's fun, or it must be, since there are like 300 shareware versions
available for Windows. This is for X11 and it's free. available for Windows. This is for X11 and it's free.
%prep %prep
%setup -q %autosetup
%build %build
%configure %configure
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
%{__install} -D %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png install -D %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
%suse_update_desktop_file -i %{name} %suse_update_desktop_file -i %{name}
%files %files
%defattr(-,root,root)
%doc NEWS README %doc NEWS README
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/pixmaps/%{name}.* %{_datadir}/pixmaps/%{name}.*