File xfce4-panel-plugins.spec of Package xfce4-panel-plugins

#
# spec file for package xfce4-panel-plugins (Version 4.4.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild
# nodebuginfo


Name:           xfce4-panel-plugins
Url:            http://goodies.xfce.org/projects/panel-plugins/start
AutoReqProv:    on
Version:        4.4.3
Release:        2.<RELEASE1>
License:        GPL v2 or later
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  xfce4-panel-devel >= 4.4.0
BuildRequires:  dbus-1-devel pcre-devel perl-XML-Parser
BuildRequires:  exo-devel librsvg-devel libwnck-devel libxfcegui4-devel libxklavier-devel xfce4-panel-devel
BuildRequires:  gnome-panel-devel hal-devel thunar-devel update-desktop-files xfmedia-devel
# to execute autogen.sh
BuildRequires:  intltool xfce4-dev-tools
%ifnarch s390 s390x
%if 0%{?suse_version} >= 1100
BuildRequires:  libsensors4-devel
%else
%if 0%{?suse_version} > 1030
BuildRequires:  libsensors3-devel
%else
BuildRequires:  sensors
%endif
%endif
%endif
%if 0%{?suse_version} > 1010
BuildRequires:  dbus-1-glib-devel
%endif
%if 0%{?suse_version} >= 1030
BuildRequires:  libusb-devel
%else
BuildRequires:  libusb
%endif
%define   battery_version         0.5.0
%define   cddrive_version         0.0.1
%define   cellmodem_version       0.0.5
%define   clipman_version         0.8.1
%define   cpufreq_version         0.0.1
%define   cpugraph_version        0.4.0
%define   datetime_version        0.6.1
%define   diskperf_version        2.1.0
%define   eyes_version            4.4.0
%define   fsguard_version         0.4.1
%define   genmon_version          3.2
%define   mailwatch_version       1.0.1
%define   mount_version           0.5.5
%define   mpc_version             0.3.3
%define   netload_version         0.4.0
%define   notes_version           1.6.1
%define   places_version          1.1.0
%define   quicklauncher_version   1.9.4
%define   radio_version           0.3.1
%define   screenshooter_version   1.4.0
%define   sensors_version         0.10.99.6
%define   smartbookmark_version   0.4.2
%define   smartpm_version         0.1.2
%define   systemload_version      0.4.2
%define   timeout_version         0.1.1
%define   timer_version           0.6
%define   verve_version           0.3.5
%define   wavelan_version         0.5.4
%define   weather_version         0.7.0
%define   xfapplet_version        0.1.0
%define   xmms_version            0.5.1
%define   xkb_version             0.5.2
%define   governor_version        0.1.0
%define   xfmedia_remote_version  0.2.2
%ifarch s390 s390x
%define plugins_arch     %{nil}
%else
%define plugins_arch     sensors
%endif
%define plugins_common   battery clipman cpu-freq cpugraph datetime diskperf eyes fsguard genmon mailwatch mount mpc netload quicklauncher radio smartbookmark smartpm systemload time-out timer verve wavelan weather xmms xfmedia-remote
%define plugins          %plugins_common
%if 0%{?suse_version} >= 1010
%define plugins          %plugins_common cellmodem
%endif
%if 0%{?suse_version} >= 1020
%define plugins          %plugins_common cellmodem places xfapplet notes screenshooter xkb %plugins_arch
%endif
%if 0%{?suse_version} >= 1030
%define plugins          %plugins_common cellmodem places xfapplet notes screenshooter xkb governor cddrive %plugins_arch
%endif
Source99:       rpmlintrc
Source0:        xfce4-battery-plugin-%{battery_version}.tar.bz2
Source1:        xfce4-cellmodem-plugin-%{cellmodem_version}.tar.bz2
Source2:        xfce4-clipman-plugin-%{clipman_version}.tar.bz2
Source3:        xfce4-cpufreq-plugin-%{cpufreq_version}.tar.bz2
Source4:        xfce4-cpugraph-plugin-%{cpugraph_version}.tar.bz2
Source5:        xfce4-datetime-plugin-%{datetime_version}.tar.bz2
Source6:        xfce4-diskperf-plugin-%{diskperf_version}.tar.bz2
Source7:        xfce4-eyes-plugin-%{eyes_version}.tar.bz2
Source8:        xfce4-fsguard-plugin-%{fsguard_version}.tar.bz2
Source9:        xfce4-genmon-plugin-%{genmon_version}.tar.bz2
Source10:       xfce4-mailwatch-plugin-%{mailwatch_version}.tar.bz2
Source11:       xfce4-mount-plugin-%{mount_version}.tar.bz2
Source12:       xfce4-mpc-plugin-%{mpc_version}.tar.bz2
Source13:       xfce4-netload-plugin-%{netload_version}.tar.bz2
Source14:       xfce4-notes-plugin-%{notes_version}.tar.bz2
Source15:       xfce4-places-plugin-%{places_version}.tar.bz2
Source16:       xfce4-quicklauncher-plugin-%{quicklauncher_version}.tar.bz2
Source17:       xfce4-radio-plugin-%{radio_version}.tar.bz2
Source18:       xfce4-screenshooter-plugin-%{screenshooter_version}.tar.bz2
Source19:       xfce4-sensors-plugin-%{sensors_version}.tar.bz2
Source20:       xfce4-smartbookmark-plugin-%{smartbookmark_version}.tar.bz2
Source21:       xfce4-smartpm-plugin-%{smartpm_version}.tar.bz2
Source22:       xfce4-systemload-plugin-%{systemload_version}.tar.bz2
Source23:       xfce4-time-out-plugin-%{timeout_version}.tar.bz2
Source24:       xfce4-timer-plugin-%{timer_version}.tar.bz2
Source25:       verve-plugin-%{verve_version}.tar.bz2
Source26:       xfce4-wavelan-plugin-%{wavelan_version}.tar.bz2
Source27:       xfce4-weather-plugin-%{weather_version}.tar.bz2
Source28:       xfce4-xfapplet-plugin-%{xfapplet_version}.tar.bz2
Source29:       xfce4-xkb-plugin-%{xkb_version}.tar.bz2
Source30:       xfce4-xmms-plugin-%{xmms_version}.tar.bz2
Source31:       xfce4-cddrive-plugin-%{cddrive_version}.tar.bz2
Source32:       xfce4-governor-plugin-%{governor_version}.tar.bz2
Source33:       xfce4-xfmedia-remote-plugin-%{xfmedia_remote_version}.tar.bz2
Patch0:         xfce4-battery-plugin-%{battery_version}.patch
Patch1:         xfce4-cpufreq-plugin-%{cpufreq_version}.patch
Patch2:         xfce4-cpugraph-plugin-%{cpugraph_version}.patch
Patch3:         xfce4-netload-plugin-%{netload_version}.patch
Patch4:         xfce4-screenshooter-plugin-%{screenshooter_version}.patch
Patch5:         xfce4-sensors-plugin-%{sensors_version}.patch
Patch6:         xfce4-xmms-plugin-%{xmms_version}.patch
Patch7:         xfce4-weather-plugin-%{weather_version}.patch

