]> git.pld-linux.org Git - packages/crossfire.git/blobdiff - crossfire.spec
- Prereq: /sbin/chkconfig
[packages/crossfire.git] / crossfire.spec
index 1c12234b6d9b8fb30fe091e9c06bde53f2eebee5..bbb41dc31ca4987a9bec8f48090d0597e12f2208 100644 (file)
@@ -1,4 +1,5 @@
-Summary:       Multiplayer roguelike game server.
+Summary:       Multiplayer roguelike game server
+Summary(pl):   Serwer gry roguelike dla wielu graczy
 Name:          crossfire
 Version:       1.0.0
 Release:       1
@@ -14,6 +15,7 @@ Patch2:               %{name}-tmp_maps.patch
 URL:           http://crossfire.real-time.com
 BuildRequires: XFree86-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Prereq:                /sbin/chkconfig
 
 %define                _prefix /usr/X11R6
 %define                _localstatedir /var/lib
@@ -30,8 +32,13 @@ Any number of players can move around in their own window, finding and
 sing items and battle monsters. They can choose to cooperate or
 compete in the same "world".
 
+%description -l pl
+To jest graficzna gra przygodowa dla ¶rodowiska X-Window. S± tak¿e
+dostêpni klienci pod Windows i w Javie.
+
 %package editor
-Summary:       Crossfire map editor.
+Summary:       Crossfire map editor
+Summary(pl):   Edytor map crossfire
 Group:         Applications/Games
 Group(de):     Applikationen/Spiele
 Group(pl):     Aplikacje/Gry
@@ -39,6 +46,9 @@ Group(pl):    Aplikacje/Gry
 %description editor
 Crossfire map editor.
 
+%description editor -l pl
+Edytor map crossfire.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -54,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/var/log,/etc/{sysconfig,%{name},logrotate.d},/etc/rc.d/init.d}
 install -d $RPM_BUILD_ROOT%{_localstatedir}/%{name}/tmp
 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
-mv $RPM_BUILD_ROOT%{_datadir}/%{name}/{ban_file,settings,dm_file,motd,forbid} \
+mv -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{ban_file,settings,dm_file,motd,forbid} \
        $RPM_BUILD_ROOT/etc/%{name}
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
@@ -80,9 +90,6 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del crossfire
 fi
 
-
-
-
 %files
 %defattr(644,root,root,755)
 %doc CHANGES CREDITS DEVELOPERS DONE README TODO 
This page took 0.054072 seconds and 4 git commands to generate.