ipheth/ipheth.spec

53 lines
1.5 KiB
RPMSpec

Name: ipheth
Version: 0.0.git20120515
Release: 2mamba
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: http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver
# Source got with: git clone git://github.com/dgiagio/ipheth.git
Source: ipheth-%{version}.tar.xz
Patch0: %{name}-0.0.git20120515-run-ideviceinfo.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libimobiledevice-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Pairing tool and udev rule to manage iPhone tethering through USB cables
%debug_package
%prep
%setup -q -n %{name}
%patch0 -p1
%build
cd ipheth-pair
%make
%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
* 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