Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marec2000:python:backports
dbus-1-python
dbus-1-python.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dbus-1-python.spec of Package dbus-1-python
# # spec file for package dbus-1-python # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: dbus-1-python Version: 1.2.0 Release: 0 Summary: Python bindings for D-Bus License: MIT 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 BuildRequires: epydoc BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-gobject %if 0%{?suse_version} && 0%{?suse_version} <= 1140 BuildRequires: docutils %else BuildRequires: python-docutils %endif BuildRequires: pkgconfig(dbus-1) >= 1.6.0 BuildRequires: pkgconfig(dbus-glib-1) Requires: python-xml Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1`) BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} Requires: python-gobject %description D-Bus python bindings for use with python programs. %package -n dbus-1-python-devel Summary: Python bindings for D-Bus Group: Development/Libraries/Python Requires: dbus-1-python = %{version} Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1`) Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1-devel`) %description -n dbus-1-python-devel Developer files for Python bindings for D-Bus. %prep %setup -q -n dbus-python-%{version} %build export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC" %configure --docdir=%{_docdir}/dbus-1-python make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install # Remove libtool config files rm -f %{buildroot}%{python_sitearch}/*.la # Install additional docs install -pm 0644 AUTHORS COPYING ChangeLog %{buildroot}%{_docdir}/dbus-1-python/ # Remove files that will be included in dbus-1-python-devel rm -f %{buildroot}%{_docdir}/dbus-1-python/{API_CHANGES.*,HACKING.*,PY3PORT.*,tutorial.*} # Install devel docs (do it manually to fix also rpmlint warning "files-duplicate" with %%fdupes) mkdir -p %{buildroot}%{_docdir}/dbus-1-python-devel-doc cp -a api/ doc/ examples/ %{buildroot}%{_docdir}/dbus-1-python-devel-doc/ # Remove Makefile* (fix rpmlint warning "makefile-junk") rm -f %{buildroot}%{_docdir}/dbus-1-python-devel-doc/examples/Makefile* %fdupes -s %{buildroot} %files %defattr(-,root,root,-) %doc %{_docdir}/dbus-1-python/ %{python_sitelib}/* %{python_sitearch}/* %files -n dbus-1-python-devel %defattr(-,root,root,-) %doc %{_docdir}/dbus-1-python-devel-doc/ %{_includedir}/dbus-1.0/dbus/dbus-python.h %{_libdir}/pkgconfig/dbus-python.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor