SPECS: armagetronad.spec (NEW) - starting with armagetron advanced...

blekot blekot at pld-linux.org
Sun Jan 6 15:31:06 CET 2008


Author: blekot                       Date: Sun Jan  6 14:31:06 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- starting with armagetron advanced (succesor of armagetron)
- NFY (%files, configure options, desktop files, etc.)

---- Files affected:
SPECS:
   armagetronad.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/armagetronad.spec
diff -u /dev/null SPECS/armagetronad.spec:1.1
--- /dev/null	Sun Jan  6 15:31:06 2008
+++ SPECS/armagetronad.spec	Sun Jan  6 15:31:00 2008
@@ -0,0 +1,169 @@
+# $Revision$, $Date$
+#
+# TODO: start scripts for server
+Summary:	A Tron lightcycle game with focus on multiplayer mode
+Summary(pl.UTF-8):	Gra Tron ze światłocyklem skupiająca się na trybie dla wielu graczy
+Name:		armagetronad
+Version:	0.2.8.2.1
+Release:	0.1
+License:	GPL
+Group:		X11/Applications/Games
+Source0:	http://dl.sourceforge.net/%{name}/%{name}-%{version}.src.tar.bz2
+# Source0-md5:	b09104b3af550fe590ff11bc1fd46e26
+#Source1:	%{name}.desktop
+#Source2:	%{name}.png
+Source3:	http://armagetron.sourceforge.net/addons/moviepack.zip
+# Source3-md5:	e2d40309dde7e1339ca6aff7599cdfa3
+URL:		http://armagetronad.net/
+BuildRequires:	OpenGL-devel
+BuildRequires:	SDL_image-devel
+BuildRequires:	SDL_mixer-devel
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	sed >= 4.0
+BuildRequires:	unzip
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# it installs data in %{_prefix}/games, so...
+#%define		_bindir			/usr/bin
+#%define		_prefix			/usr/%{_lib}
+#%define		_sysconfdir		/etc/%{name}
+#%define		_sysconfdir_server 	/etc/%{name}-server
+
+%description
+In Armagetron, you ride a lightcycle around the game grid. You can
+only make sharp turns of 90 degrees and a wall constantly builds up
+after you. Make your enemies crash into your wall, but be aware that
+they are trying to do the same to you. If you are fast enough, you may
+be able to trap them, but the only way to speed up your lightcycle is
+to drive close to the dangerous walls. Prepare for exciting strategic
+preparations followed by action-packed close combat!
+
+%description -l pl.UTF-8
+W grze Armagetron jedzie się światłocyklem dookoła planszy. Można
+wykonywać tylko ostre zakręty o 90 stopni, a za graczem ciągle buduje
+się ściana. Trzeba spowodować, by wrogowie roztrzaskali się na tej
+ścianie, ale także uważać, bo oni próbują zrobić to samo. Jeśli gracz
+jest szybki, może złapać ich wszystkich, ale jedynym sposobem na
+przyspieszenie światłocyklu jest jazda blisko niebezpiecznych ścian.
+Trzeba się przygotować na ekscytujące strategiczne przygotowania i
+następującą po nich walkę w zbliżeniu!
+
+%package moviepack
+Summary:	Moviepack addon
+Summary(pl.UTF-8):	Dodatek Moviepack
+Group:		X11/Applications/Games
+Requires:	%{name} = %{version}-%{release}
+
+%description moviepack
+Moviepack addon.
+
+%description moviepack -l pl.UTF-8
+Dodatek Moviepack.
+
+%package server
+Summary:	Armagetron server
+Summary(pl.UTF-8):	Serwer Armagetrona
+Group:		Applications/Games
+
+%description server
+Armagetron server.
+
+%description server -l pl.UTF-8
+Serwer Armagetrona.
+
+%prep
+%setup -q -a3
+
+#sed -i -e 's@/usr/lib@/usr/%{_lib}@;s at X11R6/lib at X11R6/%{_lib}@' configure.in
+
+%build
+
+%configure \
+	--disable-glout \
+	--enable-games \
+	--enable-main \
+	--enable-master \
+	--enable-music \
+	--disable-initscripts
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_bindir}} \
+	$RPM_BUILD_ROOT%{_prefix}/games/%{name}/moviepack \
+	$RPM_BUILD_ROOT%{_sysconfdir_server}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+#mv -f $RPM_BUILD_ROOT%{_prefix}/bin/* $RPM_BUILD_ROOT%{_bindir}
+
+#install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+#install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+#
+#cp $RPM_BUILD_ROOT%{_sysconfdir}/* $RPM_BUILD_ROOT%{_sysconfdir_server}
+#cp -R moviepack $RPM_BUILD_ROOT%{_prefix}/games/%{name}
+#rm -f $RPM_BUILD_ROOT%{_prefix}/games/%{name}/moviepack/art_read_me.txt
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%doc CHANGELOG doc/*.html doc/net
+#%dir %{_sysconfdir}
+#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.cfg
+#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.srv
+#%attr(755,root,root) %{_bindir}/%{name}
+#%attr(755,root,root) %{_bindir}/%{name}-stat
+#%dir %{_prefix}/games/%{name}
+#%{_prefix}/games/%{name}/arenas
+#%dir %{_prefix}/games/%{name}/bin
+#%attr(755,root,root) %{_prefix}/games/%{name}/bin/[ap]*
+#%dir %{_prefix}/games/%{name}/language
+#%{_prefix}/games/%{name}/language/languages.txt
+#%{_prefix}/games/%{name}/language/english.txt
+#%lang(de) %{_prefix}/games/%{name}/language/deutsch.txt
+#%{_prefix}/games/%{name}/models
+#%{_prefix}/games/%{name}/sound
+#%{_prefix}/games/%{name}/textures
+#%{_desktopdir}/*.desktop
+#%{_pixmapsdir}/*
+
+%files moviepack
+%defattr(644,root,root,755)
+%doc moviepack/art_read_me.txt
+%{_prefix}/games/%{name}/moviepack
+
+%files server 
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/armagetronad-dedicated
+%dir %{_prefix}/games/armagetronad-dedicated
+%{_prefix}/share/games/armagetronad-dedicated/bin
+%attr(755,root,root) %{_prefix}/games/armagetronad-dedicated/bin/*
+%exclude %{_prefix}/games/armagetronad-dedicated/bin/uninstall
+%{_prefix}/games/armagetronad-dedicated/language
+%dir %{_sysconfdir_server}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir_server}/*.cfg
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir_server}/*.srv
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-01-06 14:31:00  blekot
+- starting with armagetron advanced (succesor of armagetron)
+- NFY (%files, configure options, desktop files, etc.)
+
+Revision 1.33  2007-02-12 21:23:47  glen
+- tabs in preamble
+
+Revision 1.32  2007/02/12 00:48:38  baggins
+- converted to UTF-8
+
+Revision 1.31  2006/11/07 22:21:10  glen
+- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
================================================================


More information about the pld-cvs-commit mailing list