50 lines
1.4 KiB
RPMSpec
50 lines
1.4 KiB
RPMSpec
Name: ipheth
|
|
Version: 0.0.git20120515
|
|
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: 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}/%{_lib}/udev/rules.d/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
|
|
|
|
%changelog
|
|
* Tue May 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0-1mamba
|
|
- package created by autospec
|