%define name xscreensaver
-%define version 4.15
+%define version 4.20
%define release 1
%define epoch 1
%define x11_prefix /usr/X11R6
%define gnome_prefix /usr
-%define kde_prefix /usr
%define gnome_datadir %{gnome_prefix}/share
# By default, builds the basic, non-GL package.
A modular screen saver and locker for the X Window System.
Highly customizable: allows the use of any program that
can draw on the root window as a display mode.
-More than 175 display modes are included in this package.
+More than 190 display modes are included in this package.
%{?USE_GL:See also the xscreensaver-gl package, which}
%{?USE_GL:includes optional OpenGL display modes.}
Un économiseur d'écran et verrouillage modulaire pour X-Window.
Hautement configurable: permet l'utilisation de n'importe quel programme
qui peut dessiner dans la fenêtre root.
-Plus de 175 modes d'affichage sont inclus dans ce paquet.
+Plus de 190 modes d'affichage sont inclus dans ce paquet.
%{?USE_GL:Voir aussi le paquet xscreensaver-gl, qui inclut}
%{?USE_GL:des modules optionnels OpenGL.}
# We have to make sure these directories exist,
# or nothing will be installed into them.
#
-export KDEDIR=%{kde_prefix}
-mkdir -p $RPM_BUILD_ROOT$KDEDIR/bin
mkdir -p $RPM_BUILD_ROOT%{gnome_datadir}
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
}
# Collect the names of the non-GL executables and scripts...
-# (Including the names of all of the Gnome, KDE, and L10N-related files,
+# (Including the names of all of the Gnome and L10N-related files,
# whereever they might have gotten installed...)
# For the translation catalogs, prepend an appropriate %lang(..) tag.
#
( cd hacks ; list_files install ; \
- cd ../driver; list_files install-program install-scripts \
- install-gnome install-kde ; \
+ cd ../driver; list_files install-program install-scripts install-gnome ; \
( cd ../po; list_files install | grep '\.' \
| sed 's@^\(.*/\([^/]*\)/LC.*\)$@%lang(\2) \1@' ) \
) > $RPM_BUILD_DIR/xscreensaver-%{version}/exes-non-gl
%post
# This part runs on the end user's system, when the RPM is installed.
-pids=`pidof xscreensaver`
+pids=`/sbin/pidof xscreensaver`
if [ -n "$pids" ]; then
echo "sending SIGHUP to running xscreensaver ($pids)..." >&2
kill -HUP $pids