]> git.pld-linux.org Git - packages/gnome-shell.git/blobdiff - gnome-shell.spec
- updated to 3.4.2
[packages/gnome-shell.git] / gnome-shell.spec
index 81f137c9d6a05133ad63a64f306cbf0ef6cb8344..bdfe987ed243a76c731bccfd8d6355e29275a76e 100644 (file)
-Summary:       Window and compositing manager based on Clutter
+#
+# Conditional build:
+%bcond_without  systemd # by default use systemd for session tracking instead of ConsoleKit (fallback to ConsoleKit on runtime)
+#
+Summary:       Window manager and application launcher for GNOME
 Name:          gnome-shell
-Version:       2.28.0
-Release:       4
+Version:       3.4.2
+Release:       1
 License:       GPL v2+
 Group:         X11/Window Managers
-URL:           http://git.gnome.org/cgit/gnome-shell
-Source0:       http://download.gnome.org/sources/gnome-shell/2.28/%{name}-%{version}.tar.bz2
-# Source0-md5: a9f93a6f03da60f2f6e3fb82a9e7dc94
-BuildRequires: clutter-devel
-BuildRequires: gettext-devel
-BuildRequires: gjs-devel
-BuildRequires: gnome-desktop-devel
-BuildRequires: gobject-introspection-devel
-BuildRequires: intltool >= 0.26
-BuildRequires: mutter-devel
-BuildRequires: pango-devel >= 1:1.26.0
-BuildRequires: pkgconfig >= 0.16
-# for libmozjs.so
-BuildRequires: xulrunner-libs
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.4/%{name}-%{version}.tar.xz
+# Source0-md5: d1125998a0a89d625eef5e16bd774ef5
+URL:           http://live.gnome.org/GnomeShell
+BuildRequires: NetworkManager-devel >= 0.8.999
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11
+BuildRequires: clutter-devel >= 1.9.16
+BuildRequires: dbus-glib-devel
+BuildRequires: evolution-data-server-devel >= 3.1.90
+BuildRequires: folks-devel >= 0.6.1
+BuildRequires: gcr-devel >= 3.3.90
+BuildRequires: gettext-devel >= 0.17
+BuildRequires: gjs-devel >= 1.31.10
+BuildRequires: glib2-devel >= 1:2.31.6
+BuildRequires: gnome-bluetooth-devel >= 3.1.0
+BuildRequires: gnome-desktop-devel >= 3.1.90
+BuildRequires: gnome-menus-devel >= 3.1.90
+BuildRequires: gobject-introspection-devel >= 0.10.1
+BuildRequires: gsettings-desktop-schemas-devel >= 3.1.90
+BuildRequires: gstreamer-devel >= 0.10.21
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.21
+BuildRequires: gtk+3-devel >= 3.3.9
+BuildRequires: gtk-doc >= 1.15
+BuildRequires: intltool >= 0.40
+BuildRequires: json-glib-devel >= 0.13.90
+BuildRequires: libcanberra-devel
+BuildRequires: libcroco-devel >= 0.6.2
+BuildRequires: libgnome-keyring-devel
+BuildRequires: libsoup-devel
+BuildRequires: libtool >= 2:2.2.6
+BuildRequires: libxml2-devel
+BuildRequires: mutter-devel >= 3.4.0
+BuildRequires: pkgconfig >= 1:0.22
+BuildRequires: polkit-devel >= 0.100
+BuildRequires: pulseaudio-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.601
+BuildRequires: startup-notification-devel >= 0.11
+%{?with_systemd:BuildRequires: systemd-devel}
+BuildRequires: tar >= 1:1.22
+BuildRequires: telepathy-glib-devel >= 0.17.5
+BuildRequires: telepathy-logger-devel >= 0.2.4
+BuildRequires: xorg-lib-libXfixes-devel
+BuildRequires: xz
+Requires(post,postun): glib2 >= 1:2.26.0
+Requires:      at-spi2-atk >= 2.4.0
+Requires:      caribou >= 0.3.5
+Requires:      evolution-data-server >= 3.1.90
+Requires:      gjs >= 1.31.10
+Requires:      glib2 >= 1:2.31.6
+Requires:      gnome-bluetooth-libs >= 3.1.0
+Requires:      gnome-menus >= 3.1.90
+Requires:      gnome-settings-daemon >= 3.1.90
+Requires:      gsettings-desktop-schemas >= 3.1.90
+Requires:      gtk+3 >= 3.3.9
+Requires:      mutter >= 3.4.0
+Requires:      nautilus >= 3.2.0
+Requires:      telepathy-logger >= 0.2.4
+Requires:      telepathy-mission-control
+Suggests:      gnome-contacts >= 3.2.0
+Suggests:      gnome-icon-theme-symbolic >= 3.0.0
+Provides:      gdm-wm = 3.4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A window manager based on metacity and clutter
+GNOME Shell is the defining technology of the GNOME 3 desktop user
+experience. It provides core interface functions 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 delightful and easy to use
+experience.
 
