LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File lxpanel.spec of Package lxpanel (Project X11:lxde)

# spec file for package lxpanel
# Copyright (c) 2014 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/

Name:           lxpanel
Version:        0.8.1
Release:        0
Summary:        Lightweight X11 desktop panel based on fbpanel
License:        GPL-2.0
Group:          System/GUI/LXDE
Url:            http://www.lxde.org/
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  libiw-devel
BuildRequires:  libfm-gtk-devel
BuildRequires:	libxml2-devel
BuildRequires:  pkg-config
BuildRequires:  update-desktop-files
BuildRequires:  wireless-tools
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libmenu-cache)
BuildRequires:  pkgconfig(libwnck-1.0)
BuildRequires:	pkgconfig(keybinder)
Requires:       menu-cache
Requires:		lxmenu-data
Recommends:     %{name}-lang
Provides:       %{name}-plugins >= %{version}
Obsoletes:      %{name}-plugins < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

LXPanel is a lightweight X11 desktop panel containing:
1. User-friendly application menu automatically generated from *.desktop files on the system
2. Launcher bar (Small icons clicked to launch apps)
3. Task bar supporting urgency hint (Can flash when gaim gets new incoming messages)
4. Notification area (System tray)
5. Digital clock
6. Run dialog (A dialog lets you type a command and run it, can be called in external programs)
7. Net status icon plug-in (optional, ported from gnome-netstatus-applet)
8. Volume control plug-in (optional, written by jserv)
9. lxpanelctl, an external controller lets you control lxpanel in other programs.
For example, "lxpanelctl run" will show the Run dialog in lxpanel, and "lxpanelctl menu"
will show the application menu. This is useful in key bindings provided by window managers.

%package -n liblxpanel0
Summary:	LXDE panel libraries
Group:		System/Libraries

%description -n liblxpanel0
library for interpolability and access to the API by plugins

%package devel
Summary:	Devel files for %{name}
Group:		Development/Libraries/C and C++
Requires:	%{name} = %{version}
Requires:	liblxpanel0 = %{version}
Requires:	glib2-devel
Requires:	menu-cache-devel
Requires:	pkgconfig

%description devel
Headers and development %{name} files.

%setup -q

%configure --with-plugins=all
make %{?_smp_mflags} V=1

%makeinstall %{?_smp_mflags}
rm %{buildroot}/%{_libdir}/lxpanel/*.la
%find_lang %{name}
%fdupes -s %{buildroot}

%post -n liblxpanel0 -p /sbin/ldconfig

%postun -n liblxpanel0 -p /sbin/ldconfig

%dir %{_libdir}/%{name}/
%dir %{_libdir}/%{name}/plugins
%dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/ui
%dir %{_datadir}/%{name}/images
%dir %{_datadir}/%{name}/images/xkb-flags/
%dir %{_datadir}/%{name}/xkeyboardconfig
%config(noreplace) %{_sysconfdir}/xdg/%{name}/*

%files devel
%dir %{_includedir}/%{name}

%files -n liblxpanel0
%dir %{_libdir}/lxpanel

%files lang -f %{name}.lang