Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 61d2fdf8d87672c96202d33aa86747a8 > files > 12

matchbox-window-manager-1.2-30.mga9.src.rpm

%define enable_drakx_version 0
%global _legacy_common_support 1

%{?_with_drakx: %global enable_drakx_version 1}

Summary: 	Window manager for the Matchbox Desktop
Name: 		matchbox-window-manager
Version: 	1.2
Release: 	%mkrel 30
Url: 		https://www.yoctoproject.org/tools-resources/projects/matchbox
License: 	GPLv2+
Group: 		Graphical desktop/Other
Source0: 	http://downloads.yoctoproject.org/releases/matchbox/%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
Source4:	drakx-installer-xsetup
Source5:	drakx-installer-xsetup.service
# (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
Patch3:		matchbox-window-manager-1.2-lm.patch
Patch4:		matchbox-1.2-automake-1.13.patch
BuildRequires:	pkgconfig 
BuildRequires:	pkgconfig(libmb) 
BuildRequires:	pkgconfig(expat) 
BuildRequires:	pkgconfig(libstartup-notification-1.0) 
BuildRequires:	libXsettings-client-devel
BuildRequires:	pkgconfig(gconf-2.0)
BuildRequires:  pkgconfig(xcomposite)
BuildRequires:  pkgconfig(xdamage)
BuildRequires:  autoconf
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

Requires(post):	rpm-helper >= %{rpmhelper_required_version}
Requires(preun):rpm-helper >= %{rpmhelper_required_version}

%description -n drakx-installer-matchbox
Customized version of Matchbox Window Manager for DrakX installer

%prep
%setup -q
%autopatch -p1

%build
autoreconf -fi
[ -d standard ] || mkdir standard
cd standard
CONFIGURE_TOP=.. \
%configure --enable-expat --disable-composite \
--enable-gconf --enable-startup-notification

%make_build
cd -

[ -d drakx ] || mkdir drakx
cd drakx
CONFIGURE_TOP=.. \
CFLAGS="%optflags -DDRAKX_VERSION" %configure --enable-expat --disable-composite \
--disable-session --disable-keyboard --disable-ping-protocol --disable-xrm --disable-gconf --disable-startup-notification --disable-xsettings

%make_build
cd -

%install
cd standard
%make_install
cd -

#this file is ignored 
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/matchbox/kbdconfig

mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xsetup.d/
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/systemd/
mkdir -p $RPM_BUILD_ROOT%{_unitdir}

install -m755 %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xsetup.d/
install -m755 %{SOURCE4} $RPM_BUILD_ROOT%{_prefix}/lib/systemd/drakx-installer-xsetup
install -m644 %{SOURCE5} $RPM_BUILD_ROOT%{_unitdir}/drakx-installer-xsetup.service

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 !%{enable_drakx_version}
%preun
%preun_uninstall_gconf_schemas %{schemas}
%endif

%post -n drakx-installer-matchbox
%_post_service drakx-installer-xsetup

%preun -n drakx-installer-matchbox
%_preun_service drakx-installer-xsetup

%files
%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
%_sysconfdir/X11/xsetup.d/*.xsetup
%_bindir/drakx-matchbox-window-manager
%_datadir/themes/Ia*Ora*Smooth
%_datadir/matchbox/*
%{_prefix}/lib/systemd/drakx-installer-xsetup
%{_unitdir}/drakx-installer-xsetup.service


%changelog
* Sat Apr 02 2022 umeabot <umeabot> 1.2-30.mga9
+ Revision: 1840686
- Mageia 9 Mass Rebuild

* Fri Aug 21 2020 joequant <joequant> 1.2-29.mga8
+ Revision: 1617515
- fix gcc10 build

* Fri Feb 14 2020 umeabot <umeabot> 1.2-28.mga8
+ Revision: 1520422
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%configure2_5x
- replace deprecated %%makeinstall_std

* Wed Nov 21 2018 martinw <martinw> 1.2-27.mga7
+ Revision: 1332922
- ensure plymouth has quit before starting drakx-installer-xsetup
  o needed because GDM blocks the plymouth-quit service
- force drakx-installer-xsetup to display on vt1

* Fri Nov 09 2018 martinw <martinw> 1.2-26.mga7
+ Revision: 1329042
- Fix requires for drakx-installer-matchbox (mga#23828)

* Tue Oct 30 2018 martinw <martinw> 1.2-25.mga7
+ Revision: 1326579
- add systemd service to execute xsetup scripts for live startup and install
  o this used to be done by prefdm
- drop support for firstboot script - it no longer exists

* Sun Sep 23 2018 umeabot <umeabot> 1.2-24.mga7
+ Revision: 1299464
- Mageia 7 Mass Rebuild

* Sat Jul 02 2016 tmb <tmb> 1.2-23.mga6
+ Revision: 1038322
- dont check for firefox as we dont use it at install time anymore
- drakx-installer-matchbox: disable composite (mga#17223)

* Mon Feb 08 2016 umeabot <umeabot> 1.2-22.mga6
+ Revision: 945969
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 1.2-21.mga5
+ Revision: 741905
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.2-20.mga5
+ Revision: 682182
- Mageia 5 Mass Rebuild

* Mon Nov 11 2013 tv <tv> 1.2-19.mga4
+ Revision: 550601
- fix URL

* Sat Oct 19 2013 umeabot <umeabot> 1.2-18.mga4
+ Revision: 531483
- Mageia 4 Mass Rebuild

* Mon Aug 05 2013 fwang <fwang> 1.2-17.mga4
+ Revision: 463710
- use autoreconf

* Sat Jan 19 2013 fwang <fwang> 1.2-17.mga3
+ Revision: 389774
- fix build with latest automake
+ umeabot <umeabot>
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Oct 04 2012 rtp <rtp> 1.2-16.mga3
+ Revision: 302832
- fix build

* Tue Feb 08 2011 pterjan <pterjan> 1.2-15.mga1
+ Revision: 49255
- Drop old stuff and fix license
- imported package matchbox-window-manager


* Fri Dec 03 2010 Oden Eriksson <oeriksson@mandriva.com> 1.2-15mdv2011.0
+ Revision: 606629
- rebuild

* 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