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