]> git.pld-linux.org Git - packages/mate-session-manager.git/blobdiff - mate-session-manager.spec
- unconditional noarch subpackages
[packages/mate-session-manager.git] / mate-session-manager.spec
index 7e6e6b46cd7d95d42ed5f5d8356108eb08cbee00..77bc1b6d49166fd70dd345d2c435603fda5f9f22 100644 (file)
@@ -5,62 +5,59 @@
 
 # Conditional build:
 %bcond_without apidocs # DocBook docs
-%bcond_with    gtk3    # use GTK+ 3.x instead of 2.x
 %bcond_without systemd # systemd support for default (when systemd is not running fallback to ConsoleKit)
-%bcond_with    upower  # UPower suspend/hibernate support (0.9.x only)
 
 Summary:       MATE Desktop session manager
 Summary(pl.UTF-8):     Zarządca sesji środowiska MATE Desktop
 Name:          mate-session-manager
-Version:       1.10.0
+Version:       1.24.1
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz
-# Source0-md5: 1415ec705baa71290d7596b6637b1285
-Patch0:                %{name}-en_us_suspend_hotkey.patch
+Source0:       http://pub.mate-desktop.org/releases/1.24/%{name}-%{version}.tar.xz
+# Source0-md5: 976a7029918fbc0b2d767e71282b7a76
 URL:           http://wiki.mate-desktop.org/mate-session-manager
+BuildRequires: EGL-devel
+BuildRequires: OpenGL-devel
+BuildRequires: OpenGLESv2-devel
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1:1.9
 BuildRequires: dbus-glib-devel >= 0.76
 BuildRequires: desktop-file-utils
-BuildRequires: glib2-devel >= 1:2.36.0
-%{!?with_gtk3:BuildRequires:   gtk+2-devel >= 2:2.24.0}
-%{?with_gtk3:BuildRequires:    gtk+3-devel >= 3.0.0}
-BuildRequires: intltool >= 0.40.0
+BuildRequires: gettext-tools >= 0.19.8
+BuildRequires: glib2-devel >= 1:2.50.0
+BuildRequires: gtk+3-devel >= 3.22.0
+BuildRequires: libepoxy-devel
 BuildRequires: libtool >= 1:1.4.3
 %{?with_apidocs:BuildRequires: libxslt-progs}
 BuildRequires: mate-common
-BuildRequires: mate-desktop-devel >= 1.9.3
 BuildRequires: pango-devel
-BuildRequires: pangox-compat-devel
 BuildRequires: pkgconfig
 %{?with_systemd:BuildRequires: systemd-devel >= 1:183}
 BuildRequires: tar >= 1:1.22
-%{?with_upower:BuildRequires:  upower-devel >= 0.9.0}
 %{?with_apidocs:BuildRequires: xmlto}
 BuildRequires: xorg-lib-libICE-devel
 BuildRequires: xorg-lib-libSM-devel
+BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXau-devel
+BuildRequires: xorg-lib-libXcomposite-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXrender-devel
 BuildRequires: xorg-lib-libXtst-devel
+BuildRequires: xorg-lib-xtrans-devel
 BuildRequires: xz
 # needed to satisfy 'filemanager' component (may be changed if alternatives available)
 Requires:      caja
 Requires:      dbus-glib >= 0.76
-Requires:      glib2 >= 1:2.36.0
+Requires:      glib2 >= 1:2.50.0
 Requires:      gsettings-desktop-schemas
-%{!?with_gtk3:Requires:        gtk+2 >= 2:2.24.0}
-%{?with_gtk3:Requires: gtk+3 >= 3.0.0}
+Requires:      gtk+3 >= 3.22.0
 Requires:      gtk-update-icon-cache
 Requires:      hicolor-icon-theme
 # needed to satisfy 'windowmanager' component (may be changed if alternatives available)
 Requires:      marco
-Requires:      mate-desktop >= 1.9.3
 # needed to satisfy 'panel' component (may be changed if alternatives available)
 Requires:      mate-panel
-%{?with_upower:Requires:       upower-libs >= 0.9.0}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -73,6 +70,7 @@ Zarządca sesji środowiska MATE Desktop.
 Summary:       MATE Session Manager D-Bus API Reference
 Summary(pl.UTF-8):     Dokumentacja API D-Bus MATE Session Managera
 Group:         Documentation
+BuildArch:     noarch
 
 %description apidocs
 Session Manager D-Bus API Reference.
@@ -82,10 +80,8 @@ Dokumentacja API D-Bus MATE Session Managera.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__intltoolize}
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
@@ -96,10 +92,8 @@ Dokumentacja API D-Bus MATE Session Managera.
        --enable-ipv6 \
        --disable-silent-rules \
        --disable-static \
-       %{!?with_upower:--disable-upower} \
        --with-default-wm=marco \
        --with-gnu-ld \
-       %{?with_gtk3:--with-gtk=3.0} \
        %{__with_without systemd} \
        --with-x
 
@@ -110,8 +104,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# mate < 1.5 did not exist in pld, avoid dependency on mate-conf
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/mate-session.convert
+# not supported by glibc yet
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,pms,ur_PK}
 
 desktop-file-install \
        --remove-category="MATE" \
@@ -135,12 +129,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog MAINTAINERS NEWS README
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/mate-session
 %attr(755,root,root) %{_bindir}/mate-session-inhibit
 %attr(755,root,root) %{_bindir}/mate-session-properties
 %attr(755,root,root) %{_bindir}/mate-session-save
 %attr(755,root,root) %{_bindir}/mate-wm
+%attr(755,root,root) %{_libexecdir}/mate-session-check-accelerated
+%attr(755,root,root) %{_libexecdir}/mate-session-check-accelerated-gl-helper
+%attr(755,root,root) %{_libexecdir}/mate-session-check-accelerated-gles-helper
 %{_mandir}/man1/mate-session-inhibit.1*
 %{_mandir}/man1/mate-session-properties.1*
 %{_mandir}/man1/mate-session-save.1*
This page took 0.034349 seconds and 4 git commands to generate.