]> git.pld-linux.org Git - packages/capitalist.git/blob - capitalist.spec
244fa16f7d9b42e08fe879c938fb96ee0022ef54
[packages/capitalist.git] / capitalist.spec
1 #
2 Summary:        Server for the Monopoly-like board game
3 Summary(pl.UTF-8):      Serwer gry planszowej typu Monopoly®.
4 Name:           capitalist
5 Version:        0.3.1
6 Release:        1
7 License:        GPL v2
8 Group:          Applications/Games/Boards
9 Source0:        http://dl.sourceforge.net/capitalist/%{name}-%{version}.tar.gz
10 # Source0-md5:  f93ee3ce9d29eba657e087762d8fd663
11 Patch0:         %{name}-autotools.patch
12 URL:            http://kapitalist.sourceforge.net/
13 BuildRequires:  autoconf >= 2.58
14 BuildRequires:  automake >= 1.4
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Kapitalist is a Monopoly-like board game for 2-8 players. Walk around
21 the board, buy properties, receive rent from your competitors, try to
22 get monopolies to build houses and hotels on them and finally be the
23 richest on the board.
24
25 This package contains a server. You should also install the kapitalist
26 package.
27
28 %description -l pl.UTF-8
29 Kapitalist jest grą planszową typu Monopoly® dla 2-8 graczy.
30 Przemierzaj planszę, kupuj nieruchomości, otrzymuj renty od
31 współzawodników, spróbuj zdobyć wyłączność na budowę domów i hoteli na
32 poszczególnych posiadłościach, ostatecznie zostań najbogatszym z
33 graczy na planszy.
34
35 Ten pakiet zawiera serwer. Aby móc grać powinieneś również
36 zainstalować pakiet kapitalist.
37
38 %package doc
39 Summary:        Documentaion for capitalist
40 Summary(pl.UTF-8):      Dokumentacja capitalist
41 Group:          Documentation
42
43 %description doc
44 Documentaion for capitalist.
45
46 %description doc -l pl.UTF-8
47 Dokumentacja capitalist.
48
49 %prep
50 %setup -q
51
52 %patch0 -p1
53
54 %build
55 %{__libtoolize}
56 %{__aclocal}
57 %{__autoconf}
58 %{__autoheader}
59 %{__automake}
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_docdir}/%{name}-doc-%{version}/html}
67
68 install capitalist/capitalist $RPM_BUILD_ROOT%{_bindir}
69 install capitalist/docs/capitalist.6 $RPM_BUILD_ROOT%{_mandir}/man6/capitalist.6
70 install capitalist/docs/en/index.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index.html
71 install capitalist/docs/en/index-1.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-1.html
72 install capitalist/docs/en/index-2.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-2.html
73 install capitalist/docs/en/index-3.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-3.html
74 install capitalist/docs/en/index-4.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-4.html
75 install capitalist/docs/en/index-5.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-5.html
76 install capitalist/docs/en/index-6.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-6.html
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc AUTHORS ChangeLog README TODO
84 %attr(755,root,root) %{_bindir}/capitalist
85 %{_mandir}/man6/capitalist.6*
86
87 %files doc
88 %defattr(644,root,root,755)
89 %{_docdir}/%{name}-doc-%{version}
This page took 0.053395 seconds and 2 git commands to generate.