File thunderbolt-user-space.spec of Package thunderbolt-user-space

# spec file for package thunderbolt-user-space
# Copyright (c) 2024 SUSE LLC
# 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:           thunderbolt-user-space
Version:        0.9.3
Release:        0
Summary:        Thunderbolt Device Approval support
License:        BSD-3-Clause
Group:          System/Management
Patch0:         0001-flags-add-boost_system-library.patch
# Add support for Thunderbolt devices using Secure Connection in initramfs
Patch1:         0002-initramfs-support.patch
BuildRequires:  cmake >= 2.4.6
BuildRequires:  gcc-c++ >= 4.7
BuildRequires:  libdbus-c++-devel
BuildRequires:  libnl3-devel
BuildRequires:  pkgconfig
BuildRequires:  txt2tags
BuildRequires:  pkgconfig(dracut)
BuildRequires:  pkgconfig(udev)
Requires:       procps
%if 0%{?suse_version} > 1315
BuildRequires:  libboost_filesystem-devel
BuildRequires:  libboost_program_options-devel
BuildRequires:  libboost_system-devel
BuildRequires:  boost-devel >= 1.33.1

Thunderbolt is a hardware interface developed by Intel/Apple that
allows the connection of external peripherals to a computer.

These user-space components implement device approval support:

* Interaction with the kernel module for approving connected devices.
* ACL for auto-approving devices white-listed by the user.

%autosetup -p1 -n thunderbolt-software-user-space-%{version}

%cmake \

rm -rf %{buildroot}%{_datadir}/doc/thunderbolt-user-space



%license COPYING
%doc docs
%dir %{_prefix}/lib/dracut/modules.d/35thunderbolt/
%config %{_sysconfdir}/dracut.conf.d/35-thunderbolt.conf

openSUSE Build Service is sponsored by