File libudev0-shim.spec of Package libudev0-shim

# spec file for package libudev0-shim
# 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

Name:           libudev0-shim
Version:        1
Release:        0
Summary:        Dynamic library to access udev device information
License:        GPL-3.0+
Group:          System/Libraries
Source:         %{name}-v%{version}.tar.xz
Source1:        %{name}-rpmlintrc
BuildRequires:  libudev-devel

This package contains the dynamic library libudev, which provides access to
udev device information

%setup -q -n %{name}-v%{version}

%if 0%{!?make_build:1}
  %define make_build %{__make} %{?_smp_mflags}

install -Dm 755 -t %{buildroot}%{_libdir}
ln -s %{buildroot}%{_libdir}/

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig


openSUSE Build Service is sponsored by