package created by autospec [release 0.0-1mamba;Tue May 15 2012]
This commit is contained in:
parent
451a5539d7
commit
83746913ea
@ -1,2 +1,4 @@
|
||||
# ipheth
|
||||
|
||||
Pairing tool and udev rule to manage iPhone tethering through USB cables
|
||||
|
||||
|
10
ipheth-0.0.git20120515-run-ideviceinfo.patch
Normal file
10
ipheth-0.0.git20120515-run-ideviceinfo.patch
Normal file
@ -0,0 +1,10 @@
|
||||
diff -Nru ipheth.orig/ipheth-pair/90-iphone-tether.rules ipheth/ipheth-pair/90-iphone-tether.rules
|
||||
--- ipheth.orig/ipheth-pair/90-iphone-tether.rules 2012-05-15 14:33:54.000000000 +0200
|
||||
+++ ipheth/ipheth-pair/90-iphone-tether.rules 2012-05-15 14:54:17.558763977 +0200
|
||||
@@ -3,5 +3,6 @@
|
||||
|
||||
# Execute pairing program when appropriate
|
||||
ACTION=="add", SUBSYSTEM=="net", ENV{ID_USB_DRIVER}=="ipheth", SYMLINK+="iphone", RUN+="ipheth-pair"
|
||||
+ACTION=="add", SUBSYSTEM=="net", ENV{ID_USB_DRIVER}=="ipheth", RUN+="ideviceinfo"
|
||||
|
||||
LABEL="ipheth_rules_end"
|
49
ipheth.spec
Normal file
49
ipheth.spec
Normal file
@ -0,0 +1,49 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user