All pastes #234743 Raw Edit

Someone

public text v1 · immutable
·published 2006-11-02 20:17 UTC
rendered paste body
Name:		warzone
Version:	2.0.5_rc1
Release: 	1%{?dist}
Summary:	Warzone 2100 is a real-time strategy and real-time tactics hybrid

Group:		Amusements/Games
License: 	GPL
URL:		http://wz2100.net/site/
Source0: 	http://download.gna.org/warzone/releases/2.0/%{name}2100-%{version}.tar.bz2
Source1:	%{name}.desktop
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	%{name}-data = %{version}
BuildRequires:	bison, flex, zlib-devel, libjpeg-devel, libpng-devel, physfs-devel, SDL_net-devel, openal-devel, libogg-devel, libvorbis-devel, zip, desktop-file-utils

%description

Warzone 2100 is a real-time strategy game, developed by Pumpkin Studios and
published by Eidos-Interactive™. Although comparable to Earth2150™ in many
significant respects, it does contain aspects that are unique. These include
various radar technologies, a greater focus on artillery and counter-battery
technologies, more frequent in-game cinematic updates as gameplay progress, as
well as a different vehicle design method. It was released in 1999 for both PC
and Playstation®.

In late 2004 warzone was released by its copyright holders,
Eidos-Interactive™, to the public under the GNU General Public License (GPL),
and the Warzone 2100 Resurrection Project was born.

%package data

Summary:	Data files for Warzone 2100
Group:		Amusements/Games
Requires:	%{name} = %{version}

%description data

Data files for Warzone 2100s

%prep
%setup -q

%build
%configure --disable-dependency-tracking
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

desktop-file-install --vendor fedora                            \
        --dir %{buildroot}%{_datadir}/applications        	\
        --add-category X-Fedora                                 \
	%{SOURCE1}

%clean
rm -rf %{buildroot}


%files
%defattr(0644,root,root,0755)
%doc AUTHORS ChangeLog COPYING README TODO
%attr(0755,root,root)%{_bindir}/%{name}2100
%{_datadir}/applications/fedora-%{name}.desktop


%files data
%defattr(0644,root,root,0755)
%dir %{_datadir}/%{name}2100
%{_datadir}/%{name}2100/mp.wz
%{_datadir}/%{name}2100/warzone.wz

%changelog
* Wed Nov 01 2006 Rafa&#322; Psota <rafalzaq@gmail.com> 2.0.5_rc1-1
- initial release