]> git.pld-linux.org Git - packages/OilWar.git/commitdiff
- added regenerate ac/am suit,
authorkloczek <kloczek@pld-linux.org>
Sat, 8 Mar 2003 22:12:36 +0000 (22:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed redundant BuildRequires rules (SDL-devel),
- mark executable as sgig games and allow write access in score files,
- added am_remove_install-data-local patch.

Changed files:
    OilWar.spec -> 1.3

OilWar.spec

index 7ba17775c7e27110fbe761a3c0d18670a9c0e985..9b51124789169fc07204181c4386cf7b7975070f 100644 (file)
@@ -1,5 +1,5 @@
-Summary:       Very simple mouse shooting game.
-Summary(pl):   Bardzo prosta strzelanka.
+Summary:       Very simple mouse shooting game
+Summary(pl):   Bardzo prosta strzelanka
 Name:          OilWar
 Version:       1.1.0
 Release:       1
@@ -8,8 +8,10 @@ Group:         X11/Applications/Games
 Source0:       http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz
 Source1:       %{name}.png
 Source2:       %{name}.desktop
+Patch0:                %{name}-am_remove_install-data-local.patch
 URL:           http://www.2ndpoint.fi/projektit/oilwar.html
-BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,16 +29,20 @@ i stara si
 chroniæ olej, chroniæ ojczyznê...
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup  -q
+%patch0 -p1
 
 %build
 rm -f missing
-%configure2_13
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+CXXFLAGS="%{rpmcflags} -fno-rtti"
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
@@ -47,12 +53,11 @@ install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README AUTHORS
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/games/oilwar/*
-%attr(666,root,root) %{_localstatedir}/lib/games/*.scores
+%attr(2755,root,games) %{_bindir}/*
+%{_datadir}/games/oilwar
 %{_applnkdir}/Games/Arcade/*.desktop
 %{_pixmapsdir}/*.png
+%attr(664,root,games) %verify(not size mtime md5) %{_localstatedir}/lib/games/*.scores
This page took 0.038771 seconds and 4 git commands to generate.