%description
Collection of panel plugins for the XFce 4 desktop environment.



%prep
%setup -q -c -n xfce4-panel-plugins -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a33
mv verve-plugin-%{verve_version} xfce4-verve-plugin-%{verve_version}
mv governor-plugin-%{governor_version} xfce4-governor-plugin-%{governor_version}
mv xfmedia-remote-plugin-%{xfmedia_remote_version} xfce4-xfmedia-remote-plugin-%{xfmedia_remote_version}
%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
%patch7

%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
for name in %{plugins} ; do
  cd xfce4-$name-plugin-*
  # for xfce4-notes-plugin
  if [ ! -f configure ] ; then
      ./autogen.sh
  fi
  %configure
  make %{?jobs:-j%jobs}
  cd ..
done

%install
for name in %{plugins} ; do
  cd xfce4-$name-plugin-*
  make DESTDIR="$RPM_BUILD_ROOT" install
  cd ..
done
rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/modules/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/modules/*.la
%suse_update_desktop_file -i xfce4-screenshooter
%suse_update_desktop_file -i xfce4-sensors

%clean
rm -rf $RPM_BUILD_ROOT
# ----- battery -----

%package -n xfce4-panel-plugin-battery
License:        GPL v2 or later
Version:        %{battery_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-battery
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%if 0%{?suse_version} >= 1030

%package -n xfce4-panel-plugin-cddrive
License:        GPL v2 or later
Version:        %{cddrive_version}
Release:        2.<RELEASE1>
Summary:        Plugin for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-cddrive
This plugin puts a button in the panel to open or close a CD-ROM drive
tray. Additionally, the button icon reports the content of the drive.
The icon indicates if there is a disc in the drive, if it is mounted,
and the type of the disc (regular CD-ROM, audio, DVD...). You can also
mount or unmount the disc via the plugin menu (the action appears when
a mountable disc is in the drive).



%endif
# ----- cellmodem -----
%if 0%{?suse_version} >= 1010

%package -n xfce4-panel-plugin-cellmodem
License:        GPL v2 or later
Version:        %{cellmodem_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-cellmodem
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%endif
# ----- clipman -----

%package -n xfce4-panel-plugin-clipman
License:        GPL v2 or later
Version:        %{clipman_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-clipman
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-cpufreq
License:        GPL v2 or later
Version:        %{cpufreq_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-cpufreq
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-cpugraph
License:        GPL v2 or later
Version:        %{cpugraph_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-cpugraph
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-datetime
License:        GPL v2 or later
Version:        %{datetime_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-datetime
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-diskperf
License:        GPL v2 or later
Version:        %{diskperf_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-diskperf
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-eyes
License:        GPL v2 or later
Version:        %{eyes_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-eyes
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-fsguard
License:        GPL v2 or later
Version:        %{fsguard_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-fsguard
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-genmon
License:        GPL v2 or later
Version:        %{genmon_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-genmon
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-mailwatch
License:        GPL v2 or later
Version:        %{mailwatch_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-mailwatch
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-mount
License:        GPL v2 or later
Version:        %{mount_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-mount
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-mpc
License:        GPL v2 or later
Version:        %{mpc_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-mpc
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-netload
License:        GPL v2 or later
Version:        %{netload_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-netload
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%if 0%{?suse_version} >= 1020

%package -n xfce4-panel-plugin-notes
License:        GPL v2 or later
Version:        %{notes_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-notes
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%endif
# ----- places -----
%if 0%{?suse_version} >= 1020

%package -n xfce4-panel-plugin-places
License:        GPL v2 or later
Version:        %{places_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-places
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%endif
# ----- quicklauncher -----

%package -n xfce4-panel-plugin-quicklauncher
License:        GPL v2 or later
Version:        %{quicklauncher_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-quicklauncher
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-radio
License:        GPL v2 or later
Version:        %{radio_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-radio
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%if 0%{?suse_version} >= 1020

%package -n xfce4-panel-plugin-screenshooter
License:        GPL v2 or later
Version:        %{screenshooter_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-screenshooter
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%endif
# ----- sensors -----
%ifnarch s390 s390x
%if 0%{?suse_version} >= 1020

%package -n xfce4-panel-plugin-sensors
License:        GPL v2 or later
Version:        %{sensors_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE
Requires:       sensors

%description -n xfce4-panel-plugin-sensors
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%endif
%endif
# ----- smartbookmark -----

%package -n xfce4-panel-plugin-smartbookmark
License:        GPL v2 or later
Version:        %{smartbookmark_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-smartbookmark
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-smartpm
License:        GPL v2 or later
Version:        %{smartpm_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-smartpm
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-systemload
License:        GPL v2 or later
Version:        %{systemload_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-systemload
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-timeout
License:        GPL v2 or later
Version:        %{timeout_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-timeout
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-timer
License:        GPL v2 or later
Version:        %{timer_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-timer
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-verve
License:        GPL v2 or later
Version:        %{verve_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-verve
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-wavelan
License:        GPL v2 or later
Version:        %{wavelan_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-wavelan
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%package -n xfce4-panel-plugin-weather
License:        GPL v2 or later
Version:        %{weather_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-weather
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%if 0%{?suse_version} >= 1020

%package -n xfce4-panel-plugin-xfapplet
License:        GPL v2 or later
Version:        %{xfapplet_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE
Requires:       gnome-applets

%description -n xfce4-panel-plugin-xfapplet
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%endif
# ----- xmms -----

%package -n xfce4-panel-plugin-xmms
License:        GPL v2 or later
Version:        %{xmms_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-xmms
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%if 0%{?suse_version} >= 1020

%package -n xfce4-panel-plugin-xkb
License:        GPL v2 or later
Version:        %{xkb_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-xkb
Collection of panel plugins for the XFce 4 desktop environment.



Authors:
--------
    Danny Milosavljevic <danny_milo@yahoo.com>
    Benedikt Meurer <Benedikt.Meurer@unix-ag.uni-siegen.de>
    Tobias Henle <tobias@page23.de>

%endif
# ----- governor -----
%if 0%{?suse_version} >= 1030

%package -n xfce4-panel-plugin-governor
License:        GPL v2 or later
Version:        %{governor_version}
Release:        2.<RELEASE1>
Summary:        Plugin for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-governor
Plugin that allows you to change the governor used by the system.  This
plugin uses HAL which allow you to change the governor without being
root or being prompted any kind of password.

On the other hand it cannot change the frequency of the CPU (when the
userspace governor is used) like xfce4-cpufreq-plugin can. Finally,
this new plugin can also show the current frequency of the CPU.



%endif
# ----- governor -----

%package -n xfce4-panel-plugin-xfmedia-remote
License:        GPL v2 or later
Version:        %{xfmedia_remote_version}
Release:        2.<RELEASE1>
Summary:        Plugins for the Xfce panel
Group:          System/GUI/XFCE

%description -n xfce4-panel-plugin-xfmedia-remote
Collection of panel plugins for the XFce 4 desktop environment.



%files -n xfce4-panel-plugin-battery
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-battery-plugin
%{_datadir}/icons/hicolor/*/devices/battery.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-battery-plugin.mo
%{_datadir}/xfce4/panel-plugins/battmon.desktop
%if 0%{?suse_version} >= 1030

