All pastes #234773 Raw Edit

clueless

public text v1 · immutable
·published 2006-11-02 20:27 UTC
rendered paste body
%define		rel	2.0%define		realver	%{rel}.4_rc1Name:		warzoneVersion:	2.04Release:	0.1.rc1%{?dist}Summary:	Innovative 3D real-time strategyGroup:		Amusements/GamesLicense:	GPLURL:		http://wz.rootzilla.de/site/Source0:	http://download.gna.org/warzone/releases/%{rel}/%{name}-%{realver}.tar.bz2Patch0:		warzone-x86_64.patchBuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)BuildRequires:	physfs-devel openal-develBuildRequires:	SDL_net-develBuildRequires:	zlib-develBuildRequires:	libjpeg-devel libpng-develBuildRequires:	mesa-libGL-devel mesa-libGLU-develBuildRequires:	libogg-devel libvorbis-develBuildRequires:	bison flexBuildRequires:	zipRequires:	warzone-data%descriptionWarzone 2100 is an innovative real-time 3D strategy game initiallydeveloped as commercial product in 1999. Although comparable to someother games of this type in many significant respects, it does containaspects that are unique. These include various radar technologies, a greaterfocus on artillery and counter-battery technologies, more frequent in-gamecinematic updates as gameplay progress, as well as a different vehicle designmethod.%package dataSummary:	Data files to warzoneGroup:		Amusements/Games%description dataWarzone data files%prep%setup -q -n %{name}-%{realver}%patch%buildsed 's#-m32##g' -i configuresed 's#-m32##g' -i ./makerules/configure.mk%configure --with-ogg --without-mp3#./configure --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir} --with-ogg --without-mp3make %installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root,-)%doc COPYING AUTHORS CHANGELOG README TODO%{_bindir}/warzone%files data%defattr(-,root,root,-)%{_datadir}/warzone