-# TODO:
-# - check what's up with this, runtime or compile time: --with-pnp-ids-path="%{_datadir}/hwdata/pnp.ids"
-
+#
# Conditional build:
%bcond_without apidocs # disable gtk-doc
Summary: Shared code for mate-panel, mate-session, mate-file-manager, etc
Name: mate-desktop
Version: 1.5.5
-Release: 0.12
+Release: 1
License: GPL v2+ and LGPL v2+ and MIT
Group: X11/Applications
Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
Requires: %{name}-libs = %{version}-%{release}
Requires: glib2 >= 1:2.26.0
Requires: python-pygtk-gtk
+# for identifying monitors from pnp.ids (libmate-desktop/display-name.c)
+Requires: hwdata
#Requires: redhat-menus
Requires: xdg-user-dirs-gtk
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
--disable-scrollkeeper \
--disable-static \
--disable-schemas-compile \
- --with-pnp-ids-path="%{_datadir}/hwdata/pnp.ids" \
+ --with-pnp-ids-path=%{_datadir}/hwdata/pnp.ids \
--enable-unique \
%{?with_apidocs:--enable-gtk-doc --with-html-dir=%{_gtkdocdir}} \
--with-omf-dir=%{_datadir}/omf/%{name}