|
|
4f518a8 |
Name: 3dprinter-udev-rules
|
|
|
2948209 |
Version: 0.2.2
|
|
|
2948209 |
Release: 1%{?dist}
|
|
|
4f518a8 |
Summary: Rules for udev to give regular users access to operate 3D printers
|
|
|
4f518a8 |
License: CC0
|
|
|
4f518a8 |
URL: https://github.com/hroncok/%{name}
|
|
|
4f518a8 |
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
4f518a8 |
BuildArch: noarch
|
|
|
4f518a8 |
|
|
|
4f518a8 |
# For the %%_udevrulesdir macro
|
|
|
4f518a8 |
BuildRequires: systemd
|
|
|
4f518a8 |
|
|
|
4f518a8 |
# For the directory
|
|
|
9c6f095 |
Requires: systemd-udev
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%global file_name 66-3dprinter.rules
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%description
|
|
|
4f518a8 |
Normally, when you connect a RepRap like 3D printer to a Linux machine by an
|
|
|
4f518a8 |
USB cable, you need to be in dialout or similar group to be able to control
|
|
|
4f518a8 |
it via OctoPrint, Printrun, Cura or any other control software. Not any more.
|
|
|
4f518a8 |
|
|
|
82d63a9 |
Install this rule to grant all users read and write access to collected
|
|
|
82d63a9 |
devices based on the VID and PID.
|
|
|
4f518a8 |
|
|
|
4f518a8 |
Disclaimer: Such device might not be a 3D printer, it my be an Arduino, it
|
|
|
4f518a8 |
might be a modem and it might even be a blender. But normally you would
|
|
|
4f518a8 |
add your user to dialout and get access to all of those and more anyway.
|
|
|
4f518a8 |
So I guess be careful when some of the users should not get access to
|
|
|
4f518a8 |
your blenders.
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%prep
|
|
|
4f518a8 |
%setup -q
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%build
|
|
|
4f518a8 |
# nothing
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%install
|
|
|
4f518a8 |
install -D -p -m 644 %{file_name} %{buildroot}%_udevrulesdir/%{file_name}
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%post
|
|
|
4f518a8 |
%udev_rules_update
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%postun
|
|
|
4f518a8 |
%udev_rules_update
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%files
|
|
|
4f518a8 |
%doc README.md
|
|
|
4f518a8 |
%license LICENSE
|
|
|
4f518a8 |
%_udevrulesdir/%{file_name}
|
|
|
4f518a8 |
|
|
|
4f518a8 |
%changelog
|
|
|
2948209 |
* Fri Apr 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.2-1
|
|
|
2948209 |
- Update to 0.2.2
|
|
|
2948209 |
|
|
|
c28052a |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-6
|
|
|
c28052a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c28052a |
|
|
|
3129241 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-5
|
|
|
3129241 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3129241 |
|
|
|
558081e |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-4
|
|
|
558081e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
558081e |
|
|
|
91deb1d |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
|
|
|
91deb1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
91deb1d |
|
|
|
bfc4166 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
|
|
|
bfc4166 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
bfc4166 |
|
|
|
2d74ce9 |
* Mon Jan 02 2017 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-1
|
|
|
2d74ce9 |
- Update to 0.2.1
|
|
|
2d74ce9 |
|
|
|
82d63a9 |
* Thu Sep 08 2016 Miro Hrončok <mhroncok@redhat.com> - 0.2-1
|
|
|
82d63a9 |
- Update to 0.2, with more strict rules rhbz#1370782
|
|
|
82d63a9 |
|
|
|
9c6f095 |
* Sat Mar 05 2016 Miro Hrončok <mhroncok@redhat.com> - 0.1-2
|
|
|
9c6f095 |
- Require systemd-udev, that now owns the directory
|
|
|
9c6f095 |
|
|
|
4f518a8 |
* Fri Feb 26 2016 Miro Hrončok <mhroncok@redhat.com> - 0.1-1
|
|
|
4f518a8 |
- Initial package
|