%files -n xfce4-panel-plugin-cddrive
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-cddrive-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-cddrive-plugin.mo
%{_datadir}/xfce4/panel-plugins/cddrive.desktop
%endif
%if 0%{?suse_version} >= 1010

%files -n xfce4-panel-plugin-cellmodem
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-cellmodem-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-cellmodem-plugin.mo
%{_datadir}/xfce4/panel-plugins/cellmodem.desktop
%endif

%files -n xfce4-panel-plugin-clipman
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-clipman-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-clipman-plugin.mo
%{_datadir}/xfce4/panel-plugins/clipman.desktop

%files -n xfce4-panel-plugin-cpufreq
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-cpu-freq-plugin
%{_datadir}/icons/hicolor/*/apps/cpu.*
# %{_datadir}/locale/*/LC_MESSAGES/xfce4-cpu-freq-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfce4-cpu-freq-plugin.desktop

%files -n xfce4-panel-plugin-cpugraph
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-cpugraph-plugin
%{_datadir}/xfce4/panel-plugins/cpugraph.desktop
%{_datadir}/locale/*/LC_MESSAGES/xfce4-cpugraph-plugin.mo

%files  -n xfce4-panel-plugin-datetime
%defattr(-,root,root)
%{_libdir}/xfce4/panel-plugins/libdatetime.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-datetime-plugin.mo
%{_datadir}/xfce4/panel-plugins/datetime.desktop

%files -n xfce4-panel-plugin-diskperf
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-diskperf-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-diskperf-plugin.mo
%{_datadir}/xfce4/panel-plugins/diskperf.desktop

%files  -n xfce4-panel-plugin-eyes
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-eyes-plugin
%{_datadir}/icons/hicolor/*/apps/xfce4-eyes.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-eyes-plugin.mo
%dir %{_datadir}/xfce4/eyes
%{_datadir}/xfce4/eyes/*
%{_datadir}/xfce4/panel-plugins/eyes.desktop

%files -n xfce4-panel-plugin-fsguard
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-fsguard-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-fsguard-plugin.mo
%{_datadir}/xfce4/panel-plugins/fsguard.desktop
%{_datadir}/icons/hicolor/*/apps/xfce4-fsguard-plugin*

