aboutsummaryrefslogtreecommitdiffstats
path: root/mandrake_desk.spec
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>2000-07-11 21:43:14 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>2000-07-11 21:43:14 +0000
commita58fcd8b62d1cfabe5fe86dde4b418de39c7708f (patch)
tree4fa9fc84840fb2f66511b5130567eb4303310a4e /mandrake_desk.spec
parent6791af034baf8b48c0573c7dabe8b1863b3be24f (diff)
downloadcommon-data-a58fcd8b62d1cfabe5fe86dde4b418de39c7708f.tar
common-data-a58fcd8b62d1cfabe5fe86dde4b418de39c7708f.tar.gz
common-data-a58fcd8b62d1cfabe5fe86dde4b418de39c7708f.tar.bz2
common-data-a58fcd8b62d1cfabe5fe86dde4b418de39c7708f.tar.xz
common-data-a58fcd8b62d1cfabe5fe86dde4b418de39c7708f.zip
sbin/chksession: make window-managers file dynamic by simple entry in /etc/X11/wmsession.d/
sbin/convertsession: a new greatest hit. mandrake_desk.spec: %post with convertsession
Diffstat (limited to 'mandrake_desk.spec')
-rw-r--r--mandrake_desk.spec15
1 files changed, 13 insertions, 2 deletions
diff --git a/mandrake_desk.spec b/mandrake_desk.spec
index fb3049f..f405e55 100644
--- a/mandrake_desk.spec
+++ b/mandrake_desk.spec
@@ -1,6 +1,6 @@
-%define release 22mdk
+%define release 1mdk
%define name mandrake_desk
-%define version 1.0.3
+%define version 1.0.4
Summary: The Desktop configuration files for Linux Mandrake
Name: %{name}
@@ -28,8 +28,14 @@ rm -rf $RPM_BUILD_ROOT
%install
make install RPM_BUILD_ROOT=$RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/etc/X11/wmsession.d/
rm -f special/mandrake-small.xpm
+%post
+if [ -f /etc/X11/window-managers.rpmsave ];then
+ /usr/sbin/convertsession -f /etc/X11/window-managers.rpmsave || exit 0
+fi
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -37,6 +43,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%doc TRANSLATORS special/* README.CVS
%config /etc/X11/window-managers
+%dir /etc/X11/wmsession.d/
/usr/sbin/*
/usr/bin/*
/usr/share/icons/*.xpm
@@ -54,6 +61,10 @@ rm -rf $RPM_BUILD_ROOT
/usr/man/*/*
%changelog
+* Tue Jul 11 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.0.4-1mdk
+- Add convertsession
+- Make window-managers file dynamic and set them in /etc/X11/wmsession.d/.
+
* Mon May 29 2000 dam's <damien@mandrakesoft.com> 1.0.3-22mdk
- corrected doc url on gnome-desktop