10139N/A#
10139N/A# spec file for package SUNWgnome-wm
10139N/A#
10139N/A# includes module(s): metacity
10139N/A#
20904N/A# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner erwannc
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%use metacity = metacity.spec
10139N/A
10139N/AName: SUNWgnome-wm
18688N/AIPS_package_name: gnome/window-manager/metacity
18688N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Window Managers
10139N/ASummary: GNOME window manager
19013N/AVersion: %{metacity.version}
19112N/ALicense: %{metacity.license}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
12784N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
20784N/ABuildRequires: SUNWgtk3-devel
10139N/ABuildRequires: SUNWxorg-headers
10139N/ABuildRequires: SUNWgnome-config-devel
15884N/ABuildRequires: SUNWgnome-dialog
18850N/ABuildRequires: SUNWgnome-doc-utils
18850N/ABuildRequires: SUNWgnome-config
18850N/ABuildRequires: SUNWuiu8
20348N/ABuildRequires: x11/trusted/libxtsol
20784N/ARequires: SUNWgtk3
10139N/ARequires: SUNWgnome-wm-root
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-config
16307N/ARequires: SUNWpostrun
10139N/ARequires: SUNWbzip
10139N/ARequires: SUNWzlib
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWlibms
16307N/ARequires: SUNWdesktop-cache
16848N/ARequires: SUNWlibcanberra
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
11311N/ARequires: %{name}
20784N/ARequires: SUNWgtk3-devel
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%metacity.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport CFLAGS="%optflags -I/usr/sfw/include -I/usr/X11/include -I/usr/sfw/include/freetype2 -DANSICPP"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags -L/usr/X11/lib -R/usr/X11/lib -L/usr/sfw/lib -R/usr/sfw/lib -lXrender"
10139N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
10139N/A
10139N/A%metacity.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%metacity.install -d %name-%version
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A# Move demo to demo directory.
10139N/A#
10139N/Ainstall -d $RPM_BUILD_ROOT%{_prefix}/demo/jds/bin
10139N/Amv $RPM_BUILD_ROOT%{_bindir}/metacity-window-demo $RPM_BUILD_ROOT%{_prefix}/demo/jds/bin/metacity-window-demo
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
16307N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A%ifarch sparc
10139N/A( echo 'test -x /usr/bin/gconftool-2 || {';
10139N/A echo ' echo "ERROR: gconftool-2 not found"';
10139N/A echo ' exit 0';
10139N/A echo '}';
10139N/A echo 'umask 0022';
10139N/A echo "GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults";
10139N/A echo 'export GCONF_CONFIG_SOURCE';
10139N/A echo "SDIR=%{_sysconfdir}/gconf/schemas";
10139N/A echo '/usr/bin/gconftool-2 --direct --config-source=$GCONF_CONFIG_SOURCE -t bool -s /apps/metacity/general/reduced_resources true'
16307N/A) | $BASEDIR/lib/postrun -c JDS
10139N/A%endif
10139N/A
16307N/A%postun
16307N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
14351N/A%doc -d metacity-%{metacity.version} README AUTHORS MAINTAINERS
14351N/A%doc(bzip2) -d metacity-%{metacity.version} NEWS COPYING ChangeLog
14351N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/lib*.so*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
14154N/A%dir %attr (0755, root, other) %{_datadir}/applications
14465N/A%dir %attr (0755, root, other) %{_datadir}/gnome
14465N/A%dir %attr(0755, root, bin) %{_datadir}/gnome/wm-properties
14154N/A%{_datadir}/applications/*
20904N/A%{_datadir}/GConf/*
20904N/A%{_datadir}/glib-2.0/*
14465N/A%{_datadir}/gnome/wm-properties/*
15506N/A%{_datadir}/gnome/help/*
10139N/A%{_datadir}/metacity/icons
17789N/A#%{_datadir}/themes
11030N/A%{_datadir}/gnome-control-center/keybindings
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
10139N/A
17789N/A%{_datadir}/themes/AgingGorilla/metacity-1/*.png
17789N/A%{_datadir}/themes/AgingGorilla/metacity-1/metacity-theme-1.xml
17789N/A%{_datadir}/themes/Atlanta/metacity-1/metacity-theme-1.xml
17789N/A%{_datadir}/themes/Crux/metacity-1/*.png
17789N/A%{_datadir}/themes/Crux/metacity-1/metacity-theme-2.xml
17789N/A%{_datadir}/themes/Crux/metacity-1/metacity-theme-1.xml
17789N/A%{_datadir}/themes/Esco/metacity-1/metacity-theme-1.xml
17789N/A%{_datadir}/themes/Metabox/metacity-1/metacity-theme-1.xml
17789N/A%{_datadir}/themes/Bright/metacity-1/metacity-theme-1.xml
17789N/A%{_datadir}/themes/Bright/metacity-1/metacity-theme-2.xml
17789N/A%{_datadir}/themes/Simple/metacity-1/*.png
17789N/A%{_datadir}/themes/Simple/metacity-1/metacity-theme-1.xml
17789N/A
10139N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%{_prefix}/demo/jds/bin/metacity-window-demo
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A
10139N/A%changelog
20784N/A* Tue Jul 12 2011 - brian.cameron@oracle.com
20784N/A- Fix Requires for metacity 2.34.1 release.
18850N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
18850N/A- Updated BuildRequires to fit SourceJuicer.
17789N/A* Thu Nov 26 2009 - christian.kelly@sun.com
17789N/A- Fix directory perms.
16848N/A* Thu Jul 23 2009 - christian.kelly@sun.com
16848N/A- Add Requires: SUNWlibcanberra.
16836N/A* Tue Jul 21 2009 - christian.kelly@sun.com
16836N/A- Remove %{_libexecdir}/metacity-dialog.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
15884N/A* Wed Feb 18 2009 - dave.lin@sun.com
15884N/A- Add BuildRequires: SUNWgnome-dialog as it requires zenity.
15509N/A* Fri Dec 12 2008 - dave.lin@sun.com
15509N/A- Fix gnome/help attribute issue.
14154N/A* Thu Sep 02 2008 - christian.kelly@sun.com
14154N/A- Unbump to 2.23.377, reworked patch 8.
12112N/A* Thu Jan 3 2008 - laca@sun.com
12112N/A- use gconf-install.script instead of an inline script
11311N/A* Fri Sep 28 2007 - laca@sun.com
11311N/A- delete SUNWxwrtl and SUNWxorg-clientlibs deps
11311N/A- delete some unnecessary env variables
11030N/A* Tue Aug 07 2007 - damien.carbery@sun.com
11030N/A- Updated for %files for new tarball - change %{_datadir}/control-center to
11030N/A %{_datadir}/gnome-control-center.
10633N/A* Mon May 14 2007 - erwann.chenede@sun.com
10633N/A- Added new dir in %files
10139N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Thu May 25 2006 - laca@sun.com
10139N/A- use post/preun scripts to install schemas into the merged gconf files
10139N/A* Fri May 12 2006 - damien.carbery@sun.com
10139N/A- Small update to dependency list after check-deps.pl run.
10139N/A* Thu May 11 2006 - brian.cameron@sun.com
10139N/A- Move metacity-window-demo to /usr/share/jds/bin and no longer include
10139N/A the useless manpage.
10139N/A* Wed May 10 2006 - laca@sun.com
10139N/A- merge -share pkg(s) into the base pkg(s)
10139N/A* Fri Feb 17 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Sat Dec 3 2005 - laca@sun.com
10139N/A- add %post script that runs update-desktop-database
10139N/A* Thu Jun 02 2005 - brian.cameron@sun.com
10139N/A- Install l10n package last since it fails when building
10139N/A outside of the official build.
10139N/A* Thu May 19 2005 - brian.cameron@sun.com
10139N/A- Update to 2.10 and fix packaging.
10139N/A* Wed Nov 10 2004 - arvind.samptur@wipro.com
10139N/A- Set reduced_resource key to true on sparc m/c's
10139N/A* Fri Oct 08 2004 - kaushal.kumar@wipro.com
10139N/A- Added patch metacity-02-enable-Sun-keys-Open-Front.diff.
10139N/A Fixes bug 5103120.
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
10139N/A* Sat Sep 11 2004 - laca@sun.com
10139N/A- Set LDFLAGS so Xrandr and Xrender can be found.
10139N/A* Thu Sep 09 2004 - matt.keenan@sun.com
10139N/A- Added metacity-message.1, metacity-window-demo.1 manpages
10139N/A* Thu Aug 26 2004 - balamurali.viswanathan@wipro.com
10139N/A- Added patch to use sdtprocess instead of gnome-system-monitor.
10139N/A* Wed Aug 18 2004 - damien.carbery@sun.com
10139N/A- Change manpage perms for Solaris integration.
10139N/A* Sat Jun 26 2004 shirley.woo@sun.com
10139N/A- Changed install location to /usr/...
10139N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10139N/A- Added %{_datadir}/locale to install l10n messages
10139N/A* Wed Mar 24 2004 - brian.cameron@sun.com
10139N/A- Added SGML man page integration
10139N/A* Mon Mar 01 2004 - <laca@sun.com>
10139N/A- remove dependencies on SUNWgnome-libs-share and root
10139N/A* Thu Feb 26 2004 - <laca@sun.com>
10139N/A- set PERL5LIB for XML::Parser
10139N/A* Mon Feb 22 2004 - <niall.power@sun.com>
10139N/A- install gconf schemas at end of install stage.
10139N/A- make clean stage clean stuff up.
16401N/A