%files -n xfce4-panel-plugin-genmon
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-genmon-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-genmon-plugin.mo
%{_datadir}/xfce4/panel-plugins/genmon.desktop

%files -n xfce4-panel-plugin-mailwatch
%defattr(-,root,root)
%doc %{_datadir}/xfce4/doc/C/xfce4-mailwatch-plugin.html
%doc %{_datadir}/xfce4/doc/C/images/mailwatch*
%{_libexecdir}/xfce4/panel-plugins/xfce4-mailwatch-plugin
%{_datadir}/icons/hicolor/*/apps/xfce-n*mail.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-mailwatch-plugin.mo
%{_datadir}/xfce4/panel-plugins/mailwatch.desktop

%files -n xfce4-panel-plugin-mount
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-mount-plugin
%{_datadir}/icons/hicolor/*/apps/xfce-mount.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-mount-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfce4-mount-plugin.desktop

%files -n xfce4-panel-plugin-mpc
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-mpc-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-mpc-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfce4-mpc-plugin.desktop

%files -n xfce4-panel-plugin-netload
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-netload-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-netload-plugin.mo
%{_datadir}/xfce4/panel-plugins/netload.desktop
%if 0%{?suse_version} >= 1020

%files -n xfce4-panel-plugin-notes
%defattr(-,root,root)
%{_bindir}/xfce4-popup-notes
%{_libexecdir}/xfce4/panel-plugins/xfce4-notes-plugin
%{_datadir}/icons/hicolor/*/apps/xfce4-notes-plugin.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-notes-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfce4-notes-plugin.desktop
%endif
%if 0%{?suse_version} >= 1020

%files -n xfce4-panel-plugin-places
%defattr(-,root,root)
%{_bindir}/xfce4-popup-places
%{_libexecdir}/xfce4/panel-plugins/xfce4-places-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-places-plugin.mo
%{_datadir}/xfce4/panel-plugins/places.desktop
%endif

%files -n xfce4-panel-plugin-quicklauncher
%defattr(-,root,root)
%{_libdir}/xfce4/panel-plugins/libquicklauncher*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-quicklauncher-plugin.mo
%{_datadir}/xfce4/panel-plugins/quicklauncher.desktop

%files -n xfce4-panel-plugin-radio
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-radio-plugin
%{_datadir}/icons/hicolor/*/apps/xfce-radio.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-radio-plugin.mo
%{_datadir}/xfce4/panel-plugins/radio.desktop
%if 0%{?suse_version} >= 1020

