summaryrefslogtreecommitdiff
path: root/quake.spec
diff options
context:
space:
mode:
authorciril2003-03-07 00:59:25 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commite9fcb6eb0a68398abea728084138a8e65f390354 (patch)
tree1a49b14bf82ed85550fb0621b8b7e28ad7c9462b /quake.spec
parent397311c21d3a9f7dedcb026284a473e8d83bdf2e (diff)
downloadquake-e9fcb6eb0a68398abea728084138a8e65f390354.zip
quake-e9fcb6eb0a68398abea728084138a8e65f390354.tar.gz
- Added desktop files and an icon
- Changed file perms for glquake.glx to 4755 (it needs it) - Added '-' in revision 1.1 Changed files: quake.spec -> 1.4
Diffstat (limited to 'quake.spec')
-rw-r--r--quake.spec17
1 files changed, 14 insertions, 3 deletions
diff --git a/quake.spec b/quake.spec
index 98d48ca..29f3630 100644
--- a/quake.spec
+++ b/quake.spec
@@ -7,6 +7,9 @@ Vendor: id Software
URL: http://www.idsoftware.com/
Source0: ftp://ftp.idsoftware.com/idstuff/source/q1source.zip
Source1: ftp://ftp.idsoftware.com/idstuff/quake/%{name}106.zip
+Source2: %{name}.png
+Source3: %{name}-gl.desktop
+Source4: %{name}-x11.desktop
Patch0: %{name}-makefile.patch
Patch1: %{name}-makefileQW.patch
Patch2: %{name}-QWGL.patch
@@ -76,10 +79,14 @@ lha -ef resource.1
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/quake/id1}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/quake/id1,%{_pixmapsdir},%{_applnkdir}/Games/Arcade}
install WinQuake/debugi386.glibc/bin/* $RPM_BUILD_ROOT%{_bindir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
+install %{SOURCE4} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
+
install QW/debugi386.glibc/qwcl $RPM_BUILD_ROOT%{_bindir}
install QW/debugi386.glibc/qwcl.x11 $RPM_BUILD_ROOT%{_bindir}
install QW/debugi386.glibc/qwsv $RPM_BUILD_ROOT%{_bindir}
@@ -98,12 +105,16 @@ install id1/* $RPM_BUILD_ROOT%{_datadir}/quake/id1
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/quake.x11
%attr(755,root,root) %{_bindir}/qwcl.x11
+%{_pixmapsdir}/*
+%{_applnkdir}/Games/Arcade/quake-x11.desktop
%doc WinQuake/docs/README.X11
%files GL
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/glquake.glx
-%attr(755,root,root) %{_bindir}/glqwcl.glx
+%attr(4755,root,root) %{_bindir}/glquake.glx
+%attr(4755,root,root) %{_bindir}/glqwcl.glx
+%{_pixmapsdir}/*
+%{_applnkdir}/Games/Arcade/quake-gl.desktop
%doc WinQuake/docs/readme.glquake QW/docs/glqwcl-readme.txt
%files PAK