2010-04-22 13:02:35 +02:00
|
|
|
#
|
2011-05-20 14:48:10 +02:00
|
|
|
# spec file for package libimobiledevice
|
2010-04-22 13:02:35 +02:00
|
|
|
#
|
2023-06-08 15:23:22 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2010-04-22 13:02:35 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-03-12 12:01:55 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-04-22 13:02:35 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-09-24 09:14:20 +02:00
|
|
|
%define libname libimobiledevice-1_0-6
|
2014-07-17 06:57:54 +02:00
|
|
|
Name: libimobiledevice
|
2023-08-14 10:39:10 +02:00
|
|
|
Version: 1.3.0+190git.20230705
|
2012-04-18 16:28:28 +02:00
|
|
|
Release: 0
|
2014-10-17 04:49:38 +02:00
|
|
|
Summary: Native protocols library for iOS devices
|
2020-03-12 12:01:55 +01:00
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
URL: https://www.libimobiledevice.org
|
2020-04-05 10:26:14 +02:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
2014-07-17 06:57:54 +02:00
|
|
|
Source1: baselibs.conf
|
2020-09-24 09:17:03 +02:00
|
|
|
BuildRequires: doxygen
|
2014-07-17 06:57:54 +02:00
|
|
|
BuildRequires: fdupes
|
2012-04-18 16:28:28 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
2020-03-12 12:01:55 +01:00
|
|
|
BuildRequires: pkgconfig
|
2022-01-25 09:20:38 +01:00
|
|
|
BuildRequires: python-rpm-macros
|
2023-08-14 10:39:10 +02:00
|
|
|
BuildRequires: (python3-Cython >= 0.17 with python3-Cython < 3)
|
2020-03-12 12:01:55 +01:00
|
|
|
BuildRequires: python3-plist
|
2012-04-18 16:28:28 +02:00
|
|
|
BuildRequires: readline-devel
|
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
|
2020-03-12 12:01:55 +01:00
|
|
|
BuildRequires: pkgconfig(libssl)
|
2020-09-24 09:14:20 +02:00
|
|
|
BuildRequires: pkgconfig(libusbmuxd-2.0) >= 2.0.2
|
2020-09-24 09:17:03 +02:00
|
|
|
BuildRequires: pkgconfig(python3)
|
2010-04-22 13:02:35 +02:00
|
|
|
|
|
|
|
%description
|
2014-07-17 06:57:54 +02:00
|
|
|
libimobiledevice is a software library that talks the protocols to support
|
2017-02-02 06:04:13 +01:00
|
|
|
iOS devices. It does not depend on any existing libraries from Apple.
|
2010-04-22 13:02:35 +02:00
|
|
|
|
2020-09-24 09:14:20 +02:00
|
|
|
%package -n %{libname}
|
2014-10-17 04:49:38 +02:00
|
|
|
Summary: Native protocols library for iOS devices
|
2020-03-12 12:01:55 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2010-04-22 13:02:35 +02:00
|
|
|
|
2020-09-24 09:14:20 +02:00
|
|
|
%description -n %{libname}
|
2014-07-17 06:57:54 +02:00
|
|
|
libimobiledevice is a software library that talks the protocols to support
|
2017-02-02 06:04:13 +01:00
|
|
|
iOS devices. It does not depend on any existing libraries from Apple.
|
2010-04-22 13:02:35 +02:00
|
|
|
|
|
|
|
%package devel
|
2015-03-01 14:50:37 +01:00
|
|
|
Summary: Development files for %{name}
|
2020-03-12 12:01:55 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2020-09-24 09:14:20 +02:00
|
|
|
Requires: %{libname} = %{version}
|
|
|
|
Requires: pkgconfig(libplist-2.0)
|
2010-04-22 13:02:35 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
2015-03-01 14:50:37 +01:00
|
|
|
developing applications that use %{name}.
|
2010-04-22 13:02:35 +02:00
|
|
|
|
2014-07-17 06:57:54 +02:00
|
|
|
%package -n imobiledevice-tools
|
2015-03-01 14:50:37 +01:00
|
|
|
Summary: Tools using %{name} for iOS devices
|
2020-03-12 12:01:55 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2020-09-24 09:14:20 +02:00
|
|
|
Requires: %{libname} = %{version}
|
2014-07-17 06:57:54 +02:00
|
|
|
Provides: %{name}-tools = %{version}
|
|
|
|
Obsoletes: %{name}-tools < %{version}
|
2010-04-22 13:02:35 +02:00
|
|
|
|
2014-07-17 06:57:54 +02:00
|
|
|
%description -n imobiledevice-tools
|
|
|
|
libimobiledevice is a software library that talks the protocols to support
|
2017-02-02 06:04:13 +01:00
|
|
|
iOS devices. It does not depend on any existing libraries from Apple.
|
2010-04-22 13:02:35 +02:00
|
|
|
|
2020-03-12 12:01:55 +01:00
|
|
|
%package -n python3-imobiledevice
|
2015-03-01 14:50:37 +01:00
|
|
|
Summary: Python bindings for %{name}
|
2020-03-12 12:01:55 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2020-09-24 09:14:20 +02:00
|
|
|
Requires: %{libname} = %{version}
|
2020-03-12 12:01:55 +01:00
|
|
|
Requires: python3-plist >= 1.11
|
2010-04-22 13:02:35 +02:00
|
|
|
|
2020-03-12 12:01:55 +01:00
|
|
|
%description -n python3-imobiledevice
|
2015-03-01 14:50:37 +01:00
|
|
|
Contains Python bindings for developing applications that use %{name}.
|
2010-04-22 13:02:35 +02:00
|
|
|
|
|
|
|
%prep
|
2014-07-17 06:57:54 +02:00
|
|
|
%setup -q
|
2015-03-01 14:50:37 +01:00
|
|
|
sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in
|
|
|
|
sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in
|
2014-07-17 06:57:54 +02:00
|
|
|
|
|
|
|
%build
|
2020-03-12 12:01:55 +01:00
|
|
|
autoreconf -fvi
|
|
|
|
%configure \
|
|
|
|
--disable-silent-rules \
|
2020-09-24 09:14:20 +02:00
|
|
|
--disable-static \
|
2023-06-08 15:23:22 +02:00
|
|
|
PYTHON=%{_bindir}/python3 PACKAGE_VERSION=%{version}
|
2020-03-12 12:01:55 +01:00
|
|
|
%make_build
|
2010-04-22 13:02:35 +02:00
|
|
|
|
|
|
|
%install
|
2020-03-12 12:01:55 +01:00
|
|
|
%make_install
|
2014-07-17 06:57:54 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-04-22 13:02:35 +02:00
|
|
|
|
2020-09-24 09:14:20 +02:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
2010-04-22 13:02:35 +02:00
|
|
|
|
2020-09-24 09:14:20 +02:00
|
|
|
%files -n %{libname}
|
2020-03-12 12:01:55 +01:00
|
|
|
%license COPYING.LESSER
|
2020-09-24 09:14:20 +02:00
|
|
|
%{_libdir}/%{name}-1.0.so.6*
|
2010-04-22 13:02:35 +02:00
|
|
|
|
|
|
|
%files devel
|
2013-07-22 13:00:56 +02:00
|
|
|
%{_includedir}/%{name}/
|
2020-09-24 09:14:20 +02:00
|
|
|
%{_libdir}/%{name}-1.0.so
|
2010-04-22 13:02:35 +02:00
|
|
|
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
|
|
|
|
2014-07-17 06:57:54 +02:00
|
|
|
%files -n imobiledevice-tools
|
2020-03-12 12:01:55 +01:00
|
|
|
%doc AUTHORS NEWS README.md
|
2010-04-22 13:02:35 +02:00
|
|
|
%{_bindir}/idevice_id
|
2023-06-08 15:23:22 +02:00
|
|
|
%{_bindir}/idevicebtlogger
|
2014-07-17 06:57:54 +02:00
|
|
|
%{_bindir}/idevicecrashreport
|
2023-06-08 15:23:22 +02:00
|
|
|
%{_bindir}/idevicedevmodectl
|
2010-06-22 10:15:38 +02:00
|
|
|
%{_bindir}/idevicepair
|
2010-04-22 13:02:35 +02:00
|
|
|
%{_bindir}/ideviceinfo
|
|
|
|
%{_bindir}/idevicesyslog
|
|
|
|
%{_bindir}/idevicebackup
|
2011-05-20 14:48:10 +02:00
|
|
|
%{_bindir}/idevicebackup2
|
2014-10-17 04:49:38 +02:00
|
|
|
%{_bindir}/idevicedebug
|
2013-07-11 13:29:44 +02:00
|
|
|
%{_bindir}/idevicedebugserverproxy
|
|
|
|
%{_bindir}/idevicediagnostics
|
2010-04-22 13:02:35 +02:00
|
|
|
%{_bindir}/ideviceimagemounter
|
2014-07-17 06:57:54 +02:00
|
|
|
%{_bindir}/idevicename
|
2010-04-22 13:02:35 +02:00
|
|
|
%{_bindir}/idevicescreenshot
|
2011-05-20 14:48:10 +02:00
|
|
|
%{_bindir}/ideviceenterrecovery
|
|
|
|
%{_bindir}/idevicedate
|
2020-04-05 10:26:14 +02:00
|
|
|
%{_bindir}/idevicesetlocation
|
2013-07-11 13:29:44 +02:00
|
|
|
%{_bindir}/ideviceprovision
|
2015-03-01 14:50:37 +01:00
|
|
|
%{_bindir}/idevicenotificationproxy
|
2020-03-12 12:01:55 +01:00
|
|
|
%{_mandir}/man1/idevice_id.1%{?ext_man}
|
2023-06-08 15:23:22 +02:00
|
|
|
%{_mandir}/man1/idevicebtlogger.1%{?ext_man}
|
2020-03-12 12:01:55 +01:00
|
|
|
%{_mandir}/man1/idevicecrashreport.1%{?ext_man}
|
2023-06-08 15:23:22 +02:00
|
|
|
%{_mandir}/man1/idevicedevmodectl.1%{?ext_man}
|
2020-03-12 12:01:55 +01:00
|
|
|
%{_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}
|
2020-04-05 10:26:14 +02:00
|
|
|
%{_mandir}/man1/idevicesetlocation.1%{?ext_man}
|
2020-03-12 12:01:55 +01:00
|
|
|
%{_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
|
2010-04-22 13:02:35 +02:00
|
|
|
|
|
|
|
%changelog
|