]> git.pld-linux.org Git - packages/mate-session-manager.git/blobdiff - mate-session-manager.spec
up to 1.20.1
[packages/mate-session-manager.git] / mate-session-manager.spec
index 4a5601a7159e96e4dfabbddcbdbc78d26b0b350d..731707bc29b0ff10db1ecba965fc49658d6c5da5 100644 (file)
@@ -5,27 +5,24 @@
 
 # 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.14.1
+Version:       1.20.1
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
-# Source0-md5: 81bd2b0c54abae53d52a3df3e4049647
+Source0:       http://pub.mate-desktop.org/releases/1.20/%{name}-%{version}.tar.xz
+# Source0-md5: f42444b7e48e80c0ad2d2925491e2c39
 URL:           http://wiki.mate-desktop.org/mate-session-manager
 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: glib2-devel >= 1:2.50.0
+BuildRequires: gtk+3-devel >= 3.22.0
 BuildRequires: intltool >= 0.50.1
 BuildRequires: libtool >= 1:1.4.3
 %{?with_apidocs:BuildRequires: libxslt-progs}
@@ -35,7 +32,6 @@ 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
@@ -49,17 +45,15 @@ 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
 # 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
@@ -97,10 +91,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
 
@@ -111,7 +103,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,jv}
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ku_IQ,jv}
 
 desktop-file-install \
        --remove-category="MATE" \
@@ -138,7 +130,7 @@ 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
This page took 0.108453 seconds and 4 git commands to generate.