File xfce4-panel.spec of Package xfce4-panel

#
# spec file for package xfce4-panel (Version 4.6.1)
#
# 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


Name:           xfce4-panel
Summary:        Next generation panel for Xfce
Version:        4.6.1
Release:        2
License:        GPL v2 or later
Url:            http://www.xfce.org/
Source:         %{name}-%{version}.tar.bz2
Source1:        rpmlintrc
Group:          System/GUI/XFCE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  dbus-1-devel libxml2-devel
BuildRequires:  cairo-devel exo-devel gtk2-devel libwnck-devel libxfce4util-devel libxfcegui4-devel startup-notification-devel
BuildRequires:  gtk-doc intltool perl-XML-Parser update-desktop-files
Requires:       %{name}-branding >= %{version}
Provides:       xfce4-panel-plugins = %{version}
Obsoletes:      xfce4-panel-plugins < %{version}

%description
xfce4-panel is the panel for the XFce desktop environment.



Authors:
--------
    Olivier Fourdan <fourdan@xfce.org>
    Jasper Huijsmans <huysmans@users.sourceforge.net>
    Edscott Wilson Garcia <edscott@imp.mx>
    Biju Chacko <botsie@myrealbox.com>
    Jens Luedicke <jens@irs-net.com>
    Martin Loschwitz <madkiss@users.sourceforge.net>
    Xavier Maillard <zedek@fxgsproject.org>
    Michael Mosier <michael@spyonit.com>
    Erik Touve <etouve@earthlink.net>
    Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
    Bernhard Walle <Bernhard.Walle@gmx.de>

%package        devel
License:        GPL v2 or later
Summary:        Next generation panel for Xfce
Group:          System/GUI/XFCE
Requires:       %{name} = %{version}
Requires:       libxfce4util-devel gtk2-devel libxfcegui4-devel exo-devel cairo-devel libwnck-devel startup-notification-devel

%description devel
xfce4-panel-devel package contains alllibraries needed to develop
applications that require these.



Authors:
--------
    Olivier Fourdan <fourdan@xfce.org>
    Jasper Huijsmans <huysmans@users.sourceforge.net>
    Edscott Wilson Garcia <edscott@imp.mx>
    Biju Chacko <botsie@myrealbox.com>
    Jens Luedicke <jens@irs-net.com>
    Martin Loschwitz <madkiss@users.sourceforge.net>
    Xavier Maillard <zedek@fxgsproject.org>
    Michael Mosier <michael@spyonit.com>
    Erik Touve <etouve@earthlink.net>
    Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
    Bernhard Walle <Bernhard.Walle@gmx.de>

%package branding-upstream
License:        GPL v2 or later
Summary:        Next generation panel for Xfce
Group:          System/GUI/XFCE
Provides:       %{name}-branding = %{version}
Conflicts:      otherproviders(%{name}-branding)
Supplements:    packageand(%{name}:branding-upstream)
#BRAND: ...

%description branding-upstream
xfce4-panel is the panel for the XFce desktop environment.



Authors:
--------
    Olivier Fourdan <fourdan@xfce.org>
    Jasper Huijsmans <huysmans@users.sourceforge.net>
    Edscott Wilson Garcia <edscott@imp.mx>
    Biju Chacko <botsie@myrealbox.com>
    Jens Luedicke <jens@irs-net.com>
    Martin Loschwitz <madkiss@users.sourceforge.net>
    Xavier Maillard <zedek@fxgsproject.org>
    Michael Mosier <michael@spyonit.com>
    Erik Touve <etouve@earthlink.net>
    Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
    Bernhard Walle <Bernhard.Walle@gmx.de>

%prep
%setup -q

%build
%configure \
    --disable-static \
    --enable-gtk-doc
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/*.la
%suse_update_desktop_file -i xfce4-panel-manager Settings DesktopSettings
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/xfce4
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/xfce4/panel-plugins
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog HACKING NEWS README TODO
%{_bindir}/*
%{_datadir}/icons/*/*/*/*
%{_libdir}/libxfce4panel.so.*
%dir %{_libdir}/xfce4
%dir %{_libdir}/xfce4/panel-plugins
%dir %{_libexecdir}/xfce4
%dir %{_libexecdir}/xfce4/panel-plugins
%{_libdir}/xfce4/panel-plugins/*.so
%dir %{_datadir}/xfce4/panel-plugins
%{_datadir}/xfce4/panel-plugins/*.desktop
%{_datadir}/applications/xfce4-panel-manager.desktop
%{_datadir}/xfce4/doc/*

%files devel
%defattr(-,root,root)
%{_includedir}/xfce4/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%dir %{_datadir}/gtk-doc/html/libxfce4panel
%{_datadir}/gtk-doc/html/*/*

%files branding-upstream
%defattr(-,root,root)
%dir %{_sysconfdir}/xdg/xfce4/panel
%{_sysconfdir}/xdg/xfce4/panel/*.xml
%{_sysconfdir}/xdg/xfce4/panel/*.rc

%changelog
openSUSE Build Service is sponsored by