%define name matchbox-window-manager %define version 1.2 %define enable_drakx_version 0 %{?_with_drakx: %global enable_drakx_version 1} Summary: Window manager for the Matchbox Desktop Name: %name Version: %version Release: %mkrel 14 Url: http://projects.o-hand.com/matchbox/ License: GPL Group: Graphical desktop/Other BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Source0: http://projects.o-hand.com/matchbox/sources/%name/%version/%{name}-%{version}.tar.bz2 #specific theme for installer Source1: matchbox-ia_ora.tar.bz2 Source2: 30-start-matchbox.xsetup Source3: 80-stop-matchbox.xsetup # (fc) 1.2-2mdv various bug fixes from SVN Patch0: matchbox-window-manager-1.2-svnfixes.patch # (fc) 1.2-2mdv various customizations for DrakX Patch1: matchbox-window-manager-1.2-drakx.patch # (fc) 1.2-3mdv extend theme for separate decorations for modal dialogs Patch2: matchbox-window-manager-1.2-modal.patch BuildRequires: pkgconfig libmatchbox-devel expat-devel BuildRequires: startup-notification-devel libXsettings-client-devel BuildRequires: libGConf2-devel BuildRequires: libxcomposite-devel BuildRequires: libxdamage-devel %if %mdkversion <= 200900 Requires(post): GConf2 %endif Requires(preun):GConf2 %description Matchbox is a base environment for the X Window System running on non-desktop embedded platforms such as handhelds, set-top boxes, kiosks and anything else for which screen space, input mechanisms or system resources are limited. This package contains the window manager from Matchbox. %package -n drakx-installer-matchbox Summary: Customized version of Matchbox for DrakX installer Group: Graphical desktop/Other %description -n drakx-installer-matchbox Customized version of Matchbox Window Manager for DrakX installer %prep %setup -q %patch0 -p1 -b .svnfixes %patch1 -p1 -b .drakx-version %patch2 -p1 -b .modal %build [ -d standard ] || mkdir standard cd standard CONFIGURE_TOP=.. \ %configure2_5x --enable-expat --disable-composite \ --enable-gconf --enable-startup-notification %make cd - [ -d drakx ] || mkdir drakx cd drakx CONFIGURE_TOP=.. \ CFLAGS="%optflags -DDRAKX_VERSION" %configure2_5x --enable-expat --enable-composite \ --disable-session --disable-keyboard --disable-ping-protocol --disable-xrm --disable-gconf --disable-startup-notification --disable-xsettings %make cd - %install rm -rf $RPM_BUILD_ROOT cd standard %makeinstall_std cd - #this file is ignored rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/matchbox/kbdconfig mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xsetup.d/ install -m755 %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xsetup.d/ tar -x -C $RPM_BUILD_ROOT -f %{SOURCE1} install -m 755 drakx/src/matchbox-window-manager $RPM_BUILD_ROOT%{_bindir}/drakx-matchbox-window-manager %define schemas matchbox %if %mdkversion < 200900 %if !%{enable_drakx_version} %post %post_install_gconf_schemas %{schemas} %endif %endif %if !%{enable_drakx_version} %preun %preun_uninstall_gconf_schemas %{schemas} %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS README ChangeLog %_sysconfdir/gconf/schemas/matchbox.schemas %_bindir/matchbox* %_datadir/matchbox/* %_datadir/themes/* %exclude %_datadir/themes/Ia*Ora*Smooth %files -n drakx-installer-matchbox %defattr(-,root,root) %_sysconfdir/X11/xsetup.d/*.xsetup %_bindir/drakx-matchbox-window-manager %_datadir/themes/Ia*Ora*Smooth %_datadir/matchbox/* %changelog * Wed Mar 17 2010 Oden Eriksson <oeriksson@mandriva.com> 1.2-14mdv2010.1 + Revision: 523285 - rebuilt for 2010.1 * Thu Sep 03 2009 Christophe Fergeau <cfergeau@mandriva.com> 1.2-13mdv2010.0 + Revision: 426076 - rebuild * Mon Apr 20 2009 Frederic Crozat <fcrozat@mandriva.com> 1.2-12mdv2009.1 + Revision: 368420 - Update default background color in patch1 * Fri Mar 20 2009 Frederic Crozat <fcrozat@mandriva.com> 1.2-11mdv2009.1 + Revision: 359154 - Regenerate patch 2 - Disable composite for standard build (Mdv bug #48982) * Tue Nov 18 2008 Frederic Crozat <fcrozat@mandriva.com> 1.2-10mdv2009.1 + Revision: 304212 - Stop matchbox a little later, needed for draklive-resize * Tue Sep 30 2008 Frederic Crozat <fcrozat@mandriva.com> 1.2-9mdv2009.0 + Revision: 290158 - Update patch1 to render root window not as black but with Mandriva blue (fix black squares in finish-install) * Wed Sep 17 2008 Frederic Crozat <fcrozat@mandriva.com> 1.2-8mdv2009.0 + Revision: 285474 - Add xsetup scripts to start / stop drakx matchbox, for usage with finish-install / draklive-install / drakfirsttime * Tue Aug 19 2008 Frederic Crozat <fcrozat@mandriva.com> 1.2-7mdv2009.0 + Revision: 273801 - Remove alpha transparency on Ia Ora window corners (not handled by Matchbox) - Update patch1 to not use lowlight on override windows (menu popup) * Thu Jul 31 2008 Frederic Crozat <fcrozat@mandriva.com> 1.2-6mdv2009.0 + Revision: 258270 - Update patch1 to force all modal dialogs to be super modal + Thierry Vignaud <tv@mandriva.org> - rebuild * Thu Jul 24 2008 Frederic Crozat <fcrozat@mandriva.com> 1.2-4mdv2009.0 + Revision: 245572 - Reorganise specfile and patches to build both standard and drakx version of matchbox at the same time - Update theme description - put drakx version of matchbox and Ia Ora Smooth in separate subpackage * Tue Jul 22 2008 Frederic Crozat <fcrozat@mandriva.com> 1.2-3mdv2009.0 + Revision: 240111 - Add xdamage-devel to buildrequires - Fix buildrequires - Patch2: extend theme for separate decorations for modal dialogs - Update patch1 to include default for drakx version - Update Ia Ora Smooth theme with modal decorations - Patch0: add various bug fixes from SVN - Patch1 + source0: various customizations for drakx usage * Thu Feb 14 2008 Thierry Vignaud <tv@mandriva.org> 1.2-1mdv2008.1 + Revision: 168083 - fix no-buildroot-tag - kill re-definition of %%buildroot on Pixel's request * Wed Sep 05 2007 Jérôme Soyer <saispo@mandriva.org> 1.2-1mdv2008.0 + Revision: 80239 - New version 1.2 * Thu Jan 25 2007 Jérôme Soyer <saispo@mandriva.org> 1.1-1mdv2007.0 + Revision: 113080 - New release 1.1 - Import matchbox-window-manager * Thu Mar 23 2006 Austin Acton <austin@mandriva.org> 1.0-1mdk - New release 1.0 * Fri Aug 26 2005 Austin Acton <austin@mandriva.org> 0.9.5-1mdk - New release 0.9.5 * Fri May 13 2005 Austin Acton <austin@mandriva.org> 0.9.4-1mdk - 0.9.4 - new URLs * Mon Jan 24 2005 Austin Acton <austin@mandrake.org> 0.9.2-1mdk - 0.9.2 * Mon Jan 10 2005 Austin Acton <austin@mandrake.org> 0.9-1mdk - 0.9 * Thu Sep 30 2004 Austin Acton <austin@mandrake.org> 0.8.4-1mdk - 0.8.4 * Tue Aug 24 2004 Austin Acton <austin@mandrake.org> 0.8.3-2mdk - fix schemas * Tue Aug 24 2004 Austin Acton <austin@mandrake.org> 0.8.3-1mdk - 0.8.3 * Wed Aug 11 2004 Austin Acton <austin@mandrake.org> 0.8.2-3mdk - buildrequires xsettings * Wed Jul 28 2004 Austin Acton <austin@mandrake.org> 0.8.2-1mdk - enable startup-notification * Wed Jul 21 2004 Austin Acton <austin@mandrake.org> 0.8.2-1mdk - 0.8.2