SHA256
1
0
forked from pool/xmahjongg
xmahjongg/xmahjongg.spec
Matthias Mailänder c398331a37 Accepting request 181213 from home:DarkSS
Computer Solitaire Mah Jongg (xmahjongg being one of the sillier examples) is nothing like that but it’s fun. This is for X11/Unix and it’s free.

OBS-URL: https://build.opensuse.org/request/show/181213
OBS-URL: https://build.opensuse.org/package/show/games/xmahjongg?expand=0&rev=1
2013-06-28 15:58:43 +00:00

68 lines
2.1 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: 1
License: MIT
Summary: Colorful X solitaire MahJongg game
Url: http://www.lcdf.org/xmahjongg/
Group: Amusements/Games/Board/Card
Source0: http://www.lcdf.org/xmahjongg/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.png
BuildRequires: gcc-c++
BuildRequires: pkgconfig(x11)
BuildRequires: update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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