-%package devel
-Summary:       Development package for %{name}
-Group:         Development/Libraries
+%package apidocs
+Summary:       GNOME Shell API documentation
+Summary(pl.UTF-8):     Dokumentacja API GNOME Shell
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description apidocs
+This package provides GNOME Shell API documentation.
+
+%description apidocs -l pl.UTF-8
+Ten pakiet dostarcza dokumentację API GNOME Shell.
+
+%package -n browser-plugin-%{name}
+Summary:       gnome-shell plugin for WWW browsers
+Summary(pl.UTF-8):     Wtyczka gnome-shell do przeglądarek WWW
+Group:         X11/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      gtk-doc
-Requires:      pkgconfig
+Requires:      browser-plugins >= 2.0
+Requires:      browser-plugins(%{_target_base_arch})
+Provides:      mozilla-firefox-plugin-gnome-shell = %{version}-%{release}
+Provides:      mozilla-plugin-gnome-shell = %{version}-%{release}
+Obsoletes:     mozilla-firefox-plugin-gnome-shell < %{version}-%{release}
+Obsoletes:     mozilla-plugin-gnome-shell < %{version}-%{release}
 
-%description devel
-Files for development with %{name}.
+%description -n browser-plugin-%{name}
+gnome-shell plugin for WWW browsers.
+
+%description -n browser-plugin-%{name} -l pl.UTF-8
+Wtyczka gnome-shell do przeglądarek WWW.
 
 %prep
 %setup -q
 
 %build
-export LD_LIBRARY_PATH=%{_libdir}/xulrunner
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
-       --disable-schemas-install \
+       --with-ca-certificates=/etc/certs/ca-certificates.crt \
+       --enable-gtk-doc \
        --disable-silent-rules \
-       --disable-static
-%{__make}
+       --disable-static \
+       %{__enable_disable systemd systemd} \
+       --with-html-dir=%{_gtkdocdir}
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       INSTALL="install -p" \
+       install_sh="install -p" \
+       DESTDIR=$RPM_BUILD_ROOT \
+       mozillalibdir=%{_browserpluginsdir}
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \
+       $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
 
-%find_lang %{name} --with-gnome --all-name
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install gnome-shell.schemas
-/sbin/ldconfig
+%glib_compile_schemas
 
-%preun
-%gconf_schema_uninstall gnome-shell.schemas
+%postun
+if [ "$1" = "0" ]; then
+       %glib_compile_schemas
+fi
 
-%postun -p /sbin/ldconfig
+%post -n browser-plugin-%{name}
+%update_browser_plugins
+
+%postun -n browser-plugin-%{name}
+if [ "$1" = 0 ]; then
+       %update_browser_plugins
+fi
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/gnome-shell
-%{_sysconfdir}/gconf/schemas/%{name}.schemas
-%{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/mutter/plugins/*.so
-%attr(755,root,root) %{_libdir}/mutter/plugins/*.la
-%{_datadir}/%{name}
-%{_desktopdir}/*.desktop
+%attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
+%attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
+%attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
+%attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
+%attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
+%dir %{_libdir}/gnome-shell
+%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
+%attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-js.so
+%{_libdir}/gnome-shell/Gvc-1.0.typelib
+%{_libdir}/gnome-shell/Shell-0.1.typelib
+%{_libdir}/gnome-shell/ShellJS-0.1.typelib
+%{_libdir}/gnome-shell/St-1.0.typelib
+%{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
+%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
+%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
+%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.evolution.calendar.gschema.xml
+%{_datadir}/gnome-shell
+%{_desktopdir}/gnome-shell.desktop
+%{_desktopdir}/gnome-shell-extension-prefs.desktop
+%{_mandir}/man1/gnome-shell.1*
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/shell
+%{_gtkdocdir}/st
+
+%files -n browser-plugin-%{name}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so
This page took 0.105378 seconds and 4 git commands to generate.