2025-01-04 22:08:24 +01:00
%define gittag %(echo %version | cut -d+ -f2 | cut -d. -f2)
2024-01-06 04:39:11 +01:00
Name : libimobiledevice
2025-01-04 22:08:24 +01:00
Version : 1.3.0+20241202git.c8cdf20
2024-01-06 04:39:12 +01:00
Release : 1mamba
2024-01-06 04:39:11 +01:00
Summary : A software library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices on Linux
Group : System/Libraries
Vendor : openmamba
Distribution : openmamba
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
2025-01-04 22:08:24 +01:00
URL : https://libimobiledevice.org/
Source : https://github.com/libimobiledevice/libimobiledevice.git/master@%{gittag} /libimobiledevice-%{version} .tar.bz2
2024-01-06 04:39:11 +01:00
License : GPL
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
2025-01-04 22:08:24 +01:00
BuildRequires : libimobiledevice-glue-devel
2024-01-06 04:39:11 +01:00
BuildRequires : libopenssl-devel
2024-01-06 04:39:11 +01:00
BuildRequires : libplist-devel
2025-01-04 22:08:24 +01:00
BuildRequires : libpython3-devel
BuildRequires : libpython311-devel
BuildRequires : libreadline-devel
BuildRequires : libtatsu-devel
2024-01-06 04:39:11 +01:00
BuildRequires : libusbmuxd-devel
## AUTOBUILDREQ-END
2025-01-04 22:08:24 +01:00
BuildRequires : libusbmuxd-devel >= 0:2.1.0-1mamba
Obsoletes : libimobiledevice1 < 1.3.0
2024-01-06 04:39:11 +01:00
%description
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.
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.
%package -n python-imobiledevice
Group : Development/Libraries/Python
Summary : Python bindings for %{name}
Requires : %{name} = %{?epoch:%epoch:}%{version} -%{release}
%description -n python-imobiledevice
A Python library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices.
%package devel
Summary : Devel package for %{name}
Group : Development/Libraries
Requires : %{name} = %{?epoch:%epoch:}%{version} -%{release}
2024-01-06 04:39:12 +01:00
Requires : %{name} -tools = %{?epoch:%epoch:}%{version} -%{release}
2025-01-04 22:08:24 +01:00
Obsoletes : libimobiledevice1-devel < 1.3.0
2024-01-06 04:39:11 +01:00
%description devel
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.
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.
2025-01-04 22:08:24 +01:00
This package contains static libraries and header files needed for development.
2024-01-06 04:39:11 +01:00
2024-01-06 04:39:12 +01:00
%package tools
Group : Applications/Multimedia
Summary : Tools provided with %{name}
Requires : %{name} = %{?epoch:%epoch:}%{version} -%{release}
%description tools
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.
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} .
2024-01-06 04:39:11 +01:00
%prep
%setup -q
2025-01-04 22:08:24 +01:00
NOCONFIGURE=1 ./autogen.sh
2024-01-06 04:39:11 +01:00
%build
%configure \
2025-01-04 22:08:24 +01:00
PACKAGE_VERSION=%{version}
2024-01-06 04:39:12 +01:00
2024-01-06 04:39:11 +01:00
%make
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%makeinstall
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%files
%defattr (-,root,root)
2024-01-06 04:39:12 +01:00
%{_libdir} /libimobiledevice-1.0.so.*
%doc AUTHORS COPYING.LESSER
2024-01-06 04:39:11 +01:00
2025-01-04 22:08:24 +01:00
%files -n python-imobiledevice
%defattr (-,root,root,-)
%{python3_sitearch} /imobiledevice.a
%{python3_sitearch} /imobiledevice.so
2024-01-06 04:39:11 +01:00
2024-01-06 04:39:12 +01:00
%files tools
%defattr (-,root,root)
2025-01-04 22:08:24 +01:00
%{_bindir} /afcclient
2024-01-06 04:39:12 +01:00
%{_bindir} /idevice*
%{_mandir} /man1/idevice*.1*
2025-01-04 22:08:24 +01:00
%{_mandir} /man1/afcclient.1*
2024-01-06 04:39:12 +01:00
%doc COPYING
2024-01-06 04:39:11 +01:00
%files devel
%defattr (-,root,root)
%dir %{_includedir} /libimobiledevice
%{_includedir} /libimobiledevice/*.h
2024-01-06 04:39:12 +01:00
%{_libdir} /libimobiledevice-1.0.a
%{_libdir} /libimobiledevice-1.0.so
2024-01-06 04:39:11 +01:00
%{_libdir} /pkgconfig/*.pc
2024-01-06 04:39:12 +01:00
%doc NEWS
2024-01-06 04:39:11 +01:00
%changelog
2025-01-04 22:08:24 +01:00
* 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
2024-01-06 04:39:12 +01:00
* Thu Jul 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- update to 1.3.0
2024-01-06 04:39:11 +01:00
* Fri Mar 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
- rebuilt with libusbmuxd 2.0.1
2024-01-06 04:39:11 +01:00
* Sun Aug 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- rebuilt with openssl 1.1.1c
2024-01-06 04:39:11 +01:00
* Mon Jan 25 2016 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Sun Nov 23 2014 Automatic Build System <autodist@mambasoft.it> 1.1.7-1mamba
- automatic version update by autodist
2024-01-06 04:39:11 +01:00
* Fri Sep 05 2014 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
- automatic version update by autodist
* Fri Sep 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.5-2mamba
- rebuilt by autoport with build requirements: libplist-devel>=1.11-1mamba
2024-01-06 04:39:11 +01:00
* Sat May 11 2013 Automatic Build System <autodist@mambasoft.it> 1.1.5-1mamba
- automatic version update by autodist
* Mon May 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.4-1mamba
- update to 1.1.4
* Sun Jan 29 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.1.1-2mamba
- added python package
* Tue Aug 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- update to 1.1.1
* Thu Feb 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
- update to 1.0.4
* Mon Sep 20 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- package created by autospec