gnome-shell/gnome-shell.spec

440 lines
15 KiB
RPMSpec
Raw Normal View History

2009-08-13 00:07:57 +00:00
Name: gnome-shell
2011-09-14 23:57:11 +00:00
Version: 3.1.91.1
Release: 2%{?dist}
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
#VCS: git:git://git.gnome.org/gnome-shell
2011-08-31 20:57:23 +00:00
Source0: http://download.gnome.org/sources/gnome-shell/3.1/%{name}-%{version}.tar.xz
2011-04-11 17:30:10 +00:00
Patch0: gnome-shell-avoid-redhat-menus.patch
# Replace Epiphany with Firefox in the default favourite apps list
Patch1: gnome-shell-favourite-apps-firefox.patch
2010-10-04 21:01:37 +00:00
%define clutter_version 1.4.0
%define gobject_introspection_version 0.10.1
2011-04-04 22:37:18 +00:00
%define mutter_version 3.0.0
%define eds_version 2.91.6
2011-09-14 23:57:11 +00:00
%define json_glib_version 0.13.2
BuildRequires: chrpath
2009-08-13 00:07:57 +00:00
BuildRequires: clutter-devel >= %{clutter_version}
BuildRequires: dbus-glib-devel
BuildRequires: desktop-file-utils
BuildRequires: evolution-data-server-devel >= %{eds_version}
BuildRequires: gjs-devel >= 0.7.14-6
2009-08-13 00:07:57 +00:00
BuildRequires: glib2-devel
BuildRequires: gnome-menus-devel >= 3.1.5-2.fc16
2010-07-12 22:19:20 +00:00
BuildRequires: gnome-desktop3-devel
BuildRequires: gobject-introspection >= %{gobject_introspection_version}
2011-09-14 23:57:11 +00:00
BuildRequires: json-glib-devel >= %{json_glib_version}
2011-02-23 04:46:49 +00:00
BuildRequires: upower-devel
2011-08-31 21:37:07 +00:00
BuildRequires: NetworkManager-glib-devel
2011-02-23 04:46:49 +00:00
BuildRequires: polkit-devel
2011-02-23 05:19:37 +00:00
BuildRequires: telepathy-glib-devel
2011-03-24 02:39:33 +00:00
BuildRequires: telepathy-logger-devel >= 0.2.6
2009-08-13 00:07:57 +00:00
# for screencast recorder functionality
BuildRequires: gstreamer-devel
2010-07-12 22:19:20 +00:00
BuildRequires: gtk3-devel
BuildRequires: intltool
BuildRequires: libcanberra-devel
BuildRequires: libcroco-devel
2011-08-31 21:16:08 +00:00
BuildRequires: folks-devel
2011-03-24 01:56:43 +00:00
# for barriers
BuildRequires: libXfixes-devel >= 5.0
2009-08-13 00:07:57 +00:00
# used in unused BigThemeImage
BuildRequires: librsvg2-devel
BuildRequires: mutter-devel >= %{mutter_version}
BuildRequires: pulseaudio-libs-devel
2011-04-28 14:43:47 +00:00
%ifnarch s390 s390x
BuildRequires: gnome-bluetooth-libs-devel >= 2.91
BuildRequires: gnome-bluetooth >= 2.91
2011-04-28 14:43:47 +00:00
%endif
# Bootstrap requirements
BuildRequires: gtk-doc gnome-common
Requires: gnome-menus%{?_isa} >= 3.0.0-2
2009-08-13 00:07:57 +00:00
# For %pre/%post usage of gconftool-2
Requires: GConf2%{?_isa}
# wrapper script uses to restart old GNOME session if run --replace
# from the command line
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
2009-08-13 00:07:57 +00:00
# needed for loading SVG's via gdk-pixbuf
Requires: librsvg2%{?_isa}
2010-03-26 20:38:02 +00:00
# needed as it is now split from Clutter
Requires: json-glib%{?_isa} >= %{json_glib_version}
2011-09-14 23:57:11 +00:00
# For $libdir/mozilla/plugins
Requires: mozilla-filesystem%{?_isa}
Requires: mutter%{?_isa} >= %{mutter_version}
Requires: upower%{?_isa}
Requires: polkit%{?_isa} >= 0.100
2011-07-27 01:49:55 +00:00
# needed for schemas
Requires: at-spi2-atk%{?_isa}
2011-09-07 10:51:55 +00:00
# needed for on-screen keyboard
Requires: caribou%{?_isa}
2009-08-13 00:07:57 +00:00
%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
2010-03-26 20:38:02 +00:00
%setup -q
%patch0 -p1 -b .avoid-redhat-menus
%patch1 -p1 -b .firefox
2009-08-13 00:07:57 +00:00
%build
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
%configure --disable-static)
2010-03-26 20:38:02 +00:00
make V=1 %{?_smp_mflags}
2009-08-13 00:07:57 +00:00
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
2011-09-14 23:57:11 +00:00
rm -rf %{buildroot}/%{_libdir}/mozilla/plugins/*.la
2009-08-13 00:07:57 +00:00
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell.desktop
%find_lang %{name}
2011-09-08 15:03:07 +00:00
%ifnarch s390 s390x
2011-07-27 23:41:54 +00:00
# The libdir rpath breaks nvidia binary only folks, so we remove it.
# See bug 716572
2011-09-08 15:03:07 +00:00
# skip on s390(x), workarounds a chrpath issue
chrpath -r %{_libdir}/gnome-shell:%{_libdir}/gnome-bluetooth $RPM_BUILD_ROOT%{_bindir}/gnome-shell
chrpath -r %{_libdir}/gnome-bluetooth $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell.so
2011-09-08 15:03:07 +00:00
%endif
%files -f %{name}.lang
2009-08-13 00:07:57 +00:00
%doc COPYING README
%{_bindir}/gnome-shell
2011-03-08 05:52:37 +00:00
%{_bindir}/gnome-shell-extension-tool
2010-07-13 13:57:29 +00:00
%{_datadir}/glib-2.0/schemas/*.xml
2009-08-13 00:07:57 +00:00
%{_datadir}/applications/gnome-shell.desktop
%{_datadir}/gnome-shell/
2011-03-08 05:52:37 +00:00
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
2011-08-02 15:10:49 +00:00
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
2009-08-13 00:07:57 +00:00
%{_libdir}/gnome-shell/
2011-09-14 23:57:11 +00:00
%{_libdir}/mozilla/plugins/*.so
2011-03-08 05:52:37 +00:00
%{_libexecdir}/gnome-shell-calendar-server
2011-03-24 03:32:15 +00:00
%{_libexecdir}/gnome-shell-perf-helper
2011-08-02 15:10:49 +00:00
%{_libexecdir}/gnome-shell-hotplug-sniffer
2009-08-13 00:07:57 +00:00
%{_sysconfdir}/gconf/schemas/gnome-shell.schemas
%{_mandir}/man1/%{name}.1.gz
2009-08-13 00:07:57 +00:00
%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" -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
2010-07-13 16:59:01 +00:00
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||:
2009-08-13 00:07:57 +00:00
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
> /dev/null || :
2010-07-13 16:59:01 +00:00
%posttrans
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||:
2009-08-13 00:07:57 +00:00
%changelog
* Fri Sep 16 2011 Kalev Lember <kalevlember@gmail.com> - 3.1.91.1-2
- Tighten dependencies by specifying the required arch (#739130)
2011-09-14 23:57:11 +00:00
* Wed Sep 14 2011 Owen Taylor <otaylor@redhat.com> - 3.1.91.1-1
- Update to 3.1.91.1 (adds browser plugin)
Update Requires
2011-09-08 15:03:07 +00:00
* Thu Sep 08 2011 Dan Horák <dan[at]danny.cz> - 3.1.91-3
- workaround a chrpath issue on s390(x)
* Wed Sep 07 2011 Kalev Lember <kalevlember@gmail.com> - 3.1.91-2
- Replace Epiphany with Firefox in the default favourite apps
2011-09-07 10:51:55 +00:00
* Wed Sep 7 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.91-1
- Update to 3.1.91
- Require caribou
2011-08-31 20:57:23 +00:00
* Wed Aug 31 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.90.1-1
- Update to 3.1.90.1
2011-08-31 17:44:02 +00:00
* Wed Aug 31 2011 Adam Williamson <awilliam@redhat.com> - 3.1.4-3.gite7b9933
- rebuild against e-d-s
2011-08-19 16:26:38 +00:00
* Fri Aug 19 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.4-2.gite7b9933
- git snapshot that builds against gnome-menus 3.1.5
2011-08-19 14:17:26 +00:00
2011-08-18 14:55:57 +00:00
* Thu Aug 18 2011 Matthew Barnes <mbarnes@redhat.com> - 3.1.5-1
- Rebuild against newer eds libraries.
2011-07-27 23:35:43 +00:00
* Wed Jul 27 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.4-1
- Update to 3.1.4
2011-07-27 20:00:23 +00:00
* Wed Jul 27 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.3-4
- Rebuild
2011-07-27 01:49:55 +00:00
* Tue Jul 26 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.3-3
- Add necessary requires
2011-07-25 13:24:11 +00:00
* Mon Jul 25 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.3-2
- Rebuild
2011-07-05 16:09:37 +00:00
* Tue Jul 5 2011 Peter Robinson <pbrobinson@gmail.com> - 3.1.3-1
- Upstream 3.1.3 dev release
* Mon Jun 27 2011 Adam Williamson <awilliam@redhat.com> - 3.0.2-4
- add fixes from f15 branch (gjs dep and rpath)
* Wed Jun 22 2011 Owen Taylor <otaylor@redhat.com> - 3.0.2-3
- Add a patch from upstream to avoid g_file_get_contents()
* Fri Jun 17 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.0.2-2
- Rebuilt for new gtk3 and gnome-desktop3
2011-05-25 20:10:19 +00:00
* Wed May 25 2011 Owen Taylor <otaylor@redhat.com> - 3.0.2-1
- Update to 3.0.2
* Tue May 10 2011 Dan Williams <dcbw@redhat.com> - 3.0.1-4
- Fix initial connections to WPA Enterprise access points (#699014)
- Fix initial connections to mobile broadband networks
2011-04-28 14:43:47 +00:00
* Thu Apr 28 2011 Dan Horák <dan[at]danny.cz> - 3.0.1-3
- no bluetooth on s390(x)
* Wed Apr 27 2011 Owen Taylor <otaylor@redhat.com> - 3.0.1-2
- Add a patch from upstream to fix duplicate applications in application display
2011-04-25 22:37:40 +00:00
* Mon Apr 25 2011 Owen Taylor <otaylor@redhat.com> - 3.0.1-1
- Update to 3.0.1
2011-04-11 17:30:10 +00:00
* Mon Apr 11 2011 Colin Walters <walters@verbum.org> - 3.0.0.2-2
- We want to use the GNOME menus which has the designed categories,
not the legacy redhat-menus.
2011-04-08 14:31:39 +00:00
* Fri Apr 08 2011 Nils Philippsen <nils@redhat.com> - 3.0.0.2-1
- Update to 3.0.0.2 (fixes missing import that was preventing extensions from
loading.)
2011-04-08 14:31:39 +00:00
- Update source URL
* Tue Apr 5 2011 Owen Taylor <otaylor@redhat.com> - 3.0.0.1-1
- Update to 3.0.0.1 (fixes bug where network menu could leave
Clutter event handling stuck.)
2011-04-04 22:37:18 +00:00
* Mon Apr 4 2011 Owen Taylor <otaylor@redhat.com> - 3.0.0-1
- Update to 3.0.0
2011-03-29 18:33:25 +00:00
* Tue Mar 29 2011 Brian Pepple <bpepple@fedoraproject.org> - 2.91.93-3
- Bump
2011-03-29 15:27:29 +00:00
* Tue Mar 29 2011 Brian Pepple <bpepple@fedoraproject.org> - 2.91.93-2
- Rebuild for new tp-logger
2011-03-29 15:42:09 +00:00
* Mon Mar 28 2011 Owen Taylor <otaylor@redhat.com> - 2.91.93-1
- Update to 2.91.93.
* Fri Mar 25 2011 Ray Strode <rstrode@redhat.com> 2.91.92-3
- Adjustments for More nm-client api changes.
- Fix VPN indicator
* Thu Mar 24 2011 Christopher Aillon <caillon@redhat.com> - 2.91.92-2
- Make activating vpn connections work from the shell indicator
2011-03-24 00:17:53 +00:00
* Wed Mar 23 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.92-1
- Update to 2.91.92
* Wed Mar 16 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.91-2
- Fix alt-tab behavior on when primary display is not leftmost (# 683932)
2011-03-08 05:52:37 +00:00
* Tue Mar 8 2011 Owen Taylor <otaylor@redhat.com> - 2.91.91-1
- Update to 2.91.91
2011-02-23 05:37:50 +00:00
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-2
- Require upower and polkit at runtime
2011-02-23 04:46:49 +00:00
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1
- Update to 2.91.90
2011-02-11 04:51:06 +00:00
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-6
- Rebuild against newer gtk
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Feb 3 2011 Bill Nottingham <notting@redhat.com> - 2.91.6-4
- buildrequire gnome-bluetooth to fix bluetooth status icon (#674874)
2011-02-02 16:42:48 +00:00
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-3
- Rebuild against newer gtk
* Tue Feb 1 2011 Owen Taylor <otaylor@redhat.com> - 2.91.6-2
- Build-requires evolution-data-server-devel
2011-02-01 20:00:46 +00:00
* Tue Feb 1 2011 Owen Taylor <otaylor@redhat.com> - 2.91.6-1
- Update to 2.91.6
2011-01-13 15:42:56 +00:00
* Thu Jan 13 2011 Mattihas Clasen <mclasen@redhat.com> - 2.91.5-3
- Drop desktop-effects dependency
* Wed Jan 12 2011 Colin Walters <walters@verbum.org> - 2.91.5-2
- BR latest g-i, handles flags as arguments better
* Tue Jan 11 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.5-1
- Update to 2.91.5
* Sat Jan 8 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.4-1
- Update to 2.91.4
- Rebuild against new gtk
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 2.91.3-2
- Rebuild aginst new gtk
* Mon Nov 29 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-1
- Update to 2.91.3
* Thu Nov 18 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-3
- Add another memory-management crasher fix from upstream
* Mon Nov 15 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-2
- Add a patch from upstream fixing a memory-management crasher
* Tue Nov 9 2010 Owen Taylor <otaylor@redhat.com> - 2.91.2-1
- Update to 2.91.2
* Mon Nov 1 2010 Owen Taylor <otaylor@redhat.com> - 2.91.1-1
- Update to 2.91.1
- Add libcroco-devel to BuildRequires, apparently it was getting
pulled in indirectly before
- Add libcanberra-devel and pulseaudio-libs-devel BuildRequires
2010-11-01 20:36:16 +00:00
2010-10-04 21:01:37 +00:00
* Mon Oct 4 2010 Owen Taylor <otaylor@redhat.com> - 2.91.0-1
- Update to 2.91.0
- Remove patch to disable VBlank syncing
2010-08-12 18:52:10 +00:00
* Thu Aug 12 2010 Colin Walters <walters@verbum.org> - 2.31.5-7
2010-08-12 13:14:35 +00:00
- Add patch to disable vblank syncing
2010-07-13 16:59:01 +00:00
* Tue Jul 13 2010 Colin Walters <walters@verbum.org> - 2.31.5-5
- Run glib-compile-schemas
2010-07-13 13:57:29 +00:00
* Tue Jul 13 2010 Colin Walters <walters@megatron> - 2.31.5-4
- Bless stuff in files section
2010-07-13 13:55:49 +00:00
* Tue Jul 13 2010 Colin Walters <walters@verbum.org> - 2.31.5-3
- Axe gnome-desktop-devel
2010-07-12 22:19:20 +00:00
* Tue Jul 13 2010 Adel Gadllah <adel.gadllah@gmail.com> - 2.31.5-2
- BuildRequire gnome-desktop3-devel, gtk3
* Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 2.31.5-1
- New upstream version
- Drop rpath goop, shouldn't be necessary any more
* Fri Jun 25 2010 Colin Walters <walters@megatron> - 2.31.2-3
- Drop gir-repository-devel build dependency
* Fri May 28 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.31.2-2
- Added new version requirements for dependencies based on upstream releases
- Added new file listings for gnome-shell-clock-preferences binary and .desktop
- Added gnome-shell man page file listing
* Wed May 26 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.31.2-1
- New upstream release
2010-03-26 20:38:02 +00:00
* Fri Mar 26 2010 Colin Walters <walters@verbum.org> - 2.29.1-3
- Specify V=1 for build, readd smp_mflags since parallel is fixed upstream
* Thu Mar 25 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.29.1-2
- Bumped for new version of mutter and clutter
- Added version requirement to gjs-devel because of dependency of build
* Wed Mar 24 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.29.1-1
- Update to latest version 2.29.1
* Sun Feb 21 2010 Bastien Nocera <bnocera@redhat.com> 2.28.1-0.2.20100128git
- Require json-glib
- Rebuild for new clutter with json split out
- Fix deprecation in COGL
* Thu Jan 28 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.28.1-0.1.20100128git
- New git snapshot
- Fixed Version for alphatag use
* Fri Jan 15 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20101015git-1
- Added dependency on a git build of gobject-introspect to solve some breakage
- Also went ahead and made a new git tarball
2010-01-12 22:52:42 +00:00
* Tue Jan 12 2010 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20100112git-1
- New git snapshot
2009-12-07 22:18:50 +00:00
* Tue Dec 07 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-5
- Added libtool, glib-gettext for the libtoolize dep of git snapshot
2009-12-07 21:53:38 +00:00
* Mon Dec 07 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-4
- Added gnome-common needed by autogen.sh in git snapshot build
* Sun Dec 06 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-3
- Added the autotools needed to build the git snapshot to the build requires
* Sun Dec 06 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-2
- Fixed the setup naming issue with the git snapshot directory naming
* Sun Dec 06 2009 Adam Miller <maxamillion@fedoraproject.org> - 2.28.0.20091206git-1
- Update to git snapshot on 20091206
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
* Fri Sep 4 2009 Owen Taylor <otaylor@redhat.com> - 2.27.2-2
- Test for gobject-introspection version should be >= not >
* 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
* Sat Aug 29 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-4
- Fix GConf %%preun script to properly be for package removal
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-3
- Replace libgnomeui with gnome-desktop in BuildRequires
* Fri Aug 28 2009 Owen Taylor <otaylor@redhat.com> - 2.27.1-2
- BuildRequire intltool
- Add find_lang
* 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