|
|
26764f |
Name: bolt
|
|
|
e6f646 |
Version: 0.9.1
|
|
|
26764f |
Release: 1%{?dist}
|
|
|
26764f |
Summary: Thunderbolt device manager
|
|
|
26764f |
License: LGPLv2+
|
|
|
26764f |
URL: https://gitlab.freedesktop.org/bolt/bolt
|
|
|
26764f |
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
26764f |
|
|
|
26764f |
BuildRequires: gcc
|
|
|
26764f |
BuildRequires: asciidoc
|
|
|
26764f |
BuildRequires: meson
|
|
|
26764f |
BuildRequires: libudev-devel
|
|
|
26764f |
BuildRequires: pkgconfig(gio-2.0)
|
|
|
26764f |
BuildRequires: pkgconfig(libudev)
|
|
|
26764f |
BuildRequires: polkit-devel
|
|
|
26764f |
BuildRequires: systemd
|
|
|
26764f |
%{?systemd_requires}
|
|
|
26764f |
|
|
|
26764f |
%description
|
|
|
e6f646 |
bolt is a system daemon to manage Thunderbolt devices via a D-BUS
|
|
|
e6f646 |
API. Thunderbolt 3 introduced different security modes that require
|
|
|
26764f |
devices to be authorized before they can be used. The D-Bus API can be
|
|
|
26764f |
used to list devices, enroll them (authorize and store them in the
|
|
|
26764f |
local database) and forget them again (remove previously enrolled
|
|
|
26764f |
devices). It also emits signals if new devices are connected (or
|
|
|
26764f |
removed). During enrollment devices can be set to be automatically
|
|
|
26764f |
authorized as soon as they are connected. A command line tool, called
|
|
|
26764f |
boltctl, can be used to control the daemon and perform all the above
|
|
|
26764f |
mentioned tasks.
|
|
|
26764f |
|
|
|
26764f |
%prep
|
|
|
26764f |
%autosetup -p1
|
|
|
26764f |
|
|
|
26764f |
%build
|
|
|
26764f |
%meson -Ddb-name=boltd
|
|
|
26764f |
%meson_build
|
|
|
26764f |
|
|
|
26764f |
%check
|
|
|
26764f |
%meson_test
|
|
|
26764f |
|
|
|
26764f |
%install
|
|
|
26764f |
%meson_install
|
|
|
26764f |
install -m0755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/boltd
|
|
|
26764f |
|
|
|
26764f |
%post
|
|
|
26764f |
%systemd_post %{name}.service
|
|
|
26764f |
|
|
|
26764f |
%preun
|
|
|
26764f |
%systemd_preun %{name}.service
|
|
|
26764f |
|
|
|
26764f |
%postun
|
|
|
26764f |
%systemd_postun_with_restart %{name}.service
|
|
|
26764f |
|
|
|
26764f |
%files
|
|
|
26764f |
%license COPYING
|
|
|
26764f |
%doc README.md CHANGELOG.md
|
|
|
26764f |
%{_bindir}/boltctl
|
|
|
26764f |
%{_libexecdir}/boltd
|
|
|
26764f |
%{_unitdir}/%{name}.service
|
|
|
26764f |
%{_udevrulesdir}/*-%{name}.rules
|
|
|
26764f |
%{_datadir}/dbus-1/system.d/org.freedesktop.bolt.conf
|
|
|
26764f |
%{_datadir}/dbus-1/interfaces/org.freedesktop.bolt.xml
|
|
|
26764f |
%{_datadir}/polkit-1/actions/org.freedesktop.bolt.policy
|
|
|
26764f |
%{_datadir}/polkit-1/rules.d/org.freedesktop.bolt.rules
|
|
|
26764f |
%{_datadir}/dbus-1/system-services/org.freedesktop.bolt.service
|
|
|
26764f |
%{_mandir}/man1/boltctl.1*
|
|
|
26764f |
%{_mandir}/man8/boltd.8*
|
|
|
26764f |
%ghost %dir %{_localstatedir}/lib/boltd
|
|
|
26764f |
|
|
|
26764f |
%changelog
|
|
|
e6f646 |
* Wed Jan 13 2021 Christian Kellner <ckellner@redhat.com> - 0.9.1-1
|
|
|
e6f646 |
- bolt 0.9 upstream release
|
|
|
e6f646 |
- Update description with less emphasis on Thunderbolt version
|
|
|
e6f646 |
|
|
|
26764f |
* Mon Jun 15 2020 Christian Kellner <ckellner@redhat.com> - 0.9-1
|
|
|
26764f |
- bolt 0.9 upstream release
|
|
|
26764f |
|
|
|
26764f |
* Fri Jun 14 2019 Christian Kellner <ckellner@redhat.com> - 0.8-2
|
|
|
26764f |
- Rebuilt for fixed gating.yaml (remove missing tier1 gate)
|
|
|
26764f |
|
|
|
26764f |
* Thu Jun 13 2019 Christian Kellner <ckellner@redhat.com> - 0.8-1
|
|
|
26764f |
- bolt 0.8 upstream release with pre-boot ACL and IOMMU support
|
|
|
26764f |
D-Bus Configuration moved from sysconfdir to datadir
|
|
|
26764f |
Resolves: #1629715
|
|
|
26764f |
|
|
|
26764f |
* Wed Jul 18 2018 Christian Kellner <ckellner@redhat.com> - 0.4-1
|
|
|
26764f |
- bolt 0.4 upstream release
|
|
|
26764f |
- Remove optional test dependencies
|
|
|
26764f |
|
|
|
26764f |
* Tue Apr 10 2018 Christian Kellner <ckellner@redhat.com> - 0.3-1
|
|
|
26764f |
- bolt 0.3 upstream release
|
|
|
26764f |
- Update BuildRequires to include gcc
|
|
|
26764f |
- Use forge macros
|
|
|
26764f |
|
|
|
26764f |
* Tue Mar 6 2018 Christian Kellner <ckellner@redhat.com> - 0.2-1
|
|
|
26764f |
- bolt 0.2 upstream release
|
|
|
26764f |
- Update BuildRequires dependencies.
|
|
|
26764f |
|
|
|
26764f |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-3
|
|
|
26764f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
26764f |
|
|
|
26764f |
* Sun Dec 17 2017 Christian Kellner <ckellner@redhat.com> - 0.1-2
|
|
|
26764f |
- Set database path to /var/lib/boltd, create it during
|
|
|
26764f |
installation, which is needed for the service file to work.
|
|
|
26764f |
|
|
|
26764f |
* Thu Dec 14 2017 Christian Kellner <ckellner@redhat.com> - 0.1-1
|
|
|
26764f |
- Initial upstream release
|