python-dbus/python-dbus.spec

141 lines
4.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-dbus
Version: 1.2.2
Release: 1mamba
Summary: D-Bus python bindings for use with python programs
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.
%if "%?with_pyver"
%define pyver %{with_pyver}
%define __python %(rpm --eval %{__python%{with_pyver}})
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
%define python_version %(rpm --eval %{python%{with_pyver}_version})
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
%package py%{pyver}
Group: System/Libraries/Python
Summary: D-Bus python bindings for use with python programs
%py_requires
%description py%{pyver}
D-Bus python bindings for use with python programs.
%endif
%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=%{__python}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#remove unpackaged files
rm -rf %{buildroot}%{_datadir}/doc/dbus-python
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%if "%?with_pyver"
%files py%{pyver}
%else
%files
%endif
%defattr(-,root,root)
%{python_sitearch}/*
%ifarch x86_64
%{python_sitelib}/*
%endif
%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
* Sun Mar 06 2016 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
- support -py3 build
* 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 [?]...