|
|
cd94008 |
Name: bolt
|
|
|
81e3398 |
Version: 0.7
|
|
|
564b100 |
Release: 2%{?dist}
|
|
|
cd94008 |
Summary: Thunderbolt device manager
|
|
|
cd94008 |
License: LGPLv2+
|
|
|
9eb1c05 |
URL: https://gitlab.freedesktop.org/bolt/bolt
|
|
|
9eb1c05 |
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
83f54ff |
|
|
|
9eb1c05 |
BuildRequires: gcc
|
|
|
83f54ff |
BuildRequires: asciidoc
|
|
|
83f54ff |
BuildRequires: meson
|
|
|
83f54ff |
BuildRequires: libudev-devel
|
|
|
83f54ff |
BuildRequires: pkgconfig(gio-2.0)
|
|
|
83f54ff |
BuildRequires: pkgconfig(libudev)
|
|
|
83f54ff |
BuildRequires: pkgconfig(systemd)
|
|
|
83f54ff |
BuildRequires: polkit-devel
|
|
|
9eb1c05 |
BuildRequires: systemd
|
|
|
9eb1c05 |
%{?systemd_requires}
|
|
|
9eb1c05 |
|
|
|
9eb1c05 |
# for the integration test (optional)
|
|
|
9eb1c05 |
%if 0%{?fedora}
|
|
|
92e763d |
BuildRequires: pygobject3-devel
|
|
|
92e763d |
BuildRequires: python3-dbus
|
|
|
92e763d |
BuildRequires: python3-dbusmock
|
|
|
83f54ff |
BuildRequires: umockdev-devel
|
|
|
9eb1c05 |
%endif
|
|
|
83f54ff |
|
|
|
83f54ff |
%description
|
|
|
83f54ff |
bolt is a system daemon to manage thunderbolt 3 devices via a D-BUS
|
|
|
83f54ff |
API. Thunderbolt 3 features different security modes that require
|
|
|
83f54ff |
devices to be authorized before they can be used. The D-Bus API can be
|
|
|
83f54ff |
used to list devices, enroll them (authorize and store them in the
|
|
|
83f54ff |
local database) and forget them again (remove previously enrolled
|
|
|
83f54ff |
devices). It also emits signals if new devices are connected (or
|
|
|
83f54ff |
removed). During enrollment devices can be set to be automatically
|
|
|
83f54ff |
authorized as soon as they are connected. A command line tool, called
|
|
|
83f54ff |
boltctl, can be used to control the daemon and perform all the above
|
|
|
83f54ff |
mentioned tasks.
|
|
|
83f54ff |
|
|
|
83f54ff |
%prep
|
|
|
9eb1c05 |
%setup -q
|
|
|
83f54ff |
|
|
|
83f54ff |
%build
|
|
|
9eb1c05 |
%meson -Ddb-name=boltd
|
|
|
83f54ff |
%meson_build
|
|
|
83f54ff |
|
|
|
83f54ff |
%check
|
|
|
83f54ff |
%meson_test
|
|
|
83f54ff |
|
|
|
83f54ff |
%install
|
|
|
83f54ff |
%meson_install
|
|
|
83f54ff |
|
|
|
83f54ff |
%post
|
|
|
83f54ff |
%systemd_post %{name}.service
|
|
|
83f54ff |
|
|
|
83f54ff |
%preun
|
|
|
83f54ff |
%systemd_preun %{name}.service
|
|
|
83f54ff |
|
|
|
83f54ff |
%postun
|
|
|
83f54ff |
%systemd_postun_with_restart %{name}.service
|
|
|
83f54ff |
|
|
|
83f54ff |
%files
|
|
|
83f54ff |
%license COPYING
|
|
|
83f54ff |
%doc README.md
|
|
|
83f54ff |
%{_bindir}/boltctl
|
|
|
83f54ff |
%{_libexecdir}/boltd
|
|
|
83f54ff |
%{_unitdir}/%{name}.service
|
|
|
83f54ff |
%{_udevrulesdir}/*-%{name}.rules
|
|
|
83f54ff |
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.bolt.conf
|
|
|
83f54ff |
%{_datadir}/dbus-1/interfaces/org.freedesktop.bolt.xml
|
|
|
83f54ff |
%{_datadir}/polkit-1/actions/org.freedesktop.bolt.policy
|
|
|
83f54ff |
%{_datadir}/polkit-1/rules.d/org.freedesktop.bolt.rules
|
|
|
83f54ff |
%{_datadir}/dbus-1/system-services/org.freedesktop.bolt.service
|
|
|
83f54ff |
%{_mandir}/man1/boltctl.1*
|
|
|
92e763d |
%{_mandir}/man8/boltd.8*
|
|
|
9eb1c05 |
%ghost %dir %{_localstatedir}/lib/boltd
|
|
|
83f54ff |
|
|
|
83f54ff |
%changelog
|
|
|
564b100 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
|
|
|
564b100 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
564b100 |
|
|
|
81e3398 |
* Tue Jan 1 2019 Christian Kellner <gicmo@redhat.com> - 0.7-1
|
|
|
81e3398 |
- bolt 0.7 release
|
|
|
81e3398 |
|
|
|
55b7812 |
* Wed Nov 28 2018 Christian Kellner <ckellner@redhat.com> - 0.6-1
|
|
|
55b7812 |
- bolt 0.6 release
|
|
|
55b7812 |
|
|
|
9eb1c05 |
* Fri Sep 21 2018 Christian Kellner <ckellner@redhat.com> - 0.5-1
|
|
|
9eb1c05 |
- bolt 0.5 release
|
|
|
9eb1c05 |
- Remove forge macros again and use gitlab as authorative source
|
|
|
9eb1c05 |
- Testing depedencies are now only pulled in on Fedora
|
|
|
9eb1c05 |
|
|
|
f696169 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
|
|
|
f696169 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f696169 |
|
|
|
6ba34ee |
* Mon May 28 2018 Christian Kellner <ckellner@redhat.com> - 0.4-1
|
|
|
6ba34ee |
- bolt 0.4 upstream release
|
|
|
6ba34ee |
|
|
|
cd94008 |
* Tue Apr 10 2018 Christian Kellner <ckellner@redhat.com> - 0.3-1
|
|
|
cd94008 |
- bolt 0.3 upstream release
|
|
|
cd94008 |
- Update BuildRequires to include gcc
|
|
|
cd94008 |
- Use forge macros
|
|
|
cd94008 |
|
|
|
92e763d |
* Tue Mar 6 2018 Christian Kellner <ckellner@redhat.com> - 0.2-1
|
|
|
92e763d |
- bolt 0.2 upstream release
|
|
|
92e763d |
- Update BuildRequires dependencies.
|
|
|
92e763d |
|
|
|
121f3d6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-3
|
|
|
121f3d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
121f3d6 |
|
|
|
7a08f1e |
* Sun Dec 17 2017 Christian Kellner <ckellner@redhat.com> - 0.1-2
|
|
|
7a08f1e |
- Set database path to /var/lib/boltd, create it during
|
|
|
7a08f1e |
installation, which is needed for the service file to work.
|
|
|
7a08f1e |
|
|
|
83f54ff |
* Thu Dec 14 2017 Christian Kellner <ckellner@redhat.com> - 0.1-1
|
|
|
83f54ff |
- Initial upstream release
|