2009-08-13 00:07:57 +00:00
|
|
|
Name: gnome-shell
|
2009-10-08 01:26:53 +00:00
|
|
|
Version: 2.28.0
|
2009-10-08 01:47:06 +00:00
|
|
|
Release: 4
|
2009-08-13 00:07:57 +00:00
|
|
|
Summary: Window management and application launching for GNOME
|
|
|
|
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://live.gnome.org/GnomeShell
|
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/2.27/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
|
|
|
%define clutter_version 1.0.0
|
2009-09-05 00:35:37 +00:00
|
|
|
%define gobject_introspection_version 0.6.5
|
2009-10-08 01:26:53 +00:00
|
|
|
%define mutter_version 2.28.0
|
2009-08-13 00:07:57 +00:00
|
|
|
|
|
|
|
BuildRequires: clutter-devel >= %{clutter_version}
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gir-repository-devel
|
|
|
|
BuildRequires: gjs-devel
|
|
|
|
BuildRequires: glib2-devel
|
2009-08-29 01:53:14 +00:00
|
|
|
BuildRequires: gnome-desktop-devel
|
2009-08-13 00:07:57 +00:00
|
|
|
BuildRequires: gnome-menus-devel
|
2009-09-05 00:42:24 +00:00
|
|
|
BuildRequires: gobject-introspection >= %{gobject_introspection_version}
|
2009-08-13 00:07:57 +00:00
|
|
|
# for screencast recorder functionality
|
|
|
|
BuildRequires: gstreamer-devel
|
|
|
|
BuildRequires: gtk2-devel
|
2009-08-29 01:33:11 +00:00
|
|
|
BuildRequires: intltool
|
2009-08-13 00:07:57 +00:00
|
|
|
# used in unused BigThemeImage
|
|
|
|
BuildRequires: librsvg2-devel
|
|
|
|
BuildRequires: mutter-devel >= %{mutter_version}
|
|
|
|
|
2009-08-29 00:30:24 +00:00
|
|
|
# User interface to switch to GNOME Shell
|
|
|
|
Requires: desktop-effects
|
2009-08-13 00:07:57 +00:00
|
|
|
# For %pre/%post usage of gconftool-2
|
|
|
|
Requires: GConf2
|
2009-08-29 00:30:24 +00:00
|
|
|
# wrapper script uses to restart old GNOME session if run --replace
|
|
|
|
# from the command line
|
2009-09-05 00:42:24 +00:00
|
|
|
Requires: gobject-introspection >= %{gobject_introspection_version}
|
2009-08-29 00:30:24 +00:00
|
|
|
Requires: gnome-python2-gconf
|
|
|
|
Requires: pygobject2
|
2009-08-13 00:07:57 +00:00
|
|
|
# wrapper script uses to figure out available GLX capabilities
|
|
|
|
Requires: glx-utils
|
|
|
|
# needed for loading SVG's via gdk-pixbuf
|
|
|
|
Requires: librsvg2
|
|
|
|
Requires: mutter >= %{mutter_version}
|
|
|
|
# These are needed to run gnome-shell nested Xephyr mode, but that's a
|
|
|
|
# developer-only thing and unlikely to be interesting for a normal user
|
|
|
|
#Requires: xorg-x11-server-Xephyr
|
|
|
|
#Requires: xorg-x11-xauth
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNOME Shell provides core user interface functions for the GNOME 3 desktop,
|
|
|
|
like switching to windows and launching applications. GNOME Shell takes
|
|
|
|
advantage of the capabilities of modern graphics hardware and introduces
|
|
|
|
innovative user interface concepts to provide a visually attractive and
|
|
|
|
easy to use experience.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
|
|
|
|
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
# http://bugzilla.gnome.org/show_bug.cgi?id=591474
|
|
|
|
# make %{?_smp_mflags}
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/mutter/plugins/*.la
|
|
|
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell.desktop
|
|
|
|
|
2009-08-29 01:33:11 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2009-08-13 00:07:57 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2009-08-29 01:33:11 +00:00
|
|
|
%files -f %{name}.lang
|
2009-08-13 00:07:57 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING README
|
|
|
|
%{_bindir}/gnome-shell
|
|
|
|
%{_datadir}/applications/gnome-shell.desktop
|
|
|
|
%{_datadir}/gnome-shell/
|
|
|
|
%{_libdir}/gnome-shell/
|
|
|
|
%{_libdir}/mutter/plugins/libgnome-shell.so
|
|
|
|
%{_sysconfdir}/gconf/schemas/gnome-shell.schemas
|
|
|
|
|
|
|
|
%pre
|
|
|
|
if [ "$1" -gt 1 ]; then
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-uninstall-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
|
|
|
|
> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
2009-08-29 22:01:57 +00:00
|
|
|
if [ "$1" -eq 0 ]; then
|
2009-08-13 00:07:57 +00:00
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-uninstall-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
|
|
|
|
> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post
|
|
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
gconftool-2 --makefile-install-rule \
|
|
|
|
%{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
|
|
|
|
> /dev/null || :
|
|
|
|
|
|
|
|
%changelog
|
2009-10-08 01:26:53 +00:00
|
|
|
* Wed Oct 7 2009 Owen Taylor <otaylor@redhat.com> - 2.28.0-2
|
|
|
|
- Update to 2.28.0
|
|
|
|
|
2009-09-15 22:07:45 +00:00
|
|
|
* Tue Sep 15 2009 Owen Taylor <otaylor@redhat.com> - 2.27.3-1
|
|
|
|
- Update to 2.27.3
|
|
|
|
|
2009-09-05 00:42:24 +00:00
|
|
|
* Fri Sep 4 2009 Owen Taylor <otaylor@redhat.com> - 2.27.2-2
|
|
|
|
- Test for gobject-introspection version should be >= not >
|
|
|
|
|
2009-09-05 00:35:37 +00:00
|
|
|
* Fri Sep 4 2009 Owen Taylor <otaylor@redhat.com> - 2.27.2-1
|
|
|
|
- Update to 2.27.2
|
|
|
|
- Add an explicit dep on gobject-introspection 0.6.5 which is required
|
|
|
|
for the new version
|
|
|
|
|
2009-08-29 22:01:57 +00:00
|
|
|
* Sat Aug 29 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-4
|
|
|
|
- Fix GConf %%preun script to properly be for package removal
|
|
|
|
|
2009-08-29 01:53:14 +00:00
|
|
|
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-3
|
|
|
|
- Replace libgnomeui with gnome-desktop in BuildRequires
|
|
|
|
|
2009-08-29 01:33:11 +00:00
|
|
|
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-2
|
|
|
|
- BuildRequire intltool
|
|
|
|
- Add find_lang
|
|
|
|
|
2009-08-29 00:30:24 +00:00
|
|
|
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-1
|
|
|
|
- Update to 2.27.1
|
|
|
|
- Update Requires, add desktop-effects
|
|
|
|
|
2009-08-13 00:07:57 +00:00
|
|
|
* Wed Aug 12 2009 Owen Taylor <otaylor@redhat.com> - 2.27.0-4
|
|
|
|
- Add an explicit dependency on GConf2 for pre/post
|
|
|
|
|
|
|
|
* Tue Aug 11 2009 Owen Taylor <otaylor@redhat.com> - 2.27.0-3
|
|
|
|
- Add missing BuildRequires on gir-repository-devel
|
|
|
|
|
|
|
|
* Tue Aug 11 2009 Owen Taylor <otaylor@redhat.com> - 2.27.0-2
|
|
|
|
- Temporarily use a non-parallel-build until gnome-shell is fixed
|
|
|
|
|
|
|
|
* Mon Aug 10 2009 Owen Taylor <otaylor@redhat.com> - 2.27.0-1
|
|
|
|
- Initial version
|