215dd521c2
Resolvable for SLE_11_SP3. OBS-URL: https://build.opensuse.org/request/show/202908 OBS-URL: https://build.opensuse.org/package/show/games/xmahjongg?expand=0&rev=7
73 lines
2.2 KiB
RPMSpec
73 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package xmahjongg
|
|
#
|
|
# Copyright (c) 2013 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
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: xmahjongg
|
|
Version: 3.7
|
|
Release: 0
|
|
Summary: Colorful X solitaire MahJongg game
|
|
License: GPL-2.0+
|
|
Group: Amusements/Games/Board/Card
|
|
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
|
|
Real Mah Jongg is a social game that originated in China thousands of
|
|
years ago. Four players, named after the four winds, take tiles from a
|
|
wall in turn. The best tiles are made of ivory and wood; they click
|
|
pleasantly when you knock them together. Computer Solitaire Mah Jongg
|
|
(xmahjongg being one of the sillier examples) is nothing like that but
|
|
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
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
%{__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}.*
|
|
%{_datadir}/applications/%{name}.*
|
|
%{_mandir}/man6/%{name}.6*
|
|
%{_datadir}/%{name}
|
|
|
|
%changelog
|