From 06834392446ea7b9e29aed3c71988fa3a2b6749f788f62e47e38c3fc13b9901e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 4 Jul 2014 13:28:56 +0000 Subject: [PATCH] Accepting request 237633 from home:MargueriteSu:branches:hardware unify libimobiledevice packages to hardware OBS-URL: https://build.opensuse.org/request/show/237633 OBS-URL: https://build.opensuse.org/package/show/hardware/libusbmuxd?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + baselibs.conf | 1 + libusbmuxd-1.0.9.tar.bz2 | 3 + libusbmuxd.changes | 5 ++ libusbmuxd.spec | 132 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 165 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libusbmuxd-1.0.9.tar.bz2 create mode 100644 libusbmuxd.changes create mode 100644 libusbmuxd.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..e56699e --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libusbmuxd2 diff --git a/libusbmuxd-1.0.9.tar.bz2 b/libusbmuxd-1.0.9.tar.bz2 new file mode 100644 index 0000000..8d85151 --- /dev/null +++ b/libusbmuxd-1.0.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e3f708a3df30ad7832d2d2389eeb29f68f4e4488a42a20149cc99f4f9223dfc +size 265940 diff --git a/libusbmuxd.changes b/libusbmuxd.changes new file mode 100644 index 0000000..ab71d83 --- /dev/null +++ b/libusbmuxd.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Jun 16 17:14:14 UTC 2014 - i@marguerite.su + +- initial version 1.0.9 + diff --git a/libusbmuxd.spec b/libusbmuxd.spec new file mode 100644 index 0000000..bd432cc --- /dev/null +++ b/libusbmuxd.spec @@ -0,0 +1,132 @@ +# +# spec file for package libusbmuxd +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: libusbmuxd +Version: 1.0.9 +Release: 0 +Summary: A client library to multiplex connections from and to iOS devices +License: LGPL-2.1+ +Group: System/Libraries +Url: http://cgit.sukimashita.com/libusbmuxd.git/ +Source: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 +BuildRequires: gcc-c++ +BuildRequires: libplist-devel >= 1.11 +BuildRequires: libusb-1_0-devel >= 1.0.3 +BuildRequires: pkg-config +BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(udev) +Requires(pre): pwdutils +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{?systemd_requires} + +%description +'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of +multiplexing connections over USB to an iPhone or iPod touch. To users, it means +you can sync your music, contacts, photos, etc. over USB. To developers, it +means you can connect to any listening localhost socket on the device. usbmuxd +is not used for tethering data transfer, which uses a dedicated USB interface as +a virtual network device. + +This package contains the usbmuxd communication interface library 'libusbmuxd'. + +%package -n %{name}2 + +Summary: A client library to multiplex connections from and to iOS devices +Group: System/Libraries +Provides: %{name} = %{version} +Obsoletes: %{name} < %{version} + +%description -n %{name}2 +'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of +multiplexing connections over USB to an iPhone or iPod touch. To users, it means +you can sync your music, contacts, photos, etc. over USB. To developers, it +means you can connect to any listening localhost socket on the device. usbmuxd +is not used for tethering data transfer, which uses a dedicated USB interface as +a virtual network device. + +This package contains the usbmuxd communication interface library 'libusbmuxd'. + +%package -n %{name}-devel + +Summary: Development files for %{name} +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description -n %{name}-devel +'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of +multiplexing connections over USB to an iPhone or iPod touch. To users, it means +you can sync your music, contacts, photos, etc. over USB. To developers, it +means you can connect to any listening localhost socket on the device. usbmuxd +is not used for tethering data transfer, which uses a dedicated USB interface as +a virtual network device. + +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package -n iproxy +Summary: An example tool to forward localhost ports to iOS devices +Group: System/Libraries +Requires: %{name} = %{version} + +%description -n iproxy +'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of +multiplexing connections over USB to an iPhone or iPod touch. To users, it means +you can sync your music, contacts, photos, etc. over USB. To developers, it +means you can connect to any listening localhost socket on the device. usbmuxd +is not used for tethering data transfer, which uses a dedicated USB interface as +a virtual network device. + +Multiple connections to different TCP ports can happen in parallel. An example +(and useful) tool called 'iproxy' is included that allows you to forward +localhost ports to the device---allows SSH over USB on jailbroken devices, or +allowing access the lockdown daemon (and then to all of the file access, sync, +notification and backup services running on the device). + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} + +rm %{buildroot}%{_libdir}/%{name}.*a + +%post -n %{name}2 -p /sbin/ldconfig + +%postun -n %{name}2 -p /sbin/ldconfig + +%files -n %{name}2 +%defattr(-,root,root) +%doc AUTHORS README +%{_libdir}/libusbmuxd.so.* + +%files -n %{name}-devel +%defattr(-,root,root,-) +%{_includedir}/usbmuxd.h +%{_includedir}/usbmuxd-proto.h +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc + +%files -n iproxy +%defattr(-,root,root) +%{_bindir}/iproxy + +%changelog