SPECS: ufoai.spec - added desktop file and icon - changed all name...
arvenil
arvenil at pld-linux.org
Sun Jan 13 17:50:24 CET 2008
Author: arvenil Date: Sun Jan 13 16:50:24 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added desktop file and icon
- changed all name variations to "UFO: Alien Invasion"
- cleaning
---- Files affected:
SPECS:
ufoai.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/ufoai.spec
diff -u SPECS/ufoai.spec:1.1 SPECS/ufoai.spec:1.2
--- SPECS/ufoai.spec:1.1 Sun Jan 13 17:19:08 2008
+++ SPECS/ufoai.spec Sun Jan 13 17:50:19 2008
@@ -1,5 +1,5 @@
# $Revision$, $Date$
-Summary: UFO: ALIEN INVASION is a squad-based tactical strategy game in the tradition of the old X-COM PC games
+Summary: "UFO: Alien Invasion" is a squad-based tactical strategy game in the tradition of the old X-COM PC games
Name: ufoai
Version: 2.2
Release: 0.1
@@ -8,6 +8,7 @@
URL: http://ufoai.sourceforge.net/
Source0: http://dl.sourceforge.net/ufoai/%{name}-%{version}-source.tar.bz2
# Source0-md5: 67347e7124fe5679c672a392161a6611
+Source1: %{name}.desktop
BuildRequires: OpenGL-GLU-devel
BuildRequires: SDL-devel
BuildRequires: SDL_mixer-devel
@@ -27,7 +28,7 @@
prepare your team, and dive head-first into the fast and flowing
turn-based combat.
-UFO: ALIEN INVASION is a squad-based tactical strategy game in the
+"UFO: Alien Invasion" is a squad-based tactical strategy game in the
tradition of the old X-COM PC games, but with a twist. This game
combines military realism with hard science-fiction and the weirdness
of an alien invasion. The carefully constructed turn-based system
@@ -40,7 +41,7 @@
in combat against your enemies. If you like, you can even use them
against your friends with multiplayer functionality.
-'UFO: Alien Invasion'. Endless hours of gameplay -- absolutely free.
+"UFO: Alien Invasion". Endless hours of gameplay -- absolutely free.
%prep
%setup -q -n %{name}-%{version}-source
@@ -57,7 +58,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/base,%{_datadir}/%{name}/base/i18n}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/%{name}/base,%{_datadir}/%{name}/base/i18n,%{_pixmapsdir},%{_desktopdir}}
install base/game.so $RPM_BUILD_ROOT%{_libdir}/%{name}/base/game.so
install ufo $RPM_BUILD_ROOT%{_libdir}/%{name}/ufoai
install ufoded $RPM_BUILD_ROOT%{_libdir}/%{name}/ufoaided
@@ -75,14 +76,18 @@
./ufoaided
EOF
-install %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
-install %{name}ded $RPM_BUILD_ROOT%{_bindir}/%{name}ded
+install ufoai $RPM_BUILD_ROOT%{_bindir}/ufoai
+install ufoaided $RPM_BUILD_ROOT%{_bindir}/ufoaided
ln -s %{_datadir}/%{name}/base/i18n $RPM_BUILD_ROOT%{_libdir}/%{name}/base/i18n
for i in 0base 0maps 0media 0models 0music 0pics 0snd 0ufos; do
ln -s %{_datadir}/%{name}/base/$i.pk3 $RPM_BUILD_ROOT%{_libdir}/%{name}/base/$i.pk3
done
+# install icon and desktop file
+install src/ports/linux/installer/data/ufo.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -101,6 +106,8 @@
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/base
%{_datadir}/%{name}/base/i18n
+%{_pixmapsdir}/%{name}.xpm
+%{_desktopdir}/%{name}.desktop
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -108,6 +115,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2008-01-13 16:50:19 arvenil
+- added desktop file and icon
+- changed all name variations to "UFO: Alien Invasion"
+- cleaning
+
Revision 1.1 2008-01-13 16:19:08 arvenil
- init
- really ugly spec but works fine
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ufoai.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list