]> git.pld-linux.org Git - packages/dopewars.git/blobdiff - dopewars.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/dopewars.git] / dopewars.spec
index 0db9e3157e23cba1b14304b19671f6a27b732329..d234ba1fab18fddccb48a56a8a1be6d62ad4a010 100644 (file)
@@ -2,16 +2,16 @@
 # TODO: move scores file to /var/games!
 #
 # Conditional build:
-%bcond_without gtk             # don't build gtk client
-%bcond_without curses          # don't build curses client
-%bcond_without sdl             # don't use sdl sound output
-%bcond_without esd             # don't use esd sound output
+%bcond_without gtk             # don't build GTK+ client
+%bcond_without curses          # don't build curses client
+%bcond_without sdl             # don't use sdl sound output
+%bcond_without esd             # don't use esd sound output
 #
 Summary:       Drug dealing game
 Summary(pl):   Gra polegajĀ±ca na handlowaniu narkotykami
 Name:          dopewars
 Version:       1.5.9
-Release:       2
+Release:       4
 License:       GPL
 Group:         Applications/Games
 Source0:       http://dl.sourceforge.net/dopewars/%{name}-%{version}.tar.gz
@@ -24,7 +24,7 @@ BuildRequires:        autoconf
 BuildRequires: automake
 %{?with_esd:BuildRequires:     esound-devel >= 0.0.20}
 BuildRequires: glib2-devel >= 2.0.0
-%{?with_gtk:BuildRequires:     gtk+2-devel >= 2.0.0}
+%{?with_gtk:BuildRequires:     gtk+2-devel >= 1:2.0.0}
 %{?with_curses:BuildRequires:  ncurses-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -73,7 +73,8 @@ rm -f missing
        %{?with_gtk:--enable-gui-client} \
        %{?with_gtk:--enable-gui-server}
 
-%{__make} CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
+%{__make} \
+       CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -99,9 +100,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog LICENCE README doc/{*.html,help}
 %attr(2755,root,games) %{_bindir}/*
-%attr(0660,root,games) %config(noreplace) %verify(not size mtime md5) %{_datadir}/dopewars.sco
+%attr(660,root,games) %config(noreplace) %verify(not md5 mtime size) %{_datadir}/dopewars.sco
 %{_mandir}/man6/*
 %{_libdir}/%{name}
-%{_desktopdir}/*
+%{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
 %{_datadir}/%{name}
This page took 0.095823 seconds and 4 git commands to generate.