]> git.pld-linux.org Git - packages/et.git/blobdiff - et.spec
- tabs in preamble
[packages/et.git] / et.spec
diff --git a/et.spec b/et.spec
index df26628f75e70252de80b7e1f1ac1462c7393dc6..925acd1794b423c27e75affaee5497be1e486bfd 100644 (file)
--- a/et.spec
+++ b/et.spec
@@ -1,20 +1,25 @@
+# TODO
+# - create dedicated server subpackage
+#
 # Conditional build:
-%bcond_with    data    # build data subpackage (huge and resource consuming)
+%bcond_without data    # skip build of data subpackage (huge and resource consuming)
 #
 Summary:       Enemy Territory
+Summary(pl.UTF-8):     Enemy Territory - Terytorium wroga
 Name:          et
-Version:       2.56
-Release:       0.11
+Version:       2.60
+Release:       0.1
 Epoch:         0
 License:       RTCW-ETEULA
 Group:         Applications/Games
-Source0:       http://3dgamers.planetmirror.com/pub/3dgamers/games/wolfensteinet/et-linux-%{version}-2.x86.run
-# NoSource0-md5:       4dddf1612b9ed5b3fe9d3348ec78c28f
+Source0:       http://3dgamers.planetmirror.com/pub/3dgamers/games/wolfensteinet/et-linux-%{version}.x86.run
+# NoSource0-md5:       2d2373f29f02e18d365d7f1860eee435
 Source1:       %{name}.desktop
 NoSource:      0
 URL:           http://www.idsoftware.com/
 # loose dependancy is intentional
 Requires:      %{name}-data = %{version}
+ExclusiveArch: %{ix86}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                no_install_post_strip   1
@@ -26,29 +31,33 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Return to Castle Wolfenstein: Enemy Territory - standalone
 multi-player game based on Return to Castle Wolfenstein.
 
-%if %{with data}
+%description -l pl.UTF-8
+Return to Castle Wolfenstein: Enemy Territory jest to samodzielna gra
+dla wielu graczy oparta na Return to Castle Wolfenstein.
+
 %package data
-Summary:       Enemy Territory data files.
+Summary:       Enemy Territory data files
+Summary(pl.UTF-8):     Pliki z danymi dla Enemy Territory
 Group:         Applications/Games
 
 %description data
 This package contains the data files for Enemy Territory.
-%endif
+
+%description data -l pl.UTF-8
+Pakiet ten zawiera pliki z danymi dla gry Enemy Territory.
 
 %prep
 %setup -qcT
 sh %{SOURCE0} --tar xf
 
-%build
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}} \
-    $RPM_BUILD_ROOT{%{_gamelibdir},%{_gamedatadir}}
+       $RPM_BUILD_ROOT{%{_gamelibdir},%{_gamedatadir}}
 
 install bin/Linux/x86/et.x86 $RPM_BUILD_ROOT%{_gamelibdir}/%{name}
 
-cat << EOF > $RPM_BUILD_ROOT%{_bindir}/%{name}
+cat << 'EOF' > $RPM_BUILD_ROOT%{_bindir}/%{name}
 #!/bin/sh
 # Needed to make symlinks/shortcuts work.
 # the binaries must run with correct working directory
@@ -74,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES v1.02_Readme.htm Docs pb/PB_EULA.txt
+%doc CHANGES README Docs pb/PB_EULA.txt
 %attr(755,root,root) %{_bindir}/*
 
 %dir %{_gamelibdir}
@@ -87,10 +96,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_gamelibdir}/pb/*.so
 %{_gamelibdir}/pb/*.db
 
+%dir %{_gamedatadir}
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.xpm
 
 %if %{with data}
 %files data
-%{_gamedatadir}
+%defattr(644,root,root,755)
+%{_gamedatadir}/*
 %endif
This page took 0.098666 seconds and 4 git commands to generate.