libimobiledevice/libimobiledevice.spec

161 lines
5.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libimobiledevice
#
Accepting request 1091442 from home:michals - Update to version 1.3.0+179git.20230430: * Updated to use latest libplist API changes * installation_proxy: Handle BundleIDs in instproxy_client_options_add * idevice: Fix connections to <= iOS 5 devices with OpenSSL 3 * idevicebackup2: Fix missing break in switch case statement * tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+ * tools: Add idevicedevmodectl tool * lockdown: Fix error parsing for older iOS versions * Support OpenSSL built without OPENSSL_ENGINE * idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldb * idevice: Fix OpenSSL 3.0 internal error on read timeout * tools: Fix idevicebackup2 option parsing for --password option * idevicebackup2: Fix option parsing * instproxy: Use synchronous mode when callbacks are NULL, as documented * Add new idevice_events_subscribe/unsubscribe API with context * Initial commit of working packet logger (idevicebtlogger) * ideviceinfo: Make sure all error messages go to stderr * tools: Use getopt for option parsing in all tools * idevice: Fix mistreatment of 0-byte sent cases * idevicebackup2: Allow passing backup password via environment variable * idevicedebug: Add 'kill' command to kill a (debuggable) app by bundle ID * Handle connection failures in debugserver_client_receive_response; also simplify the code * Add timeout and interrupt handling to debugserver. Fix debugserver_client_handle_response * idevicedebug: Process "Wxx" response as "exited with code xx" * idevicecrashreport: Allow filtering crash reports by filename * idevicedebugserverproxy: Allow binding to any available port * idevicedebug: Gracefully fail on invalid bundle IDs * tools: Correct misspelled directionary -> dictionary in function name * diagnostics_relay: Check for errors after sending requests to service connection * Add support for wireless pairing OBS-URL: https://build.opensuse.org/request/show/1091442 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=22
2023-06-08 15:23:22 +02:00
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define libname libimobiledevice-1_0-6
Name: libimobiledevice
Version: 1.3.0+190git.20230705
Release: 0
- Update to version 1.1.7 * Fix broken app args, environment handling and memory leaks in idevicedebug * Make all tools print an error if lockdown connection fails * Convert int16_t macro error types into enum for better type-checking and * for various debugging benefits * Avoid exporting non-public symbols for better ABI stability * Fix failing backup process for devices having a passcode set and entering * lock state during the process in idevicebackup2 * API: Added lockdownd_start_service_with_escrow_bag() * API: Added afc_remove_path_and_contents() for recursive deletion * Fix last memory leak with OpenSSL through proper library deinitialization * Add new idevicedebug tool to interact with debugserver on a device * API: Add debugserver service implementation * Handle new PermissionDenied error of file_relay due new security in iOS 8+ * Fix retry loop problem when device requests 0 files in idevicebackup2 * Add trust dialog related error codes to Cython bindings * Fix various memory leaks in AFC implementation * Fix disk image upload with latest iOS 8 in ideviceimagemounter * Add new "dump" command to print information about a provisioning profile in * ideviceprovision * Refactor plist print helper code and move it into common module for better * reuse accross the tools * Do not crash if retrieving the system buid fails * API: Make generic "propery_list_service_client" public * Moved doc comments from private to public headers * Fix possible segfault when using lockdownd_get_value() due to always * returning success * Do not read files entirely into memory during restore in idevicebackup * Plug a few memory leaks and fix invalid password check in idevicebackup2 * Add support for file sizes > 4GB on Win32 in idevicebackup2 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=3
2014-10-17 04:49:38 +02:00
Summary: Native protocols library for iOS devices
License: LGPL-2.1-or-later
URL: https://www.libimobiledevice.org
Source: %{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: (python3-Cython >= 0.17 with python3-Cython < 3)
BuildRequires: python3-plist
BuildRequires: readline-devel
Accepting request 1091442 from home:michals - Update to version 1.3.0+179git.20230430: * Updated to use latest libplist API changes * installation_proxy: Handle BundleIDs in instproxy_client_options_add * idevice: Fix connections to <= iOS 5 devices with OpenSSL 3 * idevicebackup2: Fix missing break in switch case statement * tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+ * tools: Add idevicedevmodectl tool * lockdown: Fix error parsing for older iOS versions * Support OpenSSL built without OPENSSL_ENGINE * idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldb * idevice: Fix OpenSSL 3.0 internal error on read timeout * tools: Fix idevicebackup2 option parsing for --password option * idevicebackup2: Fix option parsing * instproxy: Use synchronous mode when callbacks are NULL, as documented * Add new idevice_events_subscribe/unsubscribe API with context * Initial commit of working packet logger (idevicebtlogger) * ideviceinfo: Make sure all error messages go to stderr * tools: Use getopt for option parsing in all tools * idevice: Fix mistreatment of 0-byte sent cases * idevicebackup2: Allow passing backup password via environment variable * idevicedebug: Add 'kill' command to kill a (debuggable) app by bundle ID * Handle connection failures in debugserver_client_receive_response; also simplify the code * Add timeout and interrupt handling to debugserver. Fix debugserver_client_handle_response * idevicedebug: Process "Wxx" response as "exited with code xx" * idevicecrashreport: Allow filtering crash reports by filename * idevicedebugserverproxy: Allow binding to any available port * idevicedebug: Gracefully fail on invalid bundle IDs * tools: Correct misspelled directionary -> dictionary in function name * diagnostics_relay: Check for errors after sending requests to service connection * Add support for wireless pairing OBS-URL: https://build.opensuse.org/request/show/1091442 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=22
2023-06-08 15:23:22 +02:00
BuildRequires: pkgconfig(libimobiledevice-glue-1.0) >= 1.0.0
BuildRequires: pkgconfig(libplist-2.0) >= 2.3.0
BuildRequires: pkgconfig(libssl)
BuildRequires: pkgconfig(libusbmuxd-2.0) >= 2.0.2
BuildRequires: pkgconfig(python3)
%description
libimobiledevice is a software library that talks the protocols to support
iOS devices. It does not depend on any existing libraries from Apple.
%package -n %{libname}
- Update to version 1.1.7 * Fix broken app args, environment handling and memory leaks in idevicedebug * Make all tools print an error if lockdown connection fails * Convert int16_t macro error types into enum for better type-checking and * for various debugging benefits * Avoid exporting non-public symbols for better ABI stability * Fix failing backup process for devices having a passcode set and entering * lock state during the process in idevicebackup2 * API: Added lockdownd_start_service_with_escrow_bag() * API: Added afc_remove_path_and_contents() for recursive deletion * Fix last memory leak with OpenSSL through proper library deinitialization * Add new idevicedebug tool to interact with debugserver on a device * API: Add debugserver service implementation * Handle new PermissionDenied error of file_relay due new security in iOS 8+ * Fix retry loop problem when device requests 0 files in idevicebackup2 * Add trust dialog related error codes to Cython bindings * Fix various memory leaks in AFC implementation * Fix disk image upload with latest iOS 8 in ideviceimagemounter * Add new "dump" command to print information about a provisioning profile in * ideviceprovision * Refactor plist print helper code and move it into common module for better * reuse accross the tools * Do not crash if retrieving the system buid fails * API: Make generic "propery_list_service_client" public * Moved doc comments from private to public headers * Fix possible segfault when using lockdownd_get_value() due to always * returning success * Do not read files entirely into memory during restore in idevicebackup * Plug a few memory leaks and fix invalid password check in idevicebackup2 * Add support for file sizes > 4GB on Win32 in idevicebackup2 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=3
2014-10-17 04:49:38 +02:00
Summary: Native protocols library for iOS devices
License: LGPL-2.1-or-later
%description -n %{libname}
libimobiledevice is a software library that talks the protocols to support
iOS devices. It does not depend on any existing libraries from Apple.
%package devel
Summary: Development files for %{name}
License: LGPL-2.1-or-later
Requires: %{libname} = %{version}
Requires: pkgconfig(libplist-2.0)
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n imobiledevice-tools
Summary: Tools using %{name} for iOS devices
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Requires: %{libname} = %{version}
Provides: %{name}-tools = %{version}
Obsoletes: %{name}-tools < %{version}
%description -n imobiledevice-tools
libimobiledevice is a software library that talks the protocols to support
iOS devices. It does not depend on any existing libraries from Apple.
%package -n python3-imobiledevice
Summary: Python bindings for %{name}
License: LGPL-2.1-or-later
Requires: %{libname} = %{version}
Requires: python3-plist >= 1.11
%description -n python3-imobiledevice
Contains Python bindings for developing applications that use %{name}.
%prep
%setup -q
sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in
sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in
%build
autoreconf -fvi
%configure \
--disable-silent-rules \
--disable-static \
Accepting request 1091442 from home:michals - Update to version 1.3.0+179git.20230430: * Updated to use latest libplist API changes * installation_proxy: Handle BundleIDs in instproxy_client_options_add * idevice: Fix connections to <= iOS 5 devices with OpenSSL 3 * idevicebackup2: Fix missing break in switch case statement * tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+ * tools: Add idevicedevmodectl tool * lockdown: Fix error parsing for older iOS versions * Support OpenSSL built without OPENSSL_ENGINE * idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldb * idevice: Fix OpenSSL 3.0 internal error on read timeout * tools: Fix idevicebackup2 option parsing for --password option * idevicebackup2: Fix option parsing * instproxy: Use synchronous mode when callbacks are NULL, as documented * Add new idevice_events_subscribe/unsubscribe API with context * Initial commit of working packet logger (idevicebtlogger) * ideviceinfo: Make sure all error messages go to stderr * tools: Use getopt for option parsing in all tools * idevice: Fix mistreatment of 0-byte sent cases * idevicebackup2: Allow passing backup password via environment variable * idevicedebug: Add 'kill' command to kill a (debuggable) app by bundle ID * Handle connection failures in debugserver_client_receive_response; also simplify the code * Add timeout and interrupt handling to debugserver. Fix debugserver_client_handle_response * idevicedebug: Process "Wxx" response as "exited with code xx" * idevicecrashreport: Allow filtering crash reports by filename * idevicedebugserverproxy: Allow binding to any available port * idevicedebug: Gracefully fail on invalid bundle IDs * tools: Correct misspelled directionary -> dictionary in function name * diagnostics_relay: Check for errors after sending requests to service connection * Add support for wireless pairing OBS-URL: https://build.opensuse.org/request/show/1091442 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=22
2023-06-08 15:23:22 +02:00
PYTHON=%{_bindir}/python3 PACKAGE_VERSION=%{version}
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license COPYING.LESSER
%{_libdir}/%{name}-1.0.so.6*
%files devel
%{_includedir}/%{name}/
%{_libdir}/%{name}-1.0.so
%{_libdir}/pkgconfig/%{name}-1.0.pc
%files -n imobiledevice-tools
%doc AUTHORS NEWS README.md
%{_bindir}/idevice_id
Accepting request 1091442 from home:michals - Update to version 1.3.0+179git.20230430: * Updated to use latest libplist API changes * installation_proxy: Handle BundleIDs in instproxy_client_options_add * idevice: Fix connections to <= iOS 5 devices with OpenSSL 3 * idevicebackup2: Fix missing break in switch case statement * tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+ * tools: Add idevicedevmodectl tool * lockdown: Fix error parsing for older iOS versions * Support OpenSSL built without OPENSSL_ENGINE * idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldb * idevice: Fix OpenSSL 3.0 internal error on read timeout * tools: Fix idevicebackup2 option parsing for --password option * idevicebackup2: Fix option parsing * instproxy: Use synchronous mode when callbacks are NULL, as documented * Add new idevice_events_subscribe/unsubscribe API with context * Initial commit of working packet logger (idevicebtlogger) * ideviceinfo: Make sure all error messages go to stderr * tools: Use getopt for option parsing in all tools * idevice: Fix mistreatment of 0-byte sent cases * idevicebackup2: Allow passing backup password via environment variable * idevicedebug: Add 'kill' command to kill a (debuggable) app by bundle ID * Handle connection failures in debugserver_client_receive_response; also simplify the code * Add timeout and interrupt handling to debugserver. Fix debugserver_client_handle_response * idevicedebug: Process "Wxx" response as "exited with code xx" * idevicecrashreport: Allow filtering crash reports by filename * idevicedebugserverproxy: Allow binding to any available port * idevicedebug: Gracefully fail on invalid bundle IDs * tools: Correct misspelled directionary -> dictionary in function name * diagnostics_relay: Check for errors after sending requests to service connection * Add support for wireless pairing OBS-URL: https://build.opensuse.org/request/show/1091442 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=22
2023-06-08 15:23:22 +02:00
%{_bindir}/idevicebtlogger
%{_bindir}/idevicecrashreport
Accepting request 1091442 from home:michals - Update to version 1.3.0+179git.20230430: * Updated to use latest libplist API changes * installation_proxy: Handle BundleIDs in instproxy_client_options_add * idevice: Fix connections to <= iOS 5 devices with OpenSSL 3 * idevicebackup2: Fix missing break in switch case statement * tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+ * tools: Add idevicedevmodectl tool * lockdown: Fix error parsing for older iOS versions * Support OpenSSL built without OPENSSL_ENGINE * idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldb * idevice: Fix OpenSSL 3.0 internal error on read timeout * tools: Fix idevicebackup2 option parsing for --password option * idevicebackup2: Fix option parsing * instproxy: Use synchronous mode when callbacks are NULL, as documented * Add new idevice_events_subscribe/unsubscribe API with context * Initial commit of working packet logger (idevicebtlogger) * ideviceinfo: Make sure all error messages go to stderr * tools: Use getopt for option parsing in all tools * idevice: Fix mistreatment of 0-byte sent cases * idevicebackup2: Allow passing backup password via environment variable * idevicedebug: Add 'kill' command to kill a (debuggable) app by bundle ID * Handle connection failures in debugserver_client_receive_response; also simplify the code * Add timeout and interrupt handling to debugserver. Fix debugserver_client_handle_response * idevicedebug: Process "Wxx" response as "exited with code xx" * idevicecrashreport: Allow filtering crash reports by filename * idevicedebugserverproxy: Allow binding to any available port * idevicedebug: Gracefully fail on invalid bundle IDs * tools: Correct misspelled directionary -> dictionary in function name * diagnostics_relay: Check for errors after sending requests to service connection * Add support for wireless pairing OBS-URL: https://build.opensuse.org/request/show/1091442 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=22
2023-06-08 15:23:22 +02:00
%{_bindir}/idevicedevmodectl
%{_bindir}/idevicepair
%{_bindir}/ideviceinfo
%{_bindir}/idevicesyslog
%{_bindir}/idevicebackup
%{_bindir}/idevicebackup2
- Update to version 1.1.7 * Fix broken app args, environment handling and memory leaks in idevicedebug * Make all tools print an error if lockdown connection fails * Convert int16_t macro error types into enum for better type-checking and * for various debugging benefits * Avoid exporting non-public symbols for better ABI stability * Fix failing backup process for devices having a passcode set and entering * lock state during the process in idevicebackup2 * API: Added lockdownd_start_service_with_escrow_bag() * API: Added afc_remove_path_and_contents() for recursive deletion * Fix last memory leak with OpenSSL through proper library deinitialization * Add new idevicedebug tool to interact with debugserver on a device * API: Add debugserver service implementation * Handle new PermissionDenied error of file_relay due new security in iOS 8+ * Fix retry loop problem when device requests 0 files in idevicebackup2 * Add trust dialog related error codes to Cython bindings * Fix various memory leaks in AFC implementation * Fix disk image upload with latest iOS 8 in ideviceimagemounter * Add new "dump" command to print information about a provisioning profile in * ideviceprovision * Refactor plist print helper code and move it into common module for better * reuse accross the tools * Do not crash if retrieving the system buid fails * API: Make generic "propery_list_service_client" public * Moved doc comments from private to public headers * Fix possible segfault when using lockdownd_get_value() due to always * returning success * Do not read files entirely into memory during restore in idevicebackup * Plug a few memory leaks and fix invalid password check in idevicebackup2 * Add support for file sizes > 4GB on Win32 in idevicebackup2 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=3
2014-10-17 04:49:38 +02:00
%{_bindir}/idevicedebug
%{_bindir}/idevicedebugserverproxy
%{_bindir}/idevicediagnostics
%{_bindir}/ideviceimagemounter
%{_bindir}/idevicename
%{_bindir}/idevicescreenshot
%{_bindir}/ideviceenterrecovery
%{_bindir}/idevicedate
%{_bindir}/idevicesetlocation
%{_bindir}/ideviceprovision
%{_bindir}/idevicenotificationproxy
%{_mandir}/man1/idevice_id.1%{?ext_man}
Accepting request 1091442 from home:michals - Update to version 1.3.0+179git.20230430: * Updated to use latest libplist API changes * installation_proxy: Handle BundleIDs in instproxy_client_options_add * idevice: Fix connections to <= iOS 5 devices with OpenSSL 3 * idevicebackup2: Fix missing break in switch case statement * tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+ * tools: Add idevicedevmodectl tool * lockdown: Fix error parsing for older iOS versions * Support OpenSSL built without OPENSSL_ENGINE * idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldb * idevice: Fix OpenSSL 3.0 internal error on read timeout * tools: Fix idevicebackup2 option parsing for --password option * idevicebackup2: Fix option parsing * instproxy: Use synchronous mode when callbacks are NULL, as documented * Add new idevice_events_subscribe/unsubscribe API with context * Initial commit of working packet logger (idevicebtlogger) * ideviceinfo: Make sure all error messages go to stderr * tools: Use getopt for option parsing in all tools * idevice: Fix mistreatment of 0-byte sent cases * idevicebackup2: Allow passing backup password via environment variable * idevicedebug: Add 'kill' command to kill a (debuggable) app by bundle ID * Handle connection failures in debugserver_client_receive_response; also simplify the code * Add timeout and interrupt handling to debugserver. Fix debugserver_client_handle_response * idevicedebug: Process "Wxx" response as "exited with code xx" * idevicecrashreport: Allow filtering crash reports by filename * idevicedebugserverproxy: Allow binding to any available port * idevicedebug: Gracefully fail on invalid bundle IDs * tools: Correct misspelled directionary -> dictionary in function name * diagnostics_relay: Check for errors after sending requests to service connection * Add support for wireless pairing OBS-URL: https://build.opensuse.org/request/show/1091442 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=22
2023-06-08 15:23:22 +02:00
%{_mandir}/man1/idevicebtlogger.1%{?ext_man}
%{_mandir}/man1/idevicecrashreport.1%{?ext_man}
Accepting request 1091442 from home:michals - Update to version 1.3.0+179git.20230430: * Updated to use latest libplist API changes * installation_proxy: Handle BundleIDs in instproxy_client_options_add * idevice: Fix connections to <= iOS 5 devices with OpenSSL 3 * idevicebackup2: Fix missing break in switch case statement * tools/ideviceimagemounter: Notify user of missing Developer Mode on iOS 16+ * tools: Add idevicedevmodectl tool * lockdown: Fix error parsing for older iOS versions * Support OpenSSL built without OPENSSL_ENGINE * idevicedebugserverproxy: Add support for 'qLaunchGDBServer' command of lldb * idevice: Fix OpenSSL 3.0 internal error on read timeout * tools: Fix idevicebackup2 option parsing for --password option * idevicebackup2: Fix option parsing * instproxy: Use synchronous mode when callbacks are NULL, as documented * Add new idevice_events_subscribe/unsubscribe API with context * Initial commit of working packet logger (idevicebtlogger) * ideviceinfo: Make sure all error messages go to stderr * tools: Use getopt for option parsing in all tools * idevice: Fix mistreatment of 0-byte sent cases * idevicebackup2: Allow passing backup password via environment variable * idevicedebug: Add 'kill' command to kill a (debuggable) app by bundle ID * Handle connection failures in debugserver_client_receive_response; also simplify the code * Add timeout and interrupt handling to debugserver. Fix debugserver_client_handle_response * idevicedebug: Process "Wxx" response as "exited with code xx" * idevicecrashreport: Allow filtering crash reports by filename * idevicedebugserverproxy: Allow binding to any available port * idevicedebug: Gracefully fail on invalid bundle IDs * tools: Correct misspelled directionary -> dictionary in function name * diagnostics_relay: Check for errors after sending requests to service connection * Add support for wireless pairing OBS-URL: https://build.opensuse.org/request/show/1091442 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=22
2023-06-08 15:23:22 +02:00
%{_mandir}/man1/idevicedevmodectl.1%{?ext_man}
%{_mandir}/man1/idevicepair.1%{?ext_man}
%{_mandir}/man1/ideviceinfo.1%{?ext_man}
%{_mandir}/man1/idevicesyslog.1%{?ext_man}
%{_mandir}/man1/idevicebackup.1%{?ext_man}
%{_mandir}/man1/idevicebackup2.1%{?ext_man}
%{_mandir}/man1/idevicedebug.1%{?ext_man}
%{_mandir}/man1/idevicedebugserverproxy.1%{?ext_man}
%{_mandir}/man1/idevicediagnostics.1%{?ext_man}
%{_mandir}/man1/ideviceimagemounter.1%{?ext_man}
%{_mandir}/man1/idevicename.1%{?ext_man}
%{_mandir}/man1/idevicescreenshot.1%{?ext_man}
%{_mandir}/man1/ideviceenterrecovery.1%{?ext_man}
%{_mandir}/man1/idevicesetlocation.1%{?ext_man}
%{_mandir}/man1/idevicedate.1%{?ext_man}
%{_mandir}/man1/ideviceprovision.1%{?ext_man}
%{_mandir}/man1/idevicenotificationproxy.1%{?ext_man}
%files -n python3-imobiledevice
%{python3_sitearch}/imobiledevice.so
%changelog