From c7a4179be03d870d0cdc89d341da83a3123d850a Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 13 Aug 2009 00:07:57 +0000 Subject: [PATCH] Initial import (#516654). --- .cvsignore | 1 + gnome-shell.spec | 122 +++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 125 insertions(+) create mode 100644 gnome-shell.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..951c768 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gnome-shell-2.27.0.tar.bz2 diff --git a/gnome-shell.spec b/gnome-shell.spec new file mode 100644 index 0000000..56f8f21 --- /dev/null +++ b/gnome-shell.spec @@ -0,0 +1,122 @@ +Name: gnome-shell +Version: 2.27.0 +Release: 4 +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 +%define mutter_version 2.27.2 + +BuildRequires: clutter-devel >= %{clutter_version} +BuildRequires: dbus-glib-devel +BuildRequires: desktop-file-utils +BuildRequires: gir-repository-devel +BuildRequires: gjs-devel +BuildRequires: glib2-devel +BuildRequires: gnome-menus-devel +# for screencast recorder functionality +BuildRequires: gstreamer-devel +BuildRequires: gtk2-devel +# temporary until GnomeThumbnailFactory => GnomeDesktopThumbnailFactory +BuildRequires: libgnomeui-devel +# used in unused BigThemeImage +BuildRequires: librsvg2-devel +BuildRequires: mutter-devel >= %{mutter_version} + +# wrapper script uses to see if gnome-panel is running +Requires: dbus-python +# For %pre/%post usage of gconftool-2 +Requires: GConf2 +# 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 + +%clean +rm -rf %{buildroot} + +%files +%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 +if [ "$1" -gt 0 ]; then + 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 +* Wed Aug 12 2009 Owen Taylor - 2.27.0-4 +- Add an explicit dependency on GConf2 for pre/post + +* Tue Aug 11 2009 Owen Taylor - 2.27.0-3 +- Add missing BuildRequires on gir-repository-devel + +* Tue Aug 11 2009 Owen Taylor - 2.27.0-2 +- Temporarily use a non-parallel-build until gnome-shell is fixed + +* Mon Aug 10 2009 Owen Taylor - 2.27.0-1 +- Initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..6a3b501 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +gnome-shell-2_27_0-4:HEAD:gnome-shell-2.27.0-4.src.rpm:1250122041 diff --git a/sources b/sources index e69de29..87ed373 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +372771ace3aeb34b0a689f917bb68f10 gnome-shell-2.27.0.tar.bz2