11Vendor: Microsoft Corporation
22Distribution: Azure Linux
3- Name: libimobiledevice
4- Version: 1.2.1
5- Release: 1%{?dist }
6- Summary: Library for connecting to mobile devices
7-
8- License: LGPLv2+
9- URL: http://www.libimobiledevice.org/
10- Source0: http://www.libimobiledevice.org/downloads/%{name }-1.2.0.tar.bz2
11- # Upstream patches, generated with:
12- # git format-patch --stdout 344409e1d1ad917d377b256214c5411dda82e6b0...9b857fc42cdc4921e1e3f190c5ea907774e04758
13- # b5a70e9aaf538dad0aba0b800b122955e8ac494b
14- # 26373b334889f5ae2e2737ff447eb25b1700fa2f
15- # 97f8ac9e9ad9ee73ca635a26831bfe950a5d673b
16- # were manually removed
17- Patch0: a7568f456d10f1aff61534e3216201a857865247...9b857fc42cdc4921e1e3f190c5ea907774e04758.patch
3+ Name: libimobiledevice
4+ Version: 1.3.0
5+ Release: 1%{?dist }
6+ Summary: Library for connecting to mobile devices
7+
8+ License: LGPLv2+
9+ URL: http://www.libimobiledevice.org/
10+ Source0: https://github.com/libimobiledevice/libimobiledevice/releases/download/%{version }/%{name }-%{version }.tar.bz2
11+ # Patch to fix 1.3.0 redefining enum from libplist
12+ Patch0: upgrade-fixes-1.3.0.patch
1813
1914BuildRequires: glib2-devel
2015BuildRequires: openssl-devel
@@ -30,7 +25,7 @@ BuildRequires: git-core
3025BuildRequires: autoconf automake libtool
3126
3227%description
33- libimobiledevice is a library for connecting to mobile devices including phones
28+ libimobiledevice is a library for connecting to mobile devices including phones
3429and music players
3530
3631%package devel
@@ -48,34 +43,31 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
4843Utilites for use with libimobiledevice.
4944
5045%prep
51- %autosetup -S git_am -n %{name }-1.2.0
52-
53- # Fix dir permissions on html docs
54- chmod +x docs/html
55-
46+ %autosetup -p1 -S git_am -n %{name }-%{version }
5647ACLOCAL=" aclocal -I m4" autoreconf -f -i
5748
5849%build
5950%configure --disable-static --enable-openssl --enable-dev-tools --without-cython
6051# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
6152sed -i ' s|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
6253sed -i ' s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
63-
64- make %{?_smp_mflags } V= 1
54+ % make_build
55+ # make %{?_smp_mflags} V=1
6556
6657%install
67- make install DESTDIR=%{buildroot }
58+ %make_install
59+ #make install DESTDIR=%{buildroot}
6860
6961#Remove libtool archives.
70- find %{buildroot } -type f -name "*.la" -delete
62+ # find %{buildroot} -type f -name "*.la" -delete
7163
7264%ldconfig_scriptlets
7365
7466%files
7567%{! ? _licensedir:%global license %%doc }
7668%license COPYING.LESSER
7769%doc AUTHORS README.md
78- %{_libdir }/libimobiledevice.so.6*
70+ %{_libdir }/libimobiledevice-1.0 .so.6*
7971
8072%files utils
8173%doc %{_datadir }/man/man1/idevice*
@@ -84,10 +76,14 @@ find %{buildroot} -type f -name "*.la" -delete
8476%files devel
8577%doc docs/html/
8678%{_libdir }/pkgconfig/libimobiledevice-1.0.pc
87- %{_libdir }/libimobiledevice.so
79+ %{_libdir }/libimobiledevice-1.0. *
8880%{_includedir }/libimobiledevice/
8981
9082%changelog
83+ * Fri Nov 14 2025 Sandeep Karambelkar <skarambelkar@microsoft.com> - 1.3.0-1
84+ - Update to version 1.3.0
85+ - License verified
86+
9187* Thu Oct 14 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.2.1-1
9288- Initial CBL-Mariner import from Fedora 32 (license: MIT).
9389- Converting the 'Release' tag to the '[number].[distribution]' format.
@@ -317,7 +313,7 @@ find %{buildroot} -type f -name "*.la" -delete
317313- New git snapshot
318314
319315* Mon Dec 8 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
320- - Fix devel dependency
316+ - Fix devel dependency
321317
322318* Mon Dec 8 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
323319- Fix gnutls check for new rawhide version
0 commit comments