python-dbus/python-dbus.spec

109 lines
3.2 KiB
RPMSpec

Name: python-dbus
Version: 1.2.0
Release: 2mamba
Summary: Python bindings for D-Bus
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freedesktop.org/software/dbus/
Source: http://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz
License: GPL, Academic Free License
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libglib-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: dbus-python
Obsoletes: dbus-python
%description
D-Bus python bindings for use with python programs.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: dbus-python-devel
Obsoletes: dbus-python-devel
%description devel
D-Bus python bindings for use with python programs.
This package contains static libraries and header files need for development.
%prep
%setup -q -n dbus-python-%{version}
%build
%configure PYTHON=%{__python27}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#remove unpackaged files
rm -rf %{buildroot}%{_datadir}/doc/dbus-python
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{python27_sitearch}/*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/dbus-1.0/dbus
%{_includedir}/dbus-1.0/dbus/*.h
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README doc/*.txt
%changelog
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with python 2.7
* Tue May 14 2013 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Thu May 26 2011 Automatic Build System <autodist@mambasoft.it> 0.84.0-1mamba
- automatic update by autodist
* Sat Dec 04 2010 Automatic Build System <autodist@mambasoft.it> 0.83.2-1mamba
- automatic update by autodist
* Sun Feb 21 2010 Automatic Build System <autodist@mambasoft.it> 0.83.1-1mamba
- automatic update by autodist
* Thu Dec 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.83.0-4mamba
- rebuilt to have release higher than package in stable repository
* Thu Dec 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.83.0-3mamba
- rename to python-dbus
* Fri Nov 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.83.0-2mamba
- rebuild with current python
* Sat Aug 30 2008 gil <puntogil@libero.it> 0.83.0-1mamba
- update to 0.83.0
* Tue May 13 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.82.4-1mamba
- update to 0.82.4
* Mon Nov 19 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.82.3-1mamba
- update to 0.82.3
* Tue Oct 24 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.71-1qilnx
- package created by autospecaggiornamento del pacchetto dbus-python alla versione [?]...