SPECS: kernel-usb-iphone.spec (NEW) - initial
shadzik
shadzik at pld-linux.org
Sat Jul 5 18:55:25 CEST 2008
Author: shadzik Date: Sat Jul 5 16:55:25 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
kernel-usb-iphone.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/kernel-usb-iphone.spec
diff -u /dev/null SPECS/kernel-usb-iphone.spec:1.1
--- /dev/null Sat Jul 5 18:55:25 2008
+++ SPECS/kernel-usb-iphone.spec Sat Jul 5 18:55:20 2008
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without dist_kernel # allow non-distribution kernel
+%bcond_with verbose # verbose build (V=1)
+#
+%define origname iphone-module
+%define rel 1
+
+Summary: iPhone Linux Driver
+Summary(de.UTF-8): iPhone Linux Treiber
+Summary(pl.UTF-8): Sterownik dla Linuksa do iPhona
+Name: kernel%{_alt_kernel}-usb-iphone
+Version: 0.2
+Release: %{rel}@%{_kernel_ver_str}
+License: GPL
+Group: Base/Kernel
+Source0: http://matt.colyer.name/projects/%{origname}/%{origname}-%{version}.tar.gz
+# Source0-md5: d46de3440e6f797b9809dd8109b0d9e2
+URL: http://matt.colyer.name/projects/iphone-module/
+%{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.20.2}
+BuildRequires: rpmbuild(macros) >= 1.379
+%{?with_dist_kernel:%requires_releq_kernel}
+Requires(post,postun): /sbin/depmod
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A kernel module for Linux 2.6.x which allows your iPhone to charge while connected.
+(In the future it will hopefully allow you to access your data.)
+
+%prep
+%setup -q -c -n %{name}-%{version}
+
+%build
+%build_kernel_modules -m iphone
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%install_kernel_modules -m iphone -d kernel/drivers/usb/misc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%depmod %{_kernel_ver}
+
+%postun
+%depmod %{_kernel_ver}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README HACKING
+/lib/modules/%{_kernel_ver}/kernel/drivers/usb/misc/iphone.ko*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/07/05 16:55:20 shadzik
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list