2004-09-09 05:32:59 +00:00
|
|
|
%define glib2_version 2.0.0
|
2004-09-09 05:33:06 +00:00
|
|
|
%define pango_version 1.0.99
|
2004-09-09 05:32:59 +00:00
|
|
|
%define gtk2_version 2.0.3-3
|
2004-09-09 05:33:06 +00:00
|
|
|
%define libgnome_version 2.0.0
|
|
|
|
%define libgnomeui_version 2.0.1
|
2004-09-09 05:32:59 +00:00
|
|
|
%define libbonobo_version 2.0.0
|
2004-09-09 05:33:06 +00:00
|
|
|
%define libbonoboui_version 2.0.0
|
|
|
|
%define gnome_vfs2_version 2.0.0
|
2004-09-09 05:32:59 +00:00
|
|
|
%define bonobo_activation_version 1.0.0
|
2004-09-09 05:33:06 +00:00
|
|
|
%define gconf2_version 1.2.1
|
|
|
|
|
|
|
|
%define po_package gnome-session-2.0
|
2004-09-09 05:32:59 +00:00
|
|
|
|
|
|
|
Summary: GNOME session manager
|
|
|
|
Name: gnome-session
|
2004-09-09 05:33:06 +00:00
|
|
|
Version: 2.0.5
|
|
|
|
Release: 2
|
2004-09-09 05:32:59 +00:00
|
|
|
URL: http://www.gnome.org
|
|
|
|
Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/gnome-session/%{name}-%{version}.tar.bz2
|
2004-09-09 05:33:06 +00:00
|
|
|
Source2: redhat-default-session
|
2004-09-09 05:32:59 +00:00
|
|
|
License: GPL
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
|
2004-09-09 05:33:06 +00:00
|
|
|
Requires: redhat-artwork >= 0.20
|
|
|
|
Requires: /usr/share/pixmaps/splash/gnome-splash.png
|
|
|
|
# required to get gconf-sanity-check-2 in the right place
|
|
|
|
Requires: GConf2 >= %{gconf2_version}
|
|
|
|
|
2004-09-09 05:32:59 +00:00
|
|
|
Patch1: gnome-session-1.5.16-metacity-default.patch
|
2004-09-09 05:33:06 +00:00
|
|
|
Patch2: gnome-session-2.0.1-gtk1theme.patch
|
2004-09-09 05:32:59 +00:00
|
|
|
|
|
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
2004-09-09 05:33:06 +00:00
|
|
|
BuildRequires: pango-devel >= %{pango_version}
|
2004-09-09 05:32:59 +00:00
|
|
|
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
|
|
BuildRequires: libgnome-devel >= %{libgnome_version}
|
|
|
|
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
|
|
|
BuildRequires: libbonobo-devel >= %{libbonobo_version}
|
|
|
|
BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
|
|
|
|
BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version}
|
|
|
|
BuildRequires: bonobo-activation-devel >= %{bonobo_activation_version}
|
|
|
|
BuildRequires: Xft
|
|
|
|
BuildRequires: fontconfig
|
|
|
|
|
|
|
|
# this is so the configure checks find /usr/bin/halt etc.
|
|
|
|
BuildRequires: usermode
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
gnome-session manages a GNOME desktop session. It starts up the other core
|
|
|
|
GNOME components and handles logout and saving the session.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%patch1 -p1 -b .metacity-default
|
2004-09-09 05:33:06 +00:00
|
|
|
%patch2 -p1 -b .gtk1theme
|
2004-09-09 05:32:59 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
2004-09-09 05:33:06 +00:00
|
|
|
%configure --with-halt-command=/usr/bin/poweroff --with-reboot-command=/usr/bin/reboot
|
2004-09-09 05:32:59 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-09-09 05:33:06 +00:00
|
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
2004-09-09 05:32:59 +00:00
|
|
|
%makeinstall
|
2004-09-09 05:33:06 +00:00
|
|
|
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
2004-09-09 05:32:59 +00:00
|
|
|
|
2004-09-09 05:33:06 +00:00
|
|
|
/bin/rm $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
|
|
|
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
|
|
|
|
|
|
|
|
/bin/rm -r $RPM_BUILD_ROOT/var/scrollkeeper
|
|
|
|
|
|
|
|
## remove splash screen
|
|
|
|
rm -r $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash
|
|
|
|
|
|
|
|
%find_lang %{po_package}
|
2004-09-09 05:32:59 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
SCHEMAS="gnome-session.schemas"
|
|
|
|
for S in $SCHEMAS; do
|
|
|
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
|
|
|
|
done
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2004-09-09 05:33:06 +00:00
|
|
|
%files -f %{po_package}.lang
|
2004-09-09 05:32:59 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
|
|
|
|
|
%{_datadir}/gnome
|
|
|
|
%{_datadir}/control-center-2.0
|
|
|
|
%{_datadir}/omf
|
|
|
|
%{_datadir}/man/man*/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_sysconfdir}/gconf/schemas/*.schemas
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 05:33:06 +00:00
|
|
|
* Wed Aug 14 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- fix the session file, should speed up login a lot
|
|
|
|
- put magicdev in default session
|
|
|
|
|
|
|
|
* Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 2.0.5 with more translations
|
|
|
|
|
|
|
|
* Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 2.0.4
|
|
|
|
- remove gnome-settings-daemon from default session
|
|
|
|
|
|
|
|
* Wed Jul 31 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 2.0.3
|
|
|
|
- remove splash screen, require redhat-artwork instead
|
|
|
|
|
|
|
|
* Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com>
|
|
|
|
- Set GTK_RC_FILES so we can change the gtk1 theme
|
|
|
|
|
|
|
|
* Tue Jul 16 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- pass --with-halt-command=/usr/bin/poweroff
|
|
|
|
--with-reboot-command=/usr/bin/reboot
|
|
|
|
|
|
|
|
* Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
|
|
|
|
- Version 2.0.1, fixing missing po files
|
|
|
|
|
|
|
|
* Wed Jun 19 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- put in new default session with pam-panel-icon
|
|
|
|
- disable schema install in make install, fixes rebuild failure.
|
|
|
|
|
|
|
|
* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild with new libraries
|
|
|
|
|
2004-09-09 05:32:59 +00:00
|
|
|
* Thu Jun 13 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
* Thu Jun 13 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- add fix from Nalin to build require usermode
|
|
|
|
|
|
|
|
* Tue Jun 11 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 2.0.0
|
|
|
|
|
|
|
|
* Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- install the schemas, so we get a logout dialog and splash
|
|
|
|
- put in the splash from 7.3
|
|
|
|
|
|
|
|
* Sun Jun 09 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
* Sun Jun 09 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in new environment, require newer gtk2
|
|
|
|
|
|
|
|
* Sun Jun 9 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- remove obsoletes/provides gnome-core
|
|
|
|
|
|
|
|
* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
* Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 1.5.21
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- rebuild in different environment
|
|
|
|
|
|
|
|
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- 1.5.19
|
|
|
|
- add more build reqs to chill out build system
|
|
|
|
- provide gnome-core
|
|
|
|
|
|
|
|
* Fri May 3 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- obsolete gnome-core
|
|
|
|
- 1.5.18
|
|
|
|
|
|
|
|
* Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- default to metacity
|
|
|
|
|
|
|
|
* Tue Apr 16 2002 Havoc Pennington <hp@redhat.com>
|
|
|
|
- Initial build.
|
|
|
|
|
|
|
|
|