From 6ef02cd9ea6e0723ad907e7292deb26240fa21fd Mon Sep 17 00:00:00 2001 From: Jason ティビツ Date: Aug 22 2007 17:13:13 +0000 Subject: - Patch upstream .desktop file for proper use of Version. - Remove some errant CVS directories. - Fix an end-of-line encoding. - Minor spec cleanup. --- diff --git a/nazghul-desktop.patch b/nazghul-desktop.patch new file mode 100644 index 0000000..bddb7ac --- /dev/null +++ b/nazghul-desktop.patch @@ -0,0 +1,8 @@ +--- haxima.desktop-orig 2007-08-22 11:44:08.000000000 -0500 ++++ haxima.desktop 2007-08-22 11:44:26.000000000 -0500 +@@ -8,4 +8,4 @@ + Terminal=false + Type=Application + Categories=Application;Game; +-Version=1.002 ++Version=1.0 diff --git a/nazghul.spec b/nazghul.spec index 34f2431..c7d4b25 100644 --- a/nazghul.spec +++ b/nazghul.spec @@ -1,6 +1,6 @@ Name: nazghul Version: 0.5.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A computer role-playing game (CRPG) engine Group: Amusements/Games @@ -8,10 +8,10 @@ License: GPLv2+ URL: http://myweb.cableone.net/gmcnutt/nazghul.html Source0: http://dl.sourceforge.net/nazghul/nazghul-%{version}.tar.gz +Patch0: nazghul-desktop.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: SDL_image-devel, desktop-file-utils, libpng-devel +BuildRequires: SDL_image-devel, desktop-file-utils, libpng-devel %description Nazghul is an old-school RPG engine modeled after those made in the @@ -20,9 +20,9 @@ after Ultima V. %package haxima -Summary: A full-featured role-playing game for the Nazghul engine -Group: Amusements/Games -Requires: nazghul = %{version} +Summary: A full-featured role-playing game for the Nazghul engine +Group: Amusements/Games +Requires: nazghul = %{version} %description haxima A complete, playable and full-featured role playing game which runs @@ -33,6 +33,14 @@ You must install Nazghul in order to play Haxima. %prep %setup -q +%patch0 + +# clean up CVS directories left in the source tarball +find . -depth -type d -name CVS -exec rm -rf {} \; + +# Fix line endings +sed -i -e 's/\r//' doc/engine_extension_and_design/my_TODO.2004.05.05.txt + mv doc/* . @@ -77,6 +85,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Aug 22 2007 Jason L Tibbitts III - 0.5.6-4 +- Patch upstream .desktop file for proper use of Version. +- Remove some errant CVS directories. +- Fix an end-of-line encoding. +- Minor spec cleanup. + * Tue Aug 21 2007 Jason L Tibbitts III - 0.5.6-3 - License is GPLv2+. - Bump for rebuild.