Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tracyde
usbmuxd
usbmuxd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File usbmuxd.spec of Package usbmuxd
# # spec file for package usbmuxd (Version 1.0.6) # # Copyright (c) 2010 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/ # # norootforbuild Name: usbmuxd %define _libname libusbmuxd Version: 1.0.6 Release: 1 License: LGPL v2.1 or GPL v2 BuildRequires: libusb-1_0-devel >= 1.0.3 BuildRequires: cmake gcc-c++ udev %if 0%{?opensuse_bs} BuildRequires: pkg-config %endif Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-disable-priv-drop.patch Patch1: %{name}-fix-old-cmake-syntax.patch Group: System/Libraries Summary: Socket daemon for the usbmux protocol of iPhone/iPod Touch devices Url: http://git.marcansoft.com/?p=usbmuxd.git BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on %description This package provides the usbmuxd daemon for software to use through the libusbmuxd library to talk with iPhone/iPod Touch devices. Usbmux is an encapsulation protocol (think IP, ATM, PPP) that allows multiplexing several conversations onto a single pair of wires. Authors: -------- Hector Martin Nikias Bassen Paul Sladen %package -n %{_libname}1 License: LGPL v2.1 or GPL v2 Summary: A library to abstract socket/protocol communication to the usbmuxd daemon Group: System/Libraries Requires: %{name} = %{version} Provides: %{_libname} = %{version} Obsoletes: %{_libname} < %{version} %description -n %{_libname}1 This package contains the libusbmuxd library which provides an interface to talk to the usbmux daemon, create connections and list attached devices. Authors: -------- Hector Martin Nikias Bassen Paul Sladen %package -n %{_libname}-devel Summary: Development files for %{_name} Group: Development/Libraries/C and C++ Requires: %{_libname} = %{version} Requires: libusb-1_0-devel %description -n %{_libname}-devel The %{_libname}-devel package contains libraries and header files for developing applications that use %{_libname}. Authors: -------- Hector Martin Nikias Bassen Paul Sladen %package -n iproxy License: LGPL v2.1 or GPL v2 Summary: Proxy enabling TCP tunneling to iPhone/iPod Touch via USB cable Group: System/Libraries Requires: %{_libname} = %{version} %description -n iproxy Proxy enabling TCP tunneling to iPhone/iPod Touch via USB cable. It allows you to map a port of a service running on the device (like sshd) and redirect it to your local machine where you can interact with it. Authors: -------- Hector Martin Nikias Bassen Paul Sladen %prep %setup -q %patch0 -p1 %patch1 -p1 %build mkdir build cd build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %ifarch x86_64 -DLIB_SUFFIX:STRING=64 \ %endif -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ -DBUILD_TESTING=OFF \ %if %{undefined suse_version} -DCMAKE_INSTALL_DO_STRIP=1 \ %endif .. make %{?jobs:-j%jobs} %install cd build %{__make} install DESTDIR=$RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}.*a* %clean rm -rf $RPM_BUILD_ROOT %post -n %{_libname}1 -p /sbin/ldconfig %postun -n %{_libname}1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 README %{_sbindir}/usbmuxd /lib/udev/rules.d/85-usbmuxd.rules %files -n %{_libname}1 %defattr(-,root,root) %{_libdir}/libusbmuxd.so.* %files -n %{_libname}-devel %defattr(-,root,root,-) %doc README.devel %{_includedir}/usbmuxd.h %{_includedir}/usbmuxd-proto.h %{_libdir}/%{_libname}.so %{_libdir}/pkgconfig/%{_libname}.pc %files -n iproxy %defattr(-,root,root) %{_bindir}/iproxy %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor