packages: ut2004/ut2004.spec - missing dirs, %lang tag lang resources, fix ...
glen
glen at pld-linux.org
Fri Mar 4 22:25:45 CET 2011
Author: glen Date: Fri Mar 4 21:25:45 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- missing dirs, %lang tag lang resources, fix SDL deps
---- Files affected:
packages/ut2004:
ut2004.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/ut2004/ut2004.spec
diff -u packages/ut2004/ut2004.spec:1.1 packages/ut2004/ut2004.spec:1.2
--- packages/ut2004/ut2004.spec:1.1 Fri Mar 4 22:17:19 2011
+++ packages/ut2004/ut2004.spec Fri Mar 4 22:25:40 2011
@@ -5,18 +5,25 @@
Release: 0.2
License: ut2003
Group: Applications/Games
-Source0: http://www.3dgamers.com/dl/games/unrealtourn2k4/ut2004-lnxpatch3369-2.tar.bz2
+Source0: http://www.3dgamers.com/dl/games/unrealtourn2k4/%{name}-lnxpatch3369-2.tar.bz2
# Source0-md5: 0fa447e05fe5a38e0e32adf171be405e
-Source1: http://mirrors.kernel.org/gentoo/distfiles/ut2004-v3369-3-linux-dedicated.7z
+Source1: http://mirrors.kernel.org/gentoo/distfiles/%{name}-v3369-3-linux-dedicated.7z
# Source1-md5: 8f797af8dc3142f61e1c3c3885e6dc40
Source2: README.PLD
URL: http://www.unrealtournament2004.com/
+BuildRequires: p7zip
ExclusiveArch: %{ix86} %{x8664}
-BuildRequires: p7zip
+%ifarch %{x8664}
+Requires: libSDL-1.2.so.0(64bit)
+%else
+Requires: libSDL-1.2.so.0
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# ut2004-bin sym versions are rather odd
-%define _noautoprov ut2004-bin
+# ut2004-bin sym versions are rather odd-skip them
+# "./libSDL-1.2.so.0" used in linkage, but our deps do are without pathname
+%define _noautoreq ./libSDL-1.2.so.0
+%define _noautoprov ut2004-bin %{_noautoreq}
%define _enable_debug_packages 0
%define gamelibdir %{_libdir}/games/%{name}
@@ -82,24 +89,25 @@
%dir %{gamelibdir}
%{gamelibdir}/Animations
%{gamelibdir}/Help
+%{gamelibdir}/Speech
%{gamelibdir}/Textures
%dir %{gamelibdir}/System
%attr(755,root,root) %{gamelibdir}/System/libSDL-1.2.so.0
%attr(755,root,root) %{gamelibdir}/System/openal.so
%attr(755,root,root) %{gamelibdir}/System/ucc-bin
%attr(755,root,root) %{gamelibdir}/System/ut2004-bin
-%{gamelibdir}/Speech/*.xml
%{gamelibdir}/System/*.ini
%{gamelibdir}/System/*.u
%{gamelibdir}/System/*.ucl
-# %lang?
-%{gamelibdir}/System/*.det
-%{gamelibdir}/System/*.kot
-%{gamelibdir}/System/*.est
-%{gamelibdir}/System/*.frt
+# lang resources
%{gamelibdir}/System/*.int
-%{gamelibdir}/System/*.itt
+%lang(de) %{gamelibdir}/System/*.det
+%lang(ko) %{gamelibdir}/System/*.kot
+%lang(es) %{gamelibdir}/System/*.est
+%lang(fr) %{gamelibdir}/System/*.frt
+%lang(it) %{gamelibdir}/System/*.itt
+
# web subpackage?
%{gamelibdir}/Web
@@ -109,5 +117,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/03/04 21:25:40 glen
+- missing dirs, %lang tag lang resources, fix SDL deps
+
Revision 1.1 2011/03/04 21:17:19 glen
- initial packaging, based on gentoo .ebuild
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ut2004/ut2004.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list