install udev files under /lib/udev [release 0.0.git20120515-2mamba;Sun Dec 04 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 23:57:04 +01:00
parent 83746913ea
commit 2d509b664a

View File

@ -1,6 +1,6 @@
Name: ipheth
Version: 0.0.git20120515
Release: 1mamba
Release: 2mamba
Summary: Pairing tool and udev rule to manage iPhone tethering through USB cables
Group: System/Kernel and Hardware
Vendor: openmamba
@ -33,17 +33,20 @@ cd ipheth-pair
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd ipheth-pair
install -D -m0755 ipheth-pair %{buildroot}/%{_lib}/udev/ipheth-pair
install -D -m0644 90-iphone-tether.rules %{buildroot}/%{_lib}/udev/rules.d/90-iphone-tether.rules
install -D -m0755 ipheth-pair %{buildroot}/lib/udev/ipheth-pair
install -D -m0644 90-iphone-tether.rules %{buildroot}%{_udevrulesdir}/90-iphone-tether.rules
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/%{_lib}/udev/rules.d/90-iphone-tether.rules
/%{_lib}/udev/ipheth-pair
%{_udevrulesdir}/90-iphone-tether.rules
/lib/udev/ipheth-pair
%changelog
* Sun Dec 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.git20120515-2mamba
- install udev files under /lib/udev
* Tue May 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0-1mamba
- package created by autospec