File pyxfce.spec of Package pyxfce

#
# spec file for package pyxfce (Version 4.4.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:           pyxfce
Summary:        Python bindings for Xfce
Version:        4.4.0
Release:        69
License:        BSD 3-Clause
Url:            http://pyxfce.xfce.org/
Source:         pyxfce-%{version}.tar.bz2
Group:          System/GUI/XFCE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  dbus-1-devel startup-notification
BuildRequires:  libxfcegui4-devel >= 4.3
BuildRequires:  libxfce4mcs-devel >= 4.3
BuildRequires:  xfce4-panel-devel >= 4.3
BuildRequires:  python-devel python-gtk
%if %suse_version > 1010
BuildRequires:  python-gtk-devel
%endif

%description
Python bindings for Xfce libraries: libxfce4util, libxfce4mcs,
libxfcegui4.



Authors:
--------
    Danny Milosavljevic <dannym@xfce.org>

%prep
%setup -q

%build
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
# strip $RPM_BUILD_ROOT from libs
sed -i s%${RPM_BUILD_ROOT}%""%g ${RPM_BUILD_ROOT}%{py_sitedir}/xfce4/*

%files
%defattr(-,root,root)
%doc README ChangeLog INSTALL COPYING AUTHORS
%dir %{_datadir}/pyxfce
%{_datadir}/pyxfce/4.2/
%{py_sitedir}/xfce4
%{_libdir}/pkgconfig/pyxfce-1.0.pc
%changelog
* Sat Jun 23 2007 - bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/XFCE'
* Thu Mar 22 2007 - prusnak@suse.cz
- updated to version 4.4.0
  * added some stuff for Xfce 4.4.0
  * changed the import interface
* Mon Jan 29 2007 - pnemec@suse.cz
- strip RPM_BUILD_ROOT from pyc files
* Fri Jan 19 2007 - pnemec@suse.cz
- package is ported from BuildService project in Autobuild
* Thu Nov 30 2006 - bwalle@suse.de
- initial package
openSUSE Build Service is sponsored by