Blame SPECS/bolt.spec

3f016b
Name:          bolt
7bc60f
Version:       0.9.5
fcc509
Release:       1%{?dist}
3f016b
Summary:       Thunderbolt device manager
3f016b
License:       LGPLv2+
3f016b
URL:           https://gitlab.freedesktop.org/bolt/bolt
3f016b
Source0:       %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
3f016b
3f016b
BuildRequires: gcc
3f016b
BuildRequires: asciidoc
3f016b
BuildRequires: meson
3f016b
BuildRequires: libudev-devel
3f016b
BuildRequires: pkgconfig(gio-2.0)
3f016b
BuildRequires: pkgconfig(libudev)
3f016b
BuildRequires: pkgconfig(systemd)
3f016b
BuildRequires: polkit-devel
3f016b
BuildRequires: systemd
3f016b
%{?systemd_requires}
3f016b
3f016b
# for the integration test (optional)
3f016b
%if 0%{?fedora} || 0%{?rhel} > 8
3f016b
BuildRequires: pygobject3-devel
3f016b
BuildRequires: python3-dbus
3f016b
BuildRequires: python3-dbusmock
3f016b
BuildRequires: umockdev-devel
3f016b
%endif
3f016b
3f016b
%description
3f016b
bolt is a system daemon to manage Thunderbolt devices via a D-BUS
3f016b
API. Thunderbolt 3 introduced different security modes that require
3f016b
devices to be authorized before they can be used. The D-Bus API can be
3f016b
used to list devices, enroll them (authorize and store them in the
3f016b
local database) and forget them again (remove previously enrolled
3f016b
devices). It also emits signals if new devices are connected (or
3f016b
removed). During enrollment devices can be set to be automatically
3f016b
authorized as soon as they are connected.  A command line tool, called
3f016b
boltctl, can be used to control the daemon and perform all the above
3f016b
mentioned tasks.
3f016b
3f016b
%prep
3f016b
%autosetup -p1
3f016b
3f016b
%build
3f016b
%meson -Ddb-name=boltd
3f016b
%meson_build
3f016b
3f016b
%check
3f016b
%meson_test
3f016b
3f016b
%install
3f016b
%meson_install
3f016b
3f016b
%post
3f016b
%systemd_post %{name}.service
3f016b
3f016b
%preun
3f016b
%systemd_preun %{name}.service
3f016b
3f016b
%postun
3f016b
%systemd_postun_with_restart %{name}.service
3f016b
3f016b
%files
3f016b
%license COPYING
3f016b
%doc README.md CHANGELOG.md
3f016b
%{_bindir}/boltctl
3f016b
%{_libexecdir}/boltd
3f016b
%{_unitdir}/%{name}.service
3f016b
%{_udevrulesdir}/*-%{name}.rules
3f016b
%{_datadir}/dbus-1/system.d/org.freedesktop.bolt.conf
3f016b
%{_datadir}/dbus-1/interfaces/org.freedesktop.bolt.xml
3f016b
%{_datadir}/polkit-1/actions/org.freedesktop.bolt.policy
3f016b
%{_datadir}/polkit-1/rules.d/org.freedesktop.bolt.rules
3f016b
%{_datadir}/dbus-1/system-services/org.freedesktop.bolt.service
3f016b
%{_mandir}/man1/boltctl.1*
3f016b
%{_mandir}/man8/boltd.8*
3f016b
%ghost %dir %{_localstatedir}/lib/boltd
3f016b
3f016b
%changelog
7bc60f
* Mon Jan 9 2023 Kate Hsuan <hpa@redhat.com> - 0.9.5-1
7bc60f
- New 0.9.5 upstream release
7bc60f
fcc509
* Sat Feb 26 2022 Christian Kellner <christian@kellner.me> - 0.9.2-1
fcc509
- New upstream release
fcc509
3f016b
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.1-4
3f016b
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
3f016b
  Related: rhbz#1991688
3f016b
3f016b
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.1-3
3f016b
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
3f016b
3f016b
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
3f016b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3f016b
3f016b
* Tue Dec  1 2020 Christian Kellner <ckellner@redhat.com> - 0.9.1-1
3f016b
- bolt 0.9.1 release
3f016b
- Update description with less emphasis on Thunderbolt version
3f016b
3f016b
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-3
3f016b
- Second attempt - Rebuilt for
3f016b
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3f016b
3f016b
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
3f016b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3f016b
3f016b
* Mon Jun 15 2020 Christian Kellner <ckellner@redhat.com> - 0.9-1
3f016b
- bolt 0.9 release
3f016b
  Drop all patches (all merged upstream).
3f016b
3f016b
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-4
3f016b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3f016b
3f016b
* Thu Jan 23 2020 Christian Kellner <christian@kellner.me> - 0.8-3
3f016b
- Add patch to ignore uevents from wakeup devices. See upstream issue
3f016b
  https://gitlab.freedesktop.org/bolt/bolt/issues/156
3f016b
- Add patch to fix BoltError not being a typedef.
3f016b
3f016b
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
3f016b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3f016b
3f016b
* Thu Jun 13 2019 Christian Kellner <ckellner@redhat.com> - 0.8-1
3f016b
- bolt 0.8 release
3f016b
  D-Bus Configuration moved from sysconfdir to datadir.
3f016b
  Package new CHNAGELOG.md.
3f016b
3f016b
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-2
3f016b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3f016b
3f016b
* Tue Jan  1 2019 Christian Kellner <gicmo@redhat.com> - 0.7-1
3f016b
- bolt 0.7 release
3f016b
3f016b
* Wed Nov 28 2018 Christian Kellner <ckellner@redhat.com> - 0.6-1
3f016b
- bolt 0.6 release
3f016b
3f016b
* Fri Sep 21 2018 Christian Kellner <ckellner@redhat.com> - 0.5-1
3f016b
- bolt 0.5 release
3f016b
- Remove forge macros again and use gitlab as authorative source
3f016b
- Testing depedencies are now only pulled in on Fedora
3f016b
3f016b
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
3f016b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3f016b
3f016b
* Mon May 28 2018 Christian Kellner <ckellner@redhat.com> - 0.4-1
3f016b
- bolt 0.4 upstream release
3f016b
3f016b
* Tue Apr 10 2018 Christian Kellner <ckellner@redhat.com> - 0.3-1
3f016b
- bolt 0.3 upstream release
3f016b
- Update BuildRequires to include gcc
3f016b
- Use forge macros
3f016b
3f016b
* Tue Mar  6 2018 Christian Kellner <ckellner@redhat.com> - 0.2-1
3f016b
- bolt 0.2 upstream release
3f016b
- Update BuildRequires dependencies.
3f016b
3f016b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-3
3f016b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3f016b
3f016b
* Sun Dec 17 2017 Christian Kellner <ckellner@redhat.com> - 0.1-2
3f016b
- Set database path to /var/lib/boltd, create it during
3f016b
  installation, which is needed for the service file to work.
3f016b
3f016b
* Thu Dec 14 2017 Christian Kellner <ckellner@redhat.com> - 0.1-1
3f016b
- Initial upstream release