ipheth/ipheth.spec

58 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: ipheth
Version: 1.0
Release: 1mamba
Summary: Pairing tool and udev rule to manage iPhone tethering through USB cables
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/dgiagio/ipheth
Source: https://github.com/dgiagio/ipheth.git/%{version}/ipheth-%{version}.tar.bz2
Patch0: %{name}-0.0.git20120515-run-ideviceinfo.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libimobiledevice-devel
## AUTOBUILDREQ-END
%description
Pairing tool and udev rule to manage iPhone tethering through USB cables.
%debug_package
%prep
%setup -q
%patch0 -p1
%build
cd ipheth-pair
%make \
LDLIBS=" -limobiledevice-1.0"
%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}%{_udevrulesdir}/90-iphone-tether.rules
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_udevrulesdir}/90-iphone-tether.rules
/lib/udev/ipheth-pair
%changelog
* Thu Jun 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
- update to 1.0
* Sun Dec 20 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.git20120515-3mamba
- rebuilt with libimobiledevice 1.3.0
* 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