From a17b1fc113683cf63b02572224de9fe694383395 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 12 May 2003 14:52:42 +0000 Subject: [PATCH] - patched to fix score file path Changed files: SpaceAryarya-KXL.spec -> 1.5 --- SpaceAryarya-KXL.spec | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/SpaceAryarya-KXL.spec b/SpaceAryarya-KXL.spec index 79e9446..0dbc6dc 100644 --- a/SpaceAryarya-KXL.spec +++ b/SpaceAryarya-KXL.spec @@ -1,6 +1,3 @@ -# -# TODO: move score file(s) to /var/games -# Summary: Space Aryarya, a video-oriented game Summary(pl): Space Aryarya - gra wideo Name: SpaceAryarya-KXL @@ -8,12 +5,15 @@ Version: 1.0.2 Release: 1 License: GPL Group: X11/Applications/Games -Source: http://kxl.hn.org/download/%{name}-%{version}.tar.gz +Source0: http://kxl.hn.org/download/%{name}-%{version}.tar.gz +Patch0: %{name}-scorepath.patch URL: http://kxl.hn.org/ BuildRequires: KXL-devel >= 1.1.1 +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: KXL >= 1.1.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) - %description 2D/3D scroll shooting game. @@ -22,14 +22,20 @@ Przewijana strzelanina 2D/3D. %prep %setup -q +%patch -p1 %build -%configure2_13 +%{__aclocal} +%{__autoconf} +%{__automake} +%configure %{__make} %install rm -rf $RPM_BUILD_ROOT -%{__make} DESTDIR=$RPM_BUILD_ROOT install + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT @@ -37,11 +43,10 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ChangeLog README -%attr(755,root,root) %{_bindir}/spacearyarya +%attr(2755,root,games) %{_bindir}/spacearyarya %dir %{_datadir}/SpaceAryarya %dir %{_datadir}/SpaceAryarya/data %{_datadir}/SpaceAryarya/bmp %{_datadir}/SpaceAryarya/wav %{_datadir}/SpaceAryarya/data/*.dat -# MOVE TO /var/games!!! -%config(noreplace) %{_datadir}/SpaceAryarya/data/.score +%attr(664,root,games) %config(noreplace) %verify(not size mtime md5) /var/games/SpaceAryarya.score -- 2.44.0