Group: Development/Libraries/Python
Url: http://www.freedesktop.org/wiki/Software/DBusBindings/
Source0: http://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz
+Source1001: dbus-python.manifest
BuildRequires: fdupes
BuildRequires: python-devel
BuildRequires: pkgconfig(dbus-1)
%prep
%setup -q
+cp %{SOURCE1001} .
%build
export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC"
%fdupes -s %{buildroot}
%files
+%manifest %{name}.manifest
%license COPYING
%defattr(-,root,root,-)
%{python_sitelib}/*
%{python_sitearch}/*
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_includedir}/dbus-1.0/dbus/dbus-python.h
%{_libdir}/pkgconfig/dbus-python.pc