%files -n xfce4-panel-plugin-screenshooter
%defattr(-,root,root)
%{_bindir}/xfce4-screenshooter
%{_libexecdir}/xfce4/panel-plugins/xfce4-screenshooter-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-screenshooter-plugin.mo
%{_datadir}/xfce4/panel-plugins/screenshooter.desktop
%{_datadir}/applications/xfce4-screenshooter.desktop
%{_datadir}/icons/hicolor/*/apps/applets-screenshooter.*
%{_mandir}/man1/*
%endif
%ifnarch s390 s390x
%if 0%{?suse_version} >= 1020

%files -n xfce4-panel-plugin-sensors
%defattr(-,root,root)
%{_bindir}/xfce4-sensors
%{_libexecdir}/xfce4/panel-plugins/xfce4-sensors-plugin
%{_datadir}/icons/hicolor/*/apps/xfce-sensors.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-sensors-plugin.mo
%{_datadir}/applications/xfce4-sensors.desktop
%{_datadir}/xfce4/panel-plugins/xfce4-sensors-plugin.desktop
%{_libdir}/pkgconfig/*.pc
%dir %{_libdir}/xfce4/modules
%{_libdir}/xfce4/modules/libxfce4sensors.so
%{_libdir}/xfce4/modules/libxfce4sensors.so.*
%endif
%endif

%files -n xfce4-panel-plugin-smartbookmark
%defattr(-,root,root)
%{_libdir}/xfce4/panel-plugins/libsmartbookmark*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-smartbookmark-plugin.mo
%{_datadir}/xfce4/panel-plugins/smartbookmark.desktop

%files -n xfce4-panel-plugin-smartpm
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-smart-plugin
%{_datadir}/icons/hicolor/*/apps/xfce4-smart*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-smart-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfce4-smart.desktop

