From 6a7310763a63666843dc25b21ca52d3e53cb46c4 Mon Sep 17 00:00:00 2001 From: pawelz Date: Sun, 19 Oct 2008 10:05:44 +0000 Subject: [PATCH] - initial PLD release - NFY Changed files: capitalist.spec -> 1.1 --- capitalist.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 capitalist.spec diff --git a/capitalist.spec b/capitalist.spec new file mode 100644 index 0000000..f8f7827 --- /dev/null +++ b/capitalist.spec @@ -0,0 +1,83 @@ +# +Summary: Server for the Monopoly®-like board game. +Summary(pl.UTF-8): Serwer gry planszowej typu Monopoly®. +Name: capitalist +Version: 0.3.1 +Release: 0.1 +License: GPL v2 +Group: Applications/Games/Boards +Source0: http://dl.sourceforge.net/capitalist/capitalist-0.3.1.tar.gz +# Source0-md5: f93ee3ce9d29eba657e087762d8fd663 +Patch0: capitalist-autotools.patch +URL: http://kapitalist.sourceforge.net/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Kapitalist is a Monopoly®-like board game for 2-8 players. Walk around the +board, buy properties, receive rent from your competitors, try to get +monopolies to build houses and hotels on them and finally be the richest on +the board. + +This package contains a server. You should also install the kapitalist +package. + +%description -l pl.UTF-8 +Kapitalist jest grą planszową typu Monopoly® dla 2-8 graczy. Przemierzaj +planszę, kupuj nieruchomości, otrzymuj renty od współzawodników, spróbuj +zdobyć wyłączność na budowę domów i hoteli na poszczególnych posiadłościach, +ostatecznie zostań najbogatszym z graczy na planszy. + +Ten pakiet zawiera serwer. Aby móc grać powinieneś również zainstalować pakiet +kapitalist. + +%package doc +Summary: Documentaion for capitalist +Summary(pl.UTF-8): Dokumentacja kapitalist +Group: Documentation + +%description doc +Documentaion for capitalist. + +%description doc -l pl.UTF-8 +Dokumentacja capitalist. + +%prep +%setup -q + +%patch0 -p1 + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_docdir}/%{name}-doc-%{version}/html} + +install capitalist/capitalist $RPM_BUILD_ROOT%{_bindir} +install capitalist/docs/capitalist.6 $RPM_BUILD_ROOT%{_mandir}/man6/capitalist.6 +install capitalist/docs/en/index.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index.html +install capitalist/docs/en/index-1.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-1.html +install capitalist/docs/en/index-2.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-2.html +install capitalist/docs/en/index-3.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-3.html +install capitalist/docs/en/index-4.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-4.html +install capitalist/docs/en/index-5.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-5.html +install capitalist/docs/en/index-6.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/html/index-6.html + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README TODO +%attr(755,root,root) %{_bindir}/capitalist +%{_mandir}/man6/capitalist.6* + +%files doc +%{_docdir}/%{name}-doc-%{version} -- 2.44.0