No build reason found for SLE-Product-HA:ppc64le

File iio-sensor-proxy.spec of Package iio-sensor-proxy

#
# spec file for package iio-sensor-proxy
#
# Copyright (c) 2016 SUSE LINUX 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:           iio-sensor-proxy
Version:        2.0
Release:        0
Summary:        Proxy for IIO and input subsystems
License:        GPL-3.0
Url:            https://github.com/hadess/iio-sensor-proxy
Source:         https://github.com/hadess/iio-sensor-proxy/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires:  gtk-doc
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gudev-1.0) >= 230
BuildRequires:  pkgconfig(systemd) >= 219
BuildRequires:  pkgconfig(udev) >= 219
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}

%description
This proxy reads sensor data from the IIO subsystem and serves to the input subsystem

%package doc
Summary:        Documentation for %{name}
BuildArch:      noarch

%description doc
This package contains the documentation for %{name}.

%prep
%setup -q

%build
%configure --enable-gtk-doc --disable-gtk-tests
make %{?_smp_mflags}

%install
%make_install
install -d %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}

%pre
%service_add_pre iio-sensor-proxy.service

%post
%udev_hwdb_update
%udev_rules_update
%service_add_post iio-sensor-proxy.service

%preun
%service_del_preun iio-sensor-proxy.service

%postun
%service_del_postun iio-sensor-proxy.service
%udev_hwdb_update
%udev_rules_update

%files
%defattr(-,root,root)
%{_bindir}/monitor-sensor
%{_sbindir}/iio-sensor-proxy
%{_sbindir}/rc%{name}
%{_udevrulesdir}/*.rules
%{_unitdir}/iio-sensor-proxy.service
# Own dirs to avoid depending on dbus while building.
%dir %{_sysconfdir}/dbus-1
%dir %{_sysconfdir}/dbus-1/system.d
%config %{_sysconfdir}/dbus-1/system.d/net.hadess.SensorProxy.conf

%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/%{name}/

%changelog
openSUSE Build Service is sponsored by