]> git.pld-linux.org Git - packages/SpaceAryarya-KXL.git/commitdiff
- patched to fix score file path
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 12 May 2003 14:52:42 +0000 (14:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    SpaceAryarya-KXL.spec -> 1.5

SpaceAryarya-KXL.spec

index 79e9446ac7dd18563580cbe7f7318d2395d11353..0dbc6dc5ad9eb9a39ef1025e2b3a6590678c1186 100644 (file)
@@ -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
This page took 0.116875 seconds and 4 git commands to generate.