]> git.pld-linux.org Git - packages/barrage.git/blobdiff - barrage.spec
- updated to 1.0.7
[packages/barrage.git] / barrage.spec
index 7c3dc02a489502c1ebfa55df2394a5abd7572da7..40b627413ecfd229ac679b706d0e9e3985f4179b 100644 (file)
@@ -1,18 +1,19 @@
 Summary:       Kill and destroy as many target as possible in 3 minutes
 Summary(pl.UTF-8):     Zniszcz jak najwięcej wrogów w przeciągu 3 minut
 Name:          barrage
 Summary:       Kill and destroy as many target as possible in 3 minutes
 Summary(pl.UTF-8):     Zniszcz jak najwięcej wrogów w przeciągu 3 minut
 Name:          barrage
-Version:       1.0.4
+Version:       1.0.7
 Release:       1
 Release:       1
-License:       GPL v2
+License:       GPL v2+
 Group:         X11/Applications/Games
 Group:         X11/Applications/Games
-Source0:       http://downloads.sourceforge.net/lgames/%{name}-%{version}.tar.gz
-# Source0-md5: 8c767edc4cf3f84cbfb6dc19e24f5743
-Source1:       %{name}.png
+Source0:       https://downloads.sourceforge.net/lgames/%{name}-%{version}.tar.gz
+# Source0-md5: 0bb7a7033e467c95210852029366df4f
 Patch0:                %{name}-desktop.patch
 Patch0:                %{name}-desktop.patch
-URL:           http://lgames.sourceforge.net/index.php?project=Barrage
+Patch1:                %{name}-icondir.patch
+URL:           https://lgames.sourceforge.net/Barrage
+BuildRequires: SDL-devel >= 1.2.0
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.69
 BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,19 +28,21 @@ not that easy to get high scores.
 Barrage jest dość brutalną grą akcji, której celem jest zniszczenie
 jak największej ilości przeciwników w przeciągu 3 minut. Gracz steruje
 bronią, która może wystrzeliwać zarówno małe jak i duże granaty w
 Barrage jest dość brutalną grą akcji, której celem jest zniszczenie
 jak największej ilości przeciwników w przeciągu 3 minut. Gracz steruje
 bronią, która może wystrzeliwać zarówno małe jak i duże granaty w
-kierunku żołnierzy, jeepów i czołgów. Zasady są proste, lecz osiągnięcie 
-dobrych wyników jest trudnym zadaniem.
+kierunku żołnierzy, jeepów i czołgów. Zasady są proste, lecz
+osiągnięcie dobrych wyników jest trudnym zadaniem.
 
 %prep
 %setup -q
 
 %prep
 %setup -q
-# %patch0 -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 
 %build
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       --localstatedir=/var/games
 %{__make}
 
 %install
 %{__make}
 
 %install
@@ -48,16 +51,14 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -D %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README AUTHORS
-%attr(2755,root,games) %{_bindir}/*
-%{_datadir}/games/%{name}
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*.png
-%{_iconsdir}/hicolor/*/apps/%{name}.png
+%doc AUTHORS BUGS ChangeLog README
+%attr(2755,root,games) %{_bindir}/barrage
+%{_datadir}/barrage
+%attr(664,root,games) /var/games/barrage.hscr
+%{_desktopdir}/barrage.desktop
+%{_pixmapsdir}/barrage48.png
This page took 0.035525 seconds and 4 git commands to generate.