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