aboutsummaryrefslogtreecommitdiffstats
path: root/mandrake_desk.spec
diff options
context:
space:
mode:
authorDavid Baudens <baudens@mandriva.com>2002-07-31 13:58:14 +0000
committerDavid Baudens <baudens@mandriva.com>2002-07-31 13:58:14 +0000
commitc2856dd1bdb77c94de155ad418b8bcc436f959af (patch)
tree7b86a29585d23bc3fe7674a62f7d52f347ff72d8 /mandrake_desk.spec
parent49b1c82c34d503c4514d765a22f9454d00820435 (diff)
downloadcommon-data-c2856dd1bdb77c94de155ad418b8bcc436f959af.tar
common-data-c2856dd1bdb77c94de155ad418b8bcc436f959af.tar.gz
common-data-c2856dd1bdb77c94de155ad418b8bcc436f959af.tar.bz2
common-data-c2856dd1bdb77c94de155ad418b8bcc436f959af.tar.xz
common-data-c2856dd1bdb77c94de155ad418b8bcc436f959af.zip
Update
Diffstat (limited to 'mandrake_desk.spec')
-rw-r--r--mandrake_desk.spec45
1 files changed, 42 insertions, 3 deletions
diff --git a/mandrake_desk.spec b/mandrake_desk.spec
index 806b9de..aca53d7 100644
--- a/mandrake_desk.spec
+++ b/mandrake_desk.spec
@@ -48,15 +48,20 @@ install -m 0644 backgrounds/xfdrake-test-card.jpg %buildroot/%_datadir/mdk/xfdra
## Install scripts
+# /usr/bin/
install -d -m 0755 %buildroot/%_bindir/
-for i in bin/*.sh ; do install -m 0755 $i %buildroot/_bindir/ ; done
+for i in bin/*.sh ; do install -m 0755 $i %buildroot/%_bindir/ ; done
+
+# /usr/sbin/
+install -d -m 0755 %buildroot/%_sbindir/
+for i in sbin/* ; do install -m 0755 $i %buildroot/%_sbindir/ ; done
## Install faces
install -d -m 0755 %buildroot/%_datadir/mdk/faces/
install -d -m 0755 %buildroot/%_datadir/faces/
-for i in faces/*.png ; do install -m 0644 $i %buildroot/%_datadir/faces/
+for i in faces/*.png ; do install -m 0644 $i %buildroot/%_datadir/faces/ ; done
# David - 9.0-5mdk - For KDE
install -m 0644 faces/default.png %buildroot/%_datadir/faces/default.png
@@ -66,6 +71,20 @@ install -m 0644 faces/default.png %buildroot/%_datadir/mdk/faces/user-default-md
+## Install icons
+# 16
+install -d -m 0755 %buildroot/%_miconsdir/
+for i in icons/mini/*.png ; do install -m 0644 $i %buildroot/%_miconsdir/ ; done
+
+# 32
+for i in icons/*.png ; do install -m 0644 $i %buildroot/%_iconsdir/ ; done
+
+# 48
+install -d -m 0755 %buildroot/%_liconsdir/
+for i in icons/large/*.png ; do install -m 0644 $i %buildroot/%_liconsdir/ ; done
+
+
+
%post
if [ -f %_sysconfdir/X11/window-managers.rpmsave ];then
@@ -85,7 +104,27 @@ rm -fr %buildroot
%files
%defattr(-,root,root,-)
-
+%_bindir/*
+#
+%_sbindir/*
+#
+%dir %_datadir/faces/
+%dir %_datadir/mdk/
+%dir %_datadir/mdk/faces/
+%_datadir/faces/*
+%_datadir/mdk/faces/*
+#
+%_iconsdir/*.*
+%_liconsdir/*
+%_miconsdir/*
+#
+%dir %_datadir/mdk/backgrounds/
+%dir %_datadir/mdk/backgrounds/root/
+%_datadir/mdk/backgrounds/*.png
+%_datadir/mdk/backgrounds/root/*.png
+#
+%dir %_datadir/mdk/xfdrake/
+%_datadir/mdk/xfdrake/*.jpg
%changelog