File python-gudev.spec of Package python-gudev

# spec file for package python-gudev
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, Netherlands.
# 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

Name:           python-gudev
Version:        147.2
Release:        1.1
License:        LGPL-3.0+
Summary:        Python bindings to GUDev
Group:          Development/Languages/Python
Source:         %{name}-%{version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  pkgconfig(gudev-1.0)
BuildRequires:  pkgconfig(pygobject-2.0)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define _defsdir %(pkg-config --variable=defsdir pygobject-2.0)

Python (PyGObject) bindings to the GUDev library.

%setup -q

%configure --disable-static
make %{?_smp_mflags}

find %{buildroot}%{_libdir} -name '*.la' -delete -print


openSUSE Build Service is sponsored by