File yast2-mcs-plugin.spec of Package yast2-mcs-plugin

#
# spec file for package yast2-mcs-plugin (Version 0.1.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           yast2-mcs-plugin
BuildRequires:  libxfcegui4-devel >= 4.3
BuildRequires:  xfce-mcs-manager-devel >= 4.3
Summary:        YaST2 - MCS plugin for Xfce that starts gsynaptics
Version:        0.1.0
Release:        55
License:        GPL v2 or later
Url:            http://www.bwalle.de/yast2-mcs-plugin/
Source0:        http://www.bwalle.de/yast2-mcs-plugin/%{name}-%{version}.tar.bz2
Group:          System/GUI/XFCE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       xfce-mcs-manager >= 4.3
Requires:       yast2-control-center
%if %suse_version >= 1010
Recommends:     gnomesu
%endif

%description
This plugin adds a YaST2 icon to the Xfce4 settings manager.



Authors:
--------
    Bernhard Walle <bwalle@suse.de>

%prep
%setup -q

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

%install
make DESTDIR="$RPM_BUILD_ROOT" install
rm $RPM_BUILD_ROOT%{_libdir}/xfce4/*plugins/*.*a

%clean
rm -rf $RPM_BUILD_ROOT

%post
%run_suseconfig -m gtk2

%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README ChangeLog
%{_libdir}/xfce4/mcs-plugins/*.so*
%{_datadir}/locale/*/*/yast2-mcs-plugin.mo
%dir %{_datadir}/icons/hicolor/*/apps/*
%dir %{_libdir}/xfce4
%dir %{_libdir}/xfce4/mcs-plugins
%changelog
* Mon Nov 12 2007 - prusnak@suse.cz
- do not package INSTALL file
* Sat Jun 23 2007 - bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/XFCE'
* Wed May 30 2007 - bwalle@suse.de
- fix 'directories not owned by a package'
* Mon May 28 2007 - bwalle@suse.de
- added URL.
* Fri Mar 16 2007 - bwalle@suse.de
- initial spec
openSUSE Build Service is sponsored by