Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 9fad9513eb283288f6b656241ed2e6d3 > files > 1

python-xfce-4.4.1-0.29680.3mdv2010.1.src.rpm

%define _requires_exceptions pkgconfig(pygtk-2.0)
%define oname pyxfce
%define snap 29680

Summary:	Python bindings for Xfce
Name:		python-xfce
Version:	4.4.1
Release:	%mkrel -c %{snap} 3
License:	BSD
Group:		Development/Python
Url:		http://pyxfce.xfce.org
Source0:	http://pyxfce.xfce.org/%{oname}-%{version}-svn%{snap}.tar.bz2
BuildRequires:	libxfce4util-devel >= 4.4.2
BuildRequires:	libxfcegui4-devel
BuildRequires:	libxfce4-panel-devel
BuildRequires:	pygtk2.0-devel
Requires:	pygtk2.0
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
Python bindings for the Xfce desktop environment.

%prep
%setup -qn %{oname}-%{version}

%build
xdt-autogen
%configure2_5x \
	--enable-final

%make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%makeinstall_std

# strip $RPM_BUILD_ROOT from libs
sed -i s%%{buildroot}%""%g %{buildroot}%{py_platsitedir}/xfce4/*

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README TODO
%{_libdir}/pkgconfig/pyxfce-1.0.pc
%{py_platsitedir}/xfce4/*.py*
%{py_platsitedir}/xfce4/*.la
%{py_platsitedir}/xfce4/*.so
%{_datadir}/%{oname}/4.2/defs/*.defs


%changelog
* Fri May 07 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.1-0.29680.3mdv2010.1
+ Revision: 543279
- rebuild for mdv 2010.1

* Wed Jul 29 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.1-0.29680.2mdv2010.0
+ Revision: 403980
- add exception on pkgconfig(pygtk-2.0) require
- add requires on pygtk2.0

* Sun Mar 22 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.1-0.29680.1mdv2009.1
+ Revision: 360477
- update to latest upstream svn revision
- merge few changes, like removing MCS dependancies into tarball

* Fri Aug 01 2008 Thierry Vignaud <tv@mandriva.org> 4.4.0-10mdv2009.0
+ Revision: 259866
- rebuild

* Fri Jul 25 2008 Thierry Vignaud <tv@mandriva.org> 4.4.0-9mdv2009.0
+ Revision: 247738
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Sun Dec 16 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-7mdv2008.1
+ Revision: 120674
- bump tag, because bs is stupid

* Sun Dec 16 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-6mdv2008.1
+ Revision: 120670
- add missing buildrequires

* Sun Nov 18 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-5mdv2008.1
+ Revision: 110075
- rebuild for new xfce
- correct the license
- do not package COPYING file

* Sun Aug 26 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-4mdv2008.0
+ Revision: 71452
- spec file clean
- remove %%{buildroot} from libraries

* Mon May 28 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-2mdv2008.0
+ Revision: 31985
- correct buildrequires
- do not use hardcoded python path in file list

* Sun May 27 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 4.4.0-1mdv2008.0
+ Revision: 31827
- Import python-xfce