-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplusdeck.spec
More file actions
102 lines (83 loc) · 3.63 KB
/
Copy pathplusdeck.spec
File metadata and controls
102 lines (83 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Name: plusdeck
Version: 5.0.1
Release: 1
License: MPL-2.0
Summary: Serial client and Linux service for the Plus Deck 2C PC Cassette Deck
URL: https://github.com/jfhbrook/plusdeck
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: python-plusdeck
Requires: python-sdbus
%description
%prep
%autosetup
%build
tar -xzf %{SOURCE0}
%install
mkdir -p %{buildroot}%{_prefix}/lib/systemd/system
mkdir -p %{buildroot}%{_bindir}
install -p -D -m 0644 systemd/plusdeck.service %{buildroot}%{_prefix}/lib/systemd/system/plusdeck.service
install -p -D -m 0644 dbus/org.jfhbrook.plusdeck.conf %{buildroot}%{_prefix}/share/dbus-1/system.d/org.jfhbrook.plusdeck.conf
install -p -m 755 bin/plusdeck-dbus %{buildroot}%{_bindir}/plusdeck
%check
%files
%{_prefix}/lib/systemd/system/plusdeck.service
%{_prefix}/share/dbus-1/system.d/org.jfhbrook.plusdeck.conf
%{_bindir}/plusdeck
%changelog
* Sat Apr 12 2025 Josh Holbrook <josh.holbrook@gmail.com> 5.0.1-1
- **BUGFIX:** Add main entry point for serial client
- Add `--version` CLI flag
* Thu Apr 10 2025 Josh Holbrook <josh.holbrook@gmail.com> 5.0.0-2
- Fix error in `plusdeck.spec`
* Thu Apr 10 2025 Josh Holbrook <josh.holbrook@gmail.com> 5.0.0-1
- CLI changes:
- Main CLI respects `PLUSDECK_CONFIG_FILE` environment variable
- **BREAKING:** `plusdeck`, `plusdeckd` and `plusdeckctl` have been removed from the Python package in favor of `python3 -m plusdeck`, `python3 -m plusdeck.dbus.service` and `python3 -m plusdeck.dbus.client`, respectively
- Optional alias scripts for `plusdeck`, `plusdeck-service` and `plusdeck-dbus` included in the `./bin` folder
- DBus service CLI includes a `--system/--user` flag for explicitly selecting the bus
- **BREAKING:** DBus client CLI now uses `--user/--default` flag for selecting the bus
- DBus API Changes:
- **BREAKING:** Root `plusdeck.dbus` no longer includes convenience exports
- Addition of `plusdeck.dbus.domain` module for domain mapping
- Addition of `plusdeck.dbus.select` module for selecting the DBus bus
- Testing changes:
- Additional integration test for DBus
- Remove `tox` from development tools
- Documentation improvements:
- Include generated DBus interface docs
- Fix links in documentation
- General overhaul based on lessons from `crystalfontz`
- Packaging & Licensing
- **BREAKING:** Consistently licensed as MPL-2.0
- Improved PyPI classifiers
* Sun Feb 09 2025 Josh Holbrook <josh.holbrook@gmail.com> 4.0.1-1
- Dbus methods now marked as unprivileged
- sdbus library errors have improved logging
* Sat Feb 08 2025 Josh Holbrook <josh.holbrook@gmail.com> 4.0.0-1
- `plusdeckctl` connects to the system bus by default
- `plusdeckctl --user` will connect to the user bus
- `plusdeckd` loads local config by default unless run as root
- systemd unit fixes
- Requires `dbus.socket`, starts after `dbus.socket`
- Wanted by `multiuser.target`
- dbus access policy
- Ownership and allowed destination for root
- Allowed destination for `plusdeck` user
* Thu Feb 06 2025 Josh Holbrook <josh.holbrook@gmail.com> 3.0.0-3
- Fix install path of systemd unit
* Tue Feb 04 2025 Josh Holbrook <josh.holbrook@gmail.com> 3.0.0-1
- Remove `appdirs` dependency
- dbus support:
- `plusdeck.dbus.DbusInterface` dbus Interface class
- `plusdeck.dbus.DbusClient` dbus client class
- `plusdeckd` dbus service CLI
- `plusdeckctl` dbus client CLI
- systemd unit for `plusdeckd`
- `python-plusdeck` COPR package spec
- `plusdeck` COPR package spec
- Depends on `python-plusdeck` COPR package
- Includes systemd unit for `plusdeckd`
- Tito based release tagging
- GitHub release tarball
- Improved documentation