%files -n xfce4-panel-plugin-systemload
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-systemload-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-systemload-plugin.mo
%{_datadir}/xfce4/panel-plugins/systemload.desktop

%files -n xfce4-panel-plugin-timeout
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-time-out-plugin
%{_datadir}/icons/hicolor/*/apps/xfce4-time-out-plugin.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-time-out-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfce4-time-out-plugin.desktop

%files -n xfce4-panel-plugin-timer
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-timer
%{_datadir}/locale/*/LC_MESSAGES/xfce4-timer-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfce4-timer.desktop

%files -n xfce4-panel-plugin-verve
%defattr(-,root,root)
%{_bindir}/verve-focus
%{_libexecdir}/xfce4/panel-plugins/xfce4-verve-plugin
%{_datadir}/locale/*/LC_MESSAGES/verve-plugin.mo
%{_datadir}/xfce4/panel-plugins/verve.desktop

%files -n xfce4-panel-plugin-wavelan
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-wavelan-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-wavelan-plugin.mo
%{_datadir}/xfce4/panel-plugins/wavelan.desktop

%files -n xfce4-panel-plugin-weather
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-weather-plugin
%{_datadir}/icons/hicolor/*/apps/xfce4-weather.*
%{_datadir}/locale/*/LC_MESSAGES/xfce4-weather-plugin.mo
%dir %{_datadir}/xfce4/weather
%{_datadir}/xfce4/weather/*
%{_datadir}/xfce4/panel-plugins/weather.desktop
%if 0%{?suse_version} >= 1020

%files -n xfce4-panel-plugin-xfapplet
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-xfapplet-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-xfapplet-plugin.mo
%{_datadir}/pixmaps/xfapplet*.svg
%dir %{_datadir}/xfce4-xfapplet-plugin
%dir %{_datadir}/xfce4-xfapplet-plugin/ui
%{_datadir}/xfce4-xfapplet-plugin/ui/*
%{_datadir}/xfce4/panel-plugins/xfapplet.desktop
%endif
%if 0%{?suse_version} >= 1020

%files -n xfce4-panel-plugin-xkb
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-xkb-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-xkb-plugin.mo
%{_datadir}/xfce4/panel-plugins/xkb-plugin.desktop
%dir %{_datadir}/xfce4/xkb
%{_datadir}/xfce4/xkb/*
%endif

%files -n xfce4-panel-plugin-xmms
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-xmms-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfce4-xmms-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfce4-xmms-plugin.desktop
%dir %{_datadir}/xfce4/xfce4-xmms-plugin
%{_datadir}/xfce4/xfce4-xmms-plugin/*
%if 0%{?suse_version} >= 1030

%files -n xfce4-panel-plugin-governor
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfce4-governor-plugin
%{_datadir}/icons/hicolor/*/apps/cpufreq-applet.png
%{_datadir}/xfce4/panel-plugins/governor.desktop
%endif

%files -n xfce4-panel-plugin-xfmedia-remote
%defattr(-,root,root)
%{_libexecdir}/xfce4/panel-plugins/xfmedia-remote-plugin
%{_datadir}/locale/*/LC_MESSAGES/xfmedia-remote-plugin.mo
%{_datadir}/xfce4/panel-plugins/xfmedia-remote.desktop

%changelog
openSUSE Build Service is sponsored by