]> git.pld-linux.org Git - SPECS.git/blob - xmahjongg.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / xmahjongg.spec
1 Summary:        Colorful X solitaire Mah Jongg game
2 Summary(pl.UTF-8):      Komputerowy Madżong
3 Name:           xmahjongg
4 Version:        3.7
5 Release:        1
6 License:        GPL
7 Vendor:         Little Cambridgeport Design Factory
8 Group:          X11/Applications/Games
9 Source0:        http://www.lcdf.org/xmahjongg/%{name}-%{version}.tar.gz
10 # Source0-md5:  9db5bf1b329b410220b7976cd9b3d374
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 URL:            http://www.lcdf.org/xmahjongg/
14 BuildRequires:  XFree86-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Real Mah Jongg is a social game that originated in China thousands of
22 years ago. Four players, named after the four winds, take tiles from a
23 wall in turn. The best tiles are made of ivory and wood; they click
24 pleasantly when you knock them together. Computer Solitaire Mah Jongg
25 (xmahjongg being one of the sillier examples) is nothing like that but
26 it's fun, or it must be, since there are like 300 shareware versions
27 available for Windows. This is for X11 and it's free.
28
29 %description -l pl.UTF-8
30 Stara, chińska gra logiczna. Powstała ona w starożytnym Państwie
31 Środka, a jej historia sięga chińskiej dynastii Zachodniego Chou,
32 czyli ok. 720 roku n.e. Podobnie jak większość gier karcianych tak i
33 madżong rozwijał się niezależnie w różnych okręgach i prowincjach
34 dawnych Chin, zyskując niezliczone odmiany dla różnej liczby
35 grających. Ta wersja przeznaczona jest dla jednej osoby i zawiera
36 kilka różnych zestawów klocków (dorothys, gnome, gnome2, real, thick,
37 dorwhite, small, thin). Wywołuje się je za pomocą parametru '-t'.
38
39 %prep
40 %setup -q
41
42 %build
43 %{__aclocal}
44 %{__autoheader}
45 %{__autoconf}
46 %{__automake}
47 %configure
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
60 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc NEWS README
68 %attr(755,root,root) %{_bindir}/xmahjongg
69 %{_pixmapsdir}/*
70 %{_desktopdir}/*.desktop
71 %{_mandir}/man6/xmahjongg.6*
72 %{_datadir}/%{name}
This page took 0.617881 seconds and 3 git commands to generate.