updating the POTFILES.in so intltool-update can be run.
Name: gnome-session
License: GPL
Group: System/GUI/GNOME
Version: 2.2.1
Release: 11
Distribution: Mercury
Vendor: Sun Microsystems Inc.
Summary: Session Manager for the GNOME Desktop
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-session/%{name}-%{version}.tar.bz2
Source1: gnome-splash.png
Source2: gnome-session-l10n-po.tar.bz2
Patch1: gnome-session-01-display-properties.diff
Patch2: gnome-session-02-magicdev-default-session.diff
Patch3: gnome-session-03-logout-effect.diff
Patch4: gnome-session-04-potfiles_in.diff
URL: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}/%{name}
Autoreqprov: on
%define libgnomeui_version 2.2.0
%define libwnck_version 2.2.1
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: libwnck-devel >= %{libwnck_version}
Requires: libgnomeui >= %{libgnomeui_version}
Requires: libwnck >= %{libwnck_version}
%description
This package provides the basic session manager and tools for the GNOME Desktop.
%prep
%setup -q
%patch1
%patch2 -p1
%patch3
cp %SOURCE1 gnome-session/gnome-splash.png
%patch4 -p1
tar jxvf %SOURCE2
%build
libtoolize --force
aclocal -I /usr/share/aclocal/gnome2-macros -I .
autoheader
automake -a -c -f
autoconf
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir}
make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR=$RPM_BUILD_ROOT install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%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
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/pixmaps/*
%{_datadir}/man/*
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/gnome/default.session
%{_datadir}/gnome/default.wm
%{_sysconfdir}/gconf/schemas/*
%{_datadir}/control-center-2.0/capplets/session-properties.desktop
%changelog
* Fri Jul 11 2003 - <[email protected]>
- Add patch for logout effect
* Thu Jul 10 2003 - <[email protected]>
- Add an icon to the splash widget.
* Thu Jul 10 2003 - <[email protected]>
- Add magicdev to the default session.
* Wed Jul 09 2003 - <[email protected]>
- add in sun po files
* Mon Jun 30 2003 - [email protected]
- run autoheader so config.h contains gets HAVE_RANDR
* Mon Jun 30 2003 - [email protected]
- add display properties restoration patch
- copy the splash screen into the build tree in
%prep rather than manually installing it in %install
* Tue May 13 2003 - [email protected]
- Created new spec file for gnome-session