]> git.pld-linux.org Git - packages/cyphesis.git/blame - cyphesis.spec
- tabs in preamble
[packages/cyphesis.git] / cyphesis.spec
CommitLineData
b3cc19a9 1Summary: A simple personal server for the WorldForge project
666b2b6b 2Summary(pl.UTF-8): Prosty osobisty serwer dla projektu WorldForge
b3cc19a9
MP
3Name: cyphesis
4Version: 0.5.6
5Release: 0.1
6License: GPL
af5d31de 7Group: Applications/Games
b3cc19a9
MP
8Source0: %{name}-%{version}.tar.bz2
9Source1: %{name}.init
10Source2: cyclient.init
11Source3: %{name}.sysconfig
af5d31de 12URL: http://www.worldforge.org/dev/eng/servers/cyphesis
b3cc19a9 13BuildRequires: Atlas-C++-devel >= 0.6.0
af5d31de
JB
14BuildRequires: howl-devel
15BuildRequires: libgcrypt-devel >= 1.2.0
b3cc19a9 16BuildRequires: mercator-devel >= 0.2.0
b3cc19a9 17BuildRequires: openssl-devel
af5d31de 18BuildRequires: postgresql-devel >= 7.1
b3cc19a9 19BuildRequires: python-devel >= 2.0.0
af5d31de
JB
20BuildRequires: readline-devel
21BuildRequires: skstream-devel >= 0.3.2
22BuildRequires: varconf-devel >= 0.6.2
23Requires(pre): /usr/sbin/useradd
24Requires(post,preun): /sbin/chkconfig
25Requires: rc-scripts
b3cc19a9
MP
26Obsoletes: cyphesis-service
27Obsoletes: cyphesis-mason
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
af5d31de
JB
31Cyphesis is a very simple world simulator. NPCs that do things
32according to rules. They have minds with simple input and output. They
33can use/move/make things and have simple discussion. They can deduce
b3cc19a9
MP
34simple things (like where I can get these things and where I should
35be). They have simple memory and use it too. They can have goals (like
36build home for me or go to dinner).
af5d31de 37
b3cc19a9
MP
38This package includes the rules data, scripts and map data required for the
39Mason game. Use this package if you intend to run an Mason server.
40
db865721
JR
41%description -l pl.UTF-8
42Cyphesis to bardzo prosty symulator świata. NPC wykonujące swoje
43czynności zgodnie z regułami. Mają mózgi z prostym wejściem i
44wyjściem. Mogą używać/przenosić/robić rzeczy i prowadzić proste
45dyskusje. Mogą wydedukować proste rzeczy (np. skąd pozyskać dane
46przedmioty i gdzie powinny być). Mają prostą pamięć i jej używają.
47Mogą mieć swoje cele (np. zbudować dom lub pójść na obiad).
af5d31de 48
db865721
JR
49Ten pakiet zawiera dane reguł, skrypty i dane map wymagane przez grę
50Mason. Należy użyć tego pakietu przy uruchamianiu serwera Masona.
af5d31de 51
b3cc19a9 52#%package acorn
af5d31de
JB
53#Summary: Game data for running the Acorn game in Cyphesis
54#Summary(pl): Dane gry do uruchamiania gry Acorn w Cyphesis
55#Group: Applications/Games
56#Requires: %{name} = %{version}-%{release}
b3cc19a9
MP
57
58#%description acorn
59#This is the rules data, scripts and map data required for the Acorn
60#game. Install this package if you intend to run an Acorn server.
61#Acorn is deprecated. See README for details.
62
af5d31de 63#%description acorn -l pl
db865721
JR
64#Ten pakiet zawiera dane reguł, skrypty i dane map wymagane przez grę
65#Acorn. Należy użyć tego pakietu przy uruchamianiu serwera Acorna.
66#Acorn jest przestarzały. Szczegóły w pliku README.
af5d31de 67
b3cc19a9 68#%package werewolf
af5d31de
JB
69#Summary: Game data for running the Werewolf game in Cyphesis
70#Summary(pl): Dane gry do uruchamiania gry Werewolf w Cyphesis
71#Group: Applications/Games
72#Requires: %{name}-acorn = %{version}-%{release}
b3cc19a9
MP
73
74#%description werewolf
75#This is the rules data, scripts and map data required for the Werewolf
76#game. Install this package if you intend to run an Werewolf server.
77#Werewolf is not yet functional.
78
af5d31de 79#%description werewolf
db865721
JR
80#Ten pakiet zawiera dane reguł, skrypty i dane map wymagane przez grę
81#Werewolf. Należy użyć tego pakietu przy uruchamianiu serwera
82#Werewolfa. Werewolf jeszcze nie działa.
af5d31de 83
b3cc19a9
MP
84%prep
85%setup -q
86
87%build
af5d31de 88%configure
b3cc19a9
MP
89
90%{__make}
91
92%install
93rm -rf $RPM_BUILD_ROOT
af5d31de 94
b3cc19a9
MP
95%{__make} install \
96 DESTDIR=$RPM_BUILD_ROOT
97#if [ -d /etc/rc.d/init.d ]
98#then
99# install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
100# install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/cyphesis
101# install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/cyclient
102# echo /etc/rc.d/init.d/cyphesis >> service.lst
103# echo /etc/rc.d/init.d/cyclient >> service.lst
104#fi
105#if [ -d /etc/sysconfig ]
106#then
107# install -d $RPM_BUILD_ROOT/etc/sysconfig
108# install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/cyphesis
109# echo %config\(noreplace\) /etc/sysconfig/cyphesis >> service.lst
110#fi
111
112#%pre
113#useradd -M -n -r -s /bin/bash -c "Cyphesis user" cyphesis >/dev/null 2>&1 || :
114
115#%post
116#chkconfig --add cyphesis
117#chkconfig --add cyclient
118
119# If we obsolete cyphesis-service, then it will delete its service entries
120# and account after our %pre and %post have run. We need to ensure they
121# are re-added.
122#%triggerpostun -- cyphesis-service
123#useradd -M -n -r -s /bin/bash -c "Cyphesis user" cyphesis >/dev/null 2>&1 || :
124#chkconfig --add cyphesis
125#chkconfig --add cyclient
126
127#%preun
128#if [ $1 = 0 ] ; then
129# chkconfig --del cyphesis
130# chkconfig --del cyclient
131#fi
132
133#%postun
134#if [ $1 -ge 1 ]; then
135# %service cyphesis condrestart >/dev/null 2>&1
136#fi
137#if [ $1 = 0 ] ; then
138# userdel cyphesis >/dev/null 2>&1 || :
139#fi
140
141%clean
142rm -rf $RPM_BUILD_ROOT
143
144%files -f service.lst
145%defattr(644,root,root,755)
af5d31de
JB
146%doc README COPYING AUTHORS THANKS NEWS
147%dir %{_sysconfdir}/cyphesis
148%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cyphesis/cyphesis.vconf
149%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cyphesis/basic.xml
150%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cyphesis/acorn.xml
151%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cyphesis/mason.xml
152%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cyphesis/werewolf.xml
b3cc19a9 153%attr(755,root,root) %{_bindir}/cy*
af5d31de
JB
154%dir %{_datadir}/cyphesis
155%dir %{_datadir}/cyphesis/rulesets
b3cc19a9
MP
156%{_datadir}/cyphesis/rulesets/basic
157%{_datadir}/cyphesis/rulesets/mason
158%{_mandir}/man1/*.1*
b3cc19a9
MP
159
160#%files acorn
161#%defattr(-,root,root)
162#%config %{_sysconfdir}/cyphesis/acorn.xml
163#%{_datadir}/cyphesis/rulesets/acorn
164
165#%files werewolf
166#%defattr(-,root,root)
167#%config %{_sysconfdir}/cyphesis/werewolf.xml
168#%{_datadir}/cyphesis/rulesets/werewolf
This page took 0.070004 seconds and 4 git commands to generate.