SHA256
1
0
forked from pool/xmahjongg
Dominique Leuenberger 2023-05-03 10:57:32 +00:00 committed by Git OBS Bridge
commit 830545ab37
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

View File

@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Release: 0
Summary: Colorful X solitaire MahJongg game
License: GPL-2.0+
License: GPL-2.0-or-later
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
Source1: %{name}.desktop
Source2: %{name}.png
BuildRequires: gcc-c++
BuildRequires: update-desktop-files
%if 0%{?suse_version} >= 1220
BuildRequires: pkgconfig(x11)
%else
BuildRequires: xorg-x11-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Conflicts: xmahjong
%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.
%prep
%setup -q
%autosetup
%build
%configure
make %{?_smp_mflags}
%make_build
%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}
%files
%defattr(-,root,root)
%doc NEWS README
%{_bindir}/%{name}
%{_datadir}/pixmaps/%{name}.*