update to 1.3.0+20241202git.c8cdf20 [release 1.3.0+20241202git.c8cdf20-1mamba;Sat Jan 04 2025]
This commit is contained in:
parent
9ad39132cb
commit
1479742265
@ -1,27 +0,0 @@
|
|||||||
--- libimobiledevice-1.1.1/src/lockdown.c.orig 2012-01-29 23:32:56.000000000 +0100
|
|
||||||
+++ libimobiledevice-1.1.1/src/lockdown.c 2012-01-29 23:33:41.000000000 +0100
|
|
||||||
@@ -86,7 +86,23 @@
|
|
||||||
|
|
||||||
plist_t result_node = plist_dict_get_item(dict, "Result");
|
|
||||||
if (!result_node) {
|
|
||||||
- return ret;
|
|
||||||
+ /* iOS 5: the 'Result' key is not present anymore.
|
|
||||||
+ But we need to check for the 'Error' key. */
|
|
||||||
+ plist_t err_node = plist_dict_get_item(dict, "Error");
|
|
||||||
+ if (err_node) {
|
|
||||||
+ if (plist_get_node_type(err_node) == PLIST_STRING) {
|
|
||||||
+ char *err_value = NULL;
|
|
||||||
+ plist_get_string_val(err_node, &err_value);
|
|
||||||
+ if (err_value) {
|
|
||||||
+ debug_info("ERROR: %s", err_value);
|
|
||||||
+ free(err_value);
|
|
||||||
+ } else {
|
|
||||||
+ debug_info("ERROR: unknown error occured");
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ return RESULT_FAILURE;
|
|
||||||
+ }
|
|
||||||
+ return RESULT_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
plist_type result_type = plist_get_node_type(result_node);
|
|
@ -1,28 +1,28 @@
|
|||||||
|
%define gittag %(echo %version | cut -d+ -f2 | cut -d. -f2)
|
||||||
Name: libimobiledevice
|
Name: libimobiledevice
|
||||||
Version: 1.3.0
|
Version: 1.3.0+20241202git.c8cdf20
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices on Linux
|
Summary: A software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices on Linux
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.libimobiledevice.org/
|
URL: https://libimobiledevice.org/
|
||||||
Source: https://github.com/libimobiledevice/libimobiledevice/releases/download/%{version}/libimobiledevice-%{version}.tar.bz2
|
Source: https://github.com/libimobiledevice/libimobiledevice.git/master@%{gittag}/libimobiledevice-%{version}.tar.bz2
|
||||||
#Source: http://www.libimobiledevice.org/downloads/libimobiledevice-%{version}.tar.bz2
|
|
||||||
Patch0: libimobiledevice-1.1.1-iOS_5.patch
|
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: ldconfig
|
BuildRequires: libimobiledevice-glue-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libplist-devel
|
BuildRequires: libplist-devel
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: libpython311-devel
|
||||||
|
BuildRequires: libreadline-devel
|
||||||
|
BuildRequires: libtatsu-devel
|
||||||
BuildRequires: libusbmuxd-devel
|
BuildRequires: libusbmuxd-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libplist-devel >= 2.2.0
|
BuildRequires: libusbmuxd-devel >= 0:2.1.0-1mamba
|
||||||
BuildRequires: libusbmuxd-devel >= 2.0.2
|
Obsoletes: libimobiledevice1 < 1.3.0
|
||||||
Requires: libusbmuxd >= 2.0.2
|
|
||||||
Obsoletes: libimobiledevice1
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libimobiledevice is a software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices.
|
libimobiledevice is a software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices.
|
||||||
@ -33,7 +33,6 @@ It allows other software to easily access the device's filesystem, retrieve info
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Summary: Python bindings for %{name}
|
Summary: Python bindings for %{name}
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: python >= %{pyver}
|
|
||||||
|
|
||||||
%description -n python-imobiledevice
|
%description -n python-imobiledevice
|
||||||
A Python library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices.
|
A Python library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices.
|
||||||
@ -43,14 +42,13 @@ Summary: Devel package for %{name}
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Obsoletes: libimobiledevice1-devel
|
Obsoletes: libimobiledevice1-devel < 1.3.0
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libimobiledevice is a software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices.
|
libimobiledevice is a software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices.
|
||||||
Unlike other projects, it does not depend on using any existing proprietary libraries and does not require jailbreaking.
|
Unlike other projects, it does not depend on using any existing proprietary libraries and does not require jailbreaking.
|
||||||
It allows other software to easily access the device's filesystem, retrieve information about the device and it's internals, backup/restore the device, manage SpringBoard® icons, manage installed applications, retrieve addressbook/calendars/notes and bookmarks and (using libgpod) synchronize music and video to the device.
|
It allows other software to easily access the device's filesystem, retrieve information about the device and it's internals, backup/restore the device, manage SpringBoard® icons, manage installed applications, retrieve addressbook/calendars/notes and bookmarks and (using libgpod) synchronize music and video to the device.
|
||||||
|
This package contains static libraries and header files needed for development.
|
||||||
This package contains static libraries and header files need for development.
|
|
||||||
|
|
||||||
%package tools
|
%package tools
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -63,15 +61,13 @@ Unlike other projects, it does not depend on using any existing proprietary libr
|
|||||||
It allows other software to easily access the device's filesystem, retrieve information about the device and it's internals, backup/restore the device, manage SpringBoard® icons, manage installed applications, retrieve addressbook/calendars/notes and bookmarks and (using libgpod) synchronize music and video to the device.
|
It allows other software to easily access the device's filesystem, retrieve information about the device and it's internals, backup/restore the device, manage SpringBoard® icons, manage installed applications, retrieve addressbook/calendars/notes and bookmarks and (using libgpod) synchronize music and video to the device.
|
||||||
This package contains the tools provided with %{name}.
|
This package contains the tools provided with %{name}.
|
||||||
|
|
||||||
%debug_package
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# FIXME: as of 1.1.4 python bindings through cython don't seem to be working
|
|
||||||
%configure \
|
%configure \
|
||||||
--without-cython
|
PACKAGE_VERSION=%{version}
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -82,37 +78,41 @@ This package contains the tools provided with %{name}.
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libimobiledevice-1.0.so.*
|
%{_libdir}/libimobiledevice-1.0.so.*
|
||||||
%doc AUTHORS COPYING.LESSER
|
%doc AUTHORS COPYING.LESSER
|
||||||
|
|
||||||
#%files -n python-imobiledevice
|
%files -n python-imobiledevice
|
||||||
#%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
#%{python_sitearch}/imobiledevice
|
%{python3_sitearch}/imobiledevice.a
|
||||||
|
%{python3_sitearch}/imobiledevice.so
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/afcclient
|
||||||
%{_bindir}/idevice*
|
%{_bindir}/idevice*
|
||||||
%{_mandir}/man1/idevice*.1*
|
%{_mandir}/man1/idevice*.1*
|
||||||
|
%{_mandir}/man1/afcclient.1*
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/libimobiledevice
|
%dir %{_includedir}/libimobiledevice
|
||||||
%{_includedir}/libimobiledevice/*.h
|
%{_includedir}/libimobiledevice/*.h
|
||||||
#%{_includedir}/libimobiledevice/swig
|
|
||||||
%{_libdir}/libimobiledevice-1.0.a
|
%{_libdir}/libimobiledevice-1.0.a
|
||||||
%{_libdir}/libimobiledevice-1.0.la
|
|
||||||
%{_libdir}/libimobiledevice-1.0.so
|
%{_libdir}/libimobiledevice-1.0.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%doc docs/html/
|
|
||||||
%doc NEWS
|
%doc NEWS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 04 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0+20241202git.c8cdf20-1mamba
|
||||||
|
- update to 1.3.0+20241202git.c8cdf20
|
||||||
|
|
||||||
|
* Sat Jan 04 2025 Automatic Build System <autodist@mambasoft.it> 1.3.0-2mamba
|
||||||
|
- rebuilt by autoport with build requirements: libusbmuxd-devel>=0:2.1.0-1mamba
|
||||||
|
|
||||||
* Thu Jul 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
* Thu Jul 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
||||||
- update to 1.3.0
|
- update to 1.3.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user