diff --git a/.cvsignore b/.cvsignore index e69de29..7b0e28a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +warzone2100-2.0.5.tar.bz2 diff --git a/sources b/sources index e69de29..e9d01c9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +56e83a64d5b7aa60ced3d7ac7281bb42 warzone2100-2.0.5.tar.bz2 diff --git a/warzone2100.spec b/warzone2100.spec new file mode 100644 index 0000000..4cad123 --- /dev/null +++ b/warzone2100.spec @@ -0,0 +1,79 @@ +Name: warzone2100 +Version: 2.0.5 +Release: 3%{?dist} +Summary: Innovative 3D real-time strategy + +Group: Amusements/Games +License: GPL +URL: http://wz2100.net/ +Source0: http://download.gna.org/warzone/releases/2.0/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +ExcludeArch: x86_64 + +BuildRequires: physfs-devel SDL_net-devel openal-devel bison flex zip +BuildRequires: libjpeg-devel libpng-devel libogg-devel libvorbis-devel +BuildRequires: automake >= 1.8 +BuildRequires: desktop-file-utils +Requires: %{name}-data = %{version} + +%package data +Summary: Warzone2100's data files +Group: Amusements/Games +Requires: %{name} = %{version} + +%description +Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and +most will agree it didn't enjoy the commercial success it should have had. The +game's source code was liberated on December 6th, 2004, under a GPL license +(see COPYING in this directory for details). Soon after that, the Warzone 2100 +ReDev project was formed to take care of its future. + +%description data +Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and +most will agree it didn't enjoy the commercial success it should have had. The +game's source code was liberated on December 6th, 2004, under a GPL license +(see COPYING in this directory for details). Soon after that, the Warzone 2100 +ReDev project was formed to take care of its future. + +Data (textures, maps, sounds and models) required to play warzone2100. + +%prep +%setup -q + + +%build +./autogen.sh +%configure --disable-mp3 +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +desktop-file-install --vendor="fedora" \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \ + $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop +rm $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_bindir}/warzone2100 +%{_datadir}/icons/warzone* +%{_datadir}/applications/fedora-%{name}.desktop +%doc AUTHORS ChangeLog COPYING COPYING.README README TODO + +%files data +%defattr(-,root,root,-) +%{_datadir}/warzone2100 + +%changelog +* Tue Jan 16 2007 Karol Trzcionka - 2.0.5-3 +- change ExclusiveArch: i386 to ExcludeArch: x86_64 +* Tue Jan 09 2007 Karol Trzcionka - 2.0.5-2 +- add an ExclusiveArch +* Sun Dec 31 2006 Karol Trzcionka - 2.0.5-1 +- Initial Release