diff options
author | David Baudens <baudens@mandriva.com> | 2003-06-04 10:08:12 +0000 |
---|---|---|
committer | David Baudens <baudens@mandriva.com> | 2003-06-04 10:08:12 +0000 |
commit | f4a25e6e33a8b8cba273da47a0fe412b50252e53 (patch) | |
tree | f228a41466f9a4e579713358522d88d80ef85754 /mandrake_desk.spec | |
parent | cd77c632b7ec9bc7f80df367c56c077df65b3a6a (diff) | |
download | common-data-f4a25e6e33a8b8cba273da47a0fe412b50252e53.tar common-data-f4a25e6e33a8b8cba273da47a0fe412b50252e53.tar.gz common-data-f4a25e6e33a8b8cba273da47a0fe412b50252e53.tar.bz2 common-data-f4a25e6e33a8b8cba273da47a0fe412b50252e53.tar.xz common-data-f4a25e6e33a8b8cba273da47a0fe412b50252e53.zip |
Create a link to allow users to access to Mandrake's backgrounds from KDE
Diffstat (limited to 'mandrake_desk.spec')
-rw-r--r-- | mandrake_desk.spec | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mandrake_desk.spec b/mandrake_desk.spec index 8d36ead..5c18cde 100644 --- a/mandrake_desk.spec +++ b/mandrake_desk.spec @@ -1,7 +1,7 @@ Summary: The Desktop configuration files for Mandrake Linux Name: mandrake_desk Version: 9.1 -Release: 4mdk +Release: 5mdk License: GPL URL: http://www.mandrakelinux.com/ Group: System/Configuration/Other @@ -112,9 +112,15 @@ for i in screensavers/*.png ; do install -m 0644 $i %buildroot/%_datadir/mdk/scr if [ -f %_sysconfdir/X11/window-managers.rpmsave ];then %_sbindir/convertsession -f %_sysconfdir/X11/window-managers.rpmsave || : fi +# Create a link to allow users to access to Mandrake's backgrounds from KDE +[ ! -d %_datadir/wallpapers ] && install -d 0755 %_datadir/wallpapers +[ ! -e %_datadir/wallpapers/mandrake-linux ] && ln -s %_datadir/mdk/backgrounds/ %_datadir/wallpapers/mandrake-linux %update_menus %postun +# Remove link created to allow users to access to Mandrake's backgrounds from KDE +[ -e %_datadir/wallpapers ] && rm -f %_datadir/wallpapers/mandrake-linux +[ $(ls %_datadir/wallpapers/ | wc -l) -eq 0 ] && rm -fr %_datadir/wallpapers/ %clean_menus @@ -160,6 +166,9 @@ rm -fr %buildroot %changelog +* Wed Jun 04 2003 David BAUDENS <baudens@mandrakesoft.com> +- Create a link to allow users to access to Mandrake's backgrounds from KDE + * Thu Mar 13 2003 David BAUDENS <baudens@mandrakesoft.com> 9.1-4mdk - Add icons to applications which miss one - Remove some broken applications @@ -680,7 +689,7 @@ rm -fr %buildroot - added lt, ru translations - added kdelnk/Dos_C.kdelnk icon (will be used as a pattern by initscripts' kdeicons when creating icons for the FAT partitions) -- the horribly big *.xpm backgrounds are now created at %install time +- the horribly big *.xpm backgrounds are now created at %%install time with 'convert'; that way we avoid the bzip2 taking forever each time a new version is done. |