Name : ufo Relocations: (not relocatable)
Version : 0.10 Vendor: Penguin Liberation Front
Release : 4plf Build Date: Fri 27 Jan 2006
12:04:04 AM CET
Install Date: (not installed) Build Host: baader
Group : Games/Strategy Source RPM: (none)
Size : 1173715 License: GPL
Signature : (none)
Packager : Guillaume Rousse <[EMAIL PROTECTED]>
URL : http://ufo.myexp.de/
Summary : UFO: Alien Invasion
Description :
UFO: ALIEN INVASION is a strategy game featuring tactical combat against
hostile alien forces which are about to infiltrate earth at this very
moment. You are in command of a small special unit which has been
founded to face the alien strike force. To be successful on the long
run, you will also have to have a research team study the aliens and
their technologies in order to learn as much as possible about their
technology, their goals and the aliens themselves. 'UFO: Alien Invasion'
is heavily inspired by the 'X-COM' series by Mythos and Microprose.
This package is in PLF because of the license of its data.
---------------
Guillaume Rousse <[EMAIL PROTECTED]> 0.10-4plf
- %mkrel
- spec cleanup
---------------
---------------
Index: ufo.spec
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/non-free/ufo/ufo.spec,v
retrieving revision 1.2
diff -u -r1.2 ufo.spec
--- ufo.spec 28 Nov 2004 17:08:46 -0000 1.2
+++ ufo.spec 27 Jan 2006 17:36:26 -0000
@@ -1,6 +1,6 @@
%define name ufo
%define version 0.10
-%define release 3plf
+%define release %mkrel 4
%define Summary UFO: Alien Invasion
Name: %{name}
@@ -19,7 +19,7 @@
BuildRequires: libvorbis-devel
BuildRequires: jpeg-devel
Requires: %{name}-data = %{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRoot: %{_tmppath}/%{name}-%{version}
%description
UFO: ALIEN INVASION is a strategy game featuring tactical combat against
@@ -41,12 +41,12 @@
%make build_release RELEASE_CFLAGS="-Dstricmp=strcasecmp $RPM_OPT_FLAGS -O3
-ffast-math -funroll-loops -fexpensive-optimizations" build_release
%install
-%{__rm} -rf $RPM_BUILD_ROOT
-%{__install} -d $RPM_BUILD_ROOT%{_libdir}/%{name}
-%{__cp} linux/release*/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/
-install -m755 linux/release*/ufo -D $RPM_BUILD_ROOT%{_gamesbindir}/ufo.bin
+%{__rm} -rf %{buildroot}
+%{__install} -d %{buildroot}%{_libdir}/%{name}
+%{__cp} linux/release*/*.so %{buildroot}%{_libdir}/%{name}/
+install -m755 linux/release*/ufo -D %{buildroot}%{_gamesbindir}/ufo.bin
-%{__cat} <<EOF > $RPM_BUILD_ROOT%{_gamesbindir}/%{name}
+%{__cat} <<EOF > %{buildroot}%{_gamesbindir}/%{name}
#!/bin/sh
if [ ! -d ~/.%{name} ]; then
mkdir -p ~/.%{name}/base/save
@@ -58,10 +58,10 @@
cd ~/.%{name}
soundwrapper %{_gamesbindir}/%{name}.bin $@
EOF
-chmod +x $RPM_BUILD_ROOT%{_gamesbindir}/%{name}
+chmod +x %{buildroot}%{_gamesbindir}/%{name}
-%{__install} -d $RPM_BUILD_ROOT%{_menudir}
-%{__cat} <<EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}
+%{__install} -d %{buildroot}%{_menudir}
+%{__cat} <<EOF > %{buildroot}%{_menudir}/%{name}
?package(%{name}):command="%{_gamesbindir}/%{name}" \
icon=%{name}.png \
needs="x11" \
@@ -70,9 +70,9 @@
longtitle="%{Summary}"
EOF
-%{__install} -m644 %{SOURCE11} -D $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png
-%{__install} -m644 %{SOURCE12} -D $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png
-%{__install} -m644 %{SOURCE13} -D $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png
+%{__install} -m644 %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png
+%{__install} -m644 %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png
+%{__install} -m644 %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png
%post
%update_menus
@@ -81,7 +81,7 @@
%clean_menus
%clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
@@ -93,6 +93,10 @@
%{_menudir}/%{name}
%changelog
+* Fri Jan 27 2006 Guillaume Rousse <[EMAIL PROTECTED]> 0.10-4plf
+- %%mkrel
+- spec cleanup
+
* Sun Nov 28 2004 Guillaume Rousse <[EMAIL PROTECTED]> 0.10-3plf
- fix macros
- PLF reason
_______________________________________________
PLF-announce mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-announce