summaryrefslogtreecommitdiffstats
path: root/drakconf.spec
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-29 17:35:37 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-29 17:35:37 +0000
commitff44225a8db3fa4a3ec01e258842ccaf5520e78a (patch)
tree939716dde77f3cef044421c149b57e1e880c1962 /drakconf.spec
parent196b1ed004c8bfc54647f5627e35118c288ac8af (diff)
downloadcontrol-center-ff44225a8db3fa4a3ec01e258842ccaf5520e78a.tar
control-center-ff44225a8db3fa4a3ec01e258842ccaf5520e78a.tar.gz
control-center-ff44225a8db3fa4a3ec01e258842ccaf5520e78a.tar.bz2
control-center-ff44225a8db3fa4a3ec01e258842ccaf5520e78a.tar.xz
control-center-ff44225a8db3fa4a3ec01e258842ccaf5520e78a.zip
- 10.2-5mdk
- move small icons in their own package (#13392)
Diffstat (limited to 'drakconf.spec')
-rw-r--r--drakconf.spec24
1 files changed, 22 insertions, 2 deletions
diff --git a/drakconf.spec b/drakconf.spec
index 7cf93ffe..225140a2 100644
--- a/drakconf.spec
+++ b/drakconf.spec
@@ -7,7 +7,7 @@
Summary: The Mandrakelinux Control Center
Name: drakconf
Version: 10.2
-Release: 4mdk
+Release: 5mdk
# get the source from our cvs repository (see
# http://www.linuxmandrake.com/en/cvs.php3)
Source0: %name-%version.tar.bz2
@@ -27,6 +27,7 @@ Requires: perl-Gtk2 >= 1.023-1mdk, perl-Gnome2-Vte
Requires: gtk+2.0 >= 2.2.0-3mdk, perl-MDK-Common => 1.0.4-16mdk
#Requires: drakcronat >= 0.1.3-1mdk # currenly broken, actually waiting for gtk+-2.x port completion
Requires: menudrake >= 0.7.2-1mdk, userdrake => 1.2-1mdk
+Requires: drakconf-icons = %version
BuildRoot: %_tmppath/%name-%version-buildroot
Conflicts: rpmdrake < 2.4-5mdk
@@ -34,6 +35,15 @@ Conflicts: rpmdrake < 2.4-5mdk
drakconf includes the Mandrakelinux Control Center which is an interface to
multiple utilities from DrakXtools.
+%package icons
+Summary: Icons of the Mandrakelinux Control Center
+Group: Graphical desktop/Other
+Conflicts: drakconf < 10.2-4mdk
+
+%description icons
+This package hold icons of the Mandrakelinux Control Center used in
+tools' banners.
+
%prep
%setup -q
@@ -69,6 +79,10 @@ for i in %buildroot{%_sbindir,%_bindir}/mcc; do ln -s {drakconf,$i}; done
mkdir -p %buildroot/usr/X11R6/bin/
echo -e "#\!/bin/sh\nexec /usr/bin/mcc" > %buildroot/usr/X11R6/bin/DrakConf
+(cd $RPM_BUILD_ROOT ; find usr -type f -name "*.png" -printf "/%%p\n") > images-big.list
+perl -ni -e '/128/ ? print : print STDERR $_ ' images-big.list 2> images.list
+cat images-big.list >> %name.lang
+
%post
%update_menus
@@ -81,6 +95,8 @@ echo -e "#\!/bin/sh\nexec /usr/bin/mcc" > %buildroot/usr/X11R6/bin/DrakConf
%clean
rm -rf $RPM_BUILD_ROOT
+%files icons -f images.list
+
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING ChangeLog
@@ -96,10 +112,14 @@ rm -rf $RPM_BUILD_ROOT
%dir %_datadir/mcc
%_datadir/mcc/desktop
%dir %_datadir/mcc/themes/
-%_datadir/mcc/themes/default
+%dir %_datadir/mcc/themes/default
+%_datadir/mcc/themes/default/gtkrc
%changelog
+* Tue Mar 29 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 10.2-5mdk
+- move small icons in their own package (#13392)
+
* Thu Mar 24 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 10.2-4mdk
- add "roaming" icon in network section
- improve layout for RTL languages