[workrave] do not build the panel applet

Tomáš Mráz tmraz at fedoraproject.org
Fri May 3 15:47:20 UTC 2013


commit 2ac60eadf428e1e9319264413e9037c051c5c2ec
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Fri May 3 17:47:16 2013 +0200

    do not build the panel applet

 workrave.spec |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/workrave.spec b/workrave.spec
index 8455b49..c099978 100644
--- a/workrave.spec
+++ b/workrave.spec
@@ -1,6 +1,6 @@
 Name: workrave
 Version: 1.10
-Release: 1%{?dist}
+Release: 3%{?dist}
 Summary: Program that assists in the recovery and prevention of RSI
 # Based on older packages by Dag Wieers <dag at wieers.com> and Steve Ratcliffe
 License: GPLv3+
@@ -12,7 +12,6 @@ URL: http://www.workrave.org/
 Source0: https://github.com/rcaelers/workrave/archive/%{commit}/%{name}-%{version}.tar.gz
 Patch1: workrave-6f9bc5d-fix-desktop-translation.patch
 
-BuildRequires: gnome-panel-devel
 BuildRequires: glib2-devel >= 2.28.0
 BuildRequires: gtk3-devel >= 3.0.0
 BuildRequires: libsigc++20-devel >= 2.2.4.2
@@ -25,7 +24,8 @@ BuildRequires: libXmu-devel
 BuildRequires: libXt-devel
 BuildRequires: libXtst-devel
 BuildRequires: libXScrnSaver-devel
-BuildRequires: dbus-devel
+# Temporarily disabled because not usable without panel
+#BuildRequires: dbus-devel
 BuildRequires: gstreamer-devel
 BuildRequires: intltool
 BuildRequires: python-cheetah
@@ -57,7 +57,7 @@ if [ ! -x configure ]; then
   NOCONFIGURE=1 ./autogen.sh
 fi
 
-%configure --enable-dbus --disable-xml --enable-gnome3 --disable-static
+%configure --disable-dbus --disable-xml --enable-gnome3 --disable-static
 
 make V=1
 
@@ -88,14 +88,14 @@ desktop-file-install \
 %{_datadir}/icons/hicolor/scalable/workrave-sheep.svg
 %{_datadir}/icons/hicolor/scalable/apps/workrave.svg
 %{_datadir}/applications/workrave.desktop
-%{_datadir}/dbus-1/services/org.workrave.Workrave.service
-%{_datadir}/dbus-1/services/org.gnome.panel.applet.WorkraveAppletFactory.service
-%{_datadir}/glib-2.0/schemas/org.workrave.*.xml
-%{_datadir}/gnome-panel/4.0/applets/org.workrave.WorkraveApplet.panel-applet
-%{_datadir}/gnome-panel/ui/workrave-gnome-applet-menu.xml
+#%{_datadir}/dbus-1/services/org.workrave.Workrave.service
+#%{_datadir}/dbus-1/services/org.gnome.panel.applet.WorkraveAppletFactory.service
+#%{_datadir}/glib-2.0/schemas/org.workrave.*.xml
+#%{_datadir}/gnome-panel/4.0/applets/org.workrave.WorkraveApplet.panel-applet
+#%{_datadir}/gnome-panel/ui/workrave-gnome-applet-menu.xml
 %{_datadir}/gnome-shell/extensions/workrave at workrave.org/
 %{_libdir}/girepository-1.0/Workrave-1.0.typelib
-%{_libexecdir}/workrave-applet
+#%{_libexecdir}/workrave-applet
 %{_libdir}/libworkrave-private-1.0.so.*
 
 %files devel
@@ -103,6 +103,9 @@ desktop-file-install \
 %{_libdir}/libworkrave-private-1.0.so
 
 %changelog
+* Fri May  3 2013 Tomáš Mráz <tmraz at redhat.com> - 1.10-3
+- do not build the panel applet
+
 * Mon Mar 25 2013 Peter Robinson <pbrobinson at fedoraproject.org> 1.10-2
 - Add missing distag
 


More information about the scm-commits mailing list