forked from pool/libimobiledevice
- Switch python bindings to base on python3
OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=14
This commit is contained in:
parent
cb353c2189
commit
298351c41a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:098c8ecb57f1fc65df71adaa950b4339fb9c73d13c1717c4194ff6bca0310099
|
|
||||||
size 179424
|
|
3
libimobiledevice-1.2.0+git20200220.3d8d13f.tar.xz
Normal file
3
libimobiledevice-1.2.0+git20200220.3d8d13f.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:464bb32ad83af9041c3c4c2aba18fdf764e886c8f972f897441a9bb77c6d8db9
|
||||||
|
size 185220
|
@ -24,6 +24,7 @@ Tue Jun 12 01:28:19 UTC 2018 - i@marguerite.su
|
|||||||
* userpref: [GnuTLS] Fix 3.6.0 SHA1 compatibility
|
* userpref: [GnuTLS] Fix 3.6.0 SHA1 compatibility
|
||||||
* userpref: [GnuTLS] Use valid serial for >= 3.6.0
|
* userpref: [GnuTLS] Use valid serial for >= 3.6.0
|
||||||
* build: Fix autogen.sh with srcdir != builddir
|
* build: Fix autogen.sh with srcdir != builddir
|
||||||
|
- Switch python bindings to base on python3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 2 10:12:12 UTC 2017 - i@marguerite.su
|
Thu Feb 2 10:12:12 UTC 2017 - i@marguerite.su
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libimobiledevice
|
# spec file for package libimobiledevice
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,34 +12,28 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 6
|
%define soname 6
|
||||||
Name: libimobiledevice
|
Name: libimobiledevice
|
||||||
Version: 1.2.0+git20180427.26373b3
|
Version: 1.2.0+git20200220.3d8d13f
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Native protocols library for iOS devices
|
Summary: Native protocols library for iOS devices
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
URL: https://www.libimobiledevice.org
|
||||||
Url: http://www.libimobiledevice.org
|
Source: %{name}-%{version}.tar.xz
|
||||||
#Source: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
|
||||||
Source: %{name}-%{version}.tar.xz
|
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libopenssl-devel
|
|
||||||
BuildRequires: libplist++-devel >= 1.11
|
|
||||||
BuildRequires: libplist-devel >= 1.11
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libusbmuxd-devel >= 1.0.9
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkg-config
|
BuildRequires: python3-plist
|
||||||
BuildRequires: python-cython
|
|
||||||
BuildRequires: python-devel
|
|
||||||
BuildRequires: python-plist
|
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: pkgconfig(libplist) >= 1.11
|
||||||
|
BuildRequires: pkgconfig(libssl)
|
||||||
|
BuildRequires: pkgconfig(libusbmuxd) >= 1.1.0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libimobiledevice is a software library that talks the protocols to support
|
libimobiledevice is a software library that talks the protocols to support
|
||||||
@ -47,8 +41,7 @@ iOS devices. It does not depend on any existing libraries from Apple.
|
|||||||
|
|
||||||
%package -n %{name}%{soname}
|
%package -n %{name}%{soname}
|
||||||
Summary: Native protocols library for iOS devices
|
Summary: Native protocols library for iOS devices
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
|
||||||
Requires: libusbmuxd4 >= 1.0.9
|
Requires: libusbmuxd4 >= 1.0.9
|
||||||
Provides: %{name} = %{version}
|
Provides: %{name} = %{version}
|
||||||
Obsoletes: %{name} < %{version}
|
Obsoletes: %{name} < %{version}
|
||||||
@ -61,10 +54,9 @@ iOS devices. It does not depend on any existing libraries from Apple.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: %{name}%{soname} = %{version}
|
Requires: %{name}%{soname} = %{version}
|
||||||
Requires: libplist-devel
|
Requires: pkgconfig(libplist)
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
@ -72,8 +64,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%package -n imobiledevice-tools
|
%package -n imobiledevice-tools
|
||||||
Summary: Tools using %{name} for iOS devices
|
Summary: Tools using %{name} for iOS devices
|
||||||
License: GPL-2.0+ and LGPL-2.1+
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
Group: Productivity/Multimedia/Other
|
|
||||||
Requires: %{name}%{soname} = %{version}
|
Requires: %{name}%{soname} = %{version}
|
||||||
Provides: %{name}-tools = %{version}
|
Provides: %{name}-tools = %{version}
|
||||||
Obsoletes: %{name}-tools < %{version}
|
Obsoletes: %{name}-tools < %{version}
|
||||||
@ -82,51 +73,46 @@ Obsoletes: %{name}-tools < %{version}
|
|||||||
libimobiledevice is a software library that talks the protocols to support
|
libimobiledevice is a software library that talks the protocols to support
|
||||||
iOS devices. It does not depend on any existing libraries from Apple.
|
iOS devices. It does not depend on any existing libraries from Apple.
|
||||||
|
|
||||||
%package -n python-imobiledevice
|
%package -n python3-imobiledevice
|
||||||
Summary: Python bindings for %{name}
|
Summary: Python bindings for %{name}
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: %{name}%{soname} = %{version}
|
Requires: %{name}%{soname} = %{version}
|
||||||
Requires: python-plist >= 1.11
|
Requires: python3-plist >= 1.11
|
||||||
|
|
||||||
%description -n python-imobiledevice
|
%description -n python3-imobiledevice
|
||||||
Contains Python bindings for developing applications that use %{name}.
|
Contains Python bindings for developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
autoreconf -fi
|
|
||||||
sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in
|
sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in
|
||||||
sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in
|
sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-silent-rules \
|
autoreconf -fvi
|
||||||
--disable-static --disable-dev-tools
|
%configure \
|
||||||
make %{?_smp_mflags}
|
--disable-silent-rules \
|
||||||
|
--disable-static \
|
||||||
|
--disable-dev-tools
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
rm -rf %{buildroot}/%{_libdir}/%{name}.*a*
|
|
||||||
|
|
||||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
%post -n %{name}%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{name}%{soname}
|
%files -n %{name}%{soname}
|
||||||
%defattr(-,root,root)
|
%license COPYING.LESSER
|
||||||
%doc COPYING.LESSER
|
%{_libdir}/%{name}.so.%{soname}*
|
||||||
%{_libdir}/%{name}.so.%{soname}
|
|
||||||
%{_libdir}/%{name}.so.%{soname}.0.0
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/%{name}/
|
%{_includedir}/%{name}/
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
||||||
|
|
||||||
%files -n imobiledevice-tools
|
%files -n imobiledevice-tools
|
||||||
%defattr(-,root,root)
|
%doc AUTHORS NEWS README.md
|
||||||
%doc AUTHORS COPYING COPYING.LESSER NEWS README
|
|
||||||
%{_bindir}/idevice_id
|
%{_bindir}/idevice_id
|
||||||
%{_bindir}/idevicecrashreport
|
%{_bindir}/idevicecrashreport
|
||||||
%{_bindir}/idevicepair
|
%{_bindir}/idevicepair
|
||||||
@ -144,26 +130,25 @@ rm -rf %{buildroot}/%{_libdir}/%{name}.*a*
|
|||||||
%{_bindir}/idevicedate
|
%{_bindir}/idevicedate
|
||||||
%{_bindir}/ideviceprovision
|
%{_bindir}/ideviceprovision
|
||||||
%{_bindir}/idevicenotificationproxy
|
%{_bindir}/idevicenotificationproxy
|
||||||
%doc %{_mandir}/man1/idevice_id.1%{?ext_man}
|
%{_mandir}/man1/idevice_id.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicecrashreport.1%{?ext_man}
|
%{_mandir}/man1/idevicecrashreport.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicepair.1%{?ext_man}
|
%{_mandir}/man1/idevicepair.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/ideviceinfo.1%{?ext_man}
|
%{_mandir}/man1/ideviceinfo.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicesyslog.1%{?ext_man}
|
%{_mandir}/man1/idevicesyslog.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicebackup.1%{?ext_man}
|
%{_mandir}/man1/idevicebackup.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicebackup2.1%{?ext_man}
|
%{_mandir}/man1/idevicebackup2.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicedebug.1%{?ext_man}
|
%{_mandir}/man1/idevicedebug.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicedebugserverproxy.1%{?ext_man}
|
%{_mandir}/man1/idevicedebugserverproxy.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicediagnostics.1%{?ext_man}
|
%{_mandir}/man1/idevicediagnostics.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/ideviceimagemounter.1%{?ext_man}
|
%{_mandir}/man1/ideviceimagemounter.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicename.1%{?ext_man}
|
%{_mandir}/man1/idevicename.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicescreenshot.1%{?ext_man}
|
%{_mandir}/man1/idevicescreenshot.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/ideviceenterrecovery.1%{?ext_man}
|
%{_mandir}/man1/ideviceenterrecovery.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicedate.1%{?ext_man}
|
%{_mandir}/man1/idevicedate.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/ideviceprovision.1%{?ext_man}
|
%{_mandir}/man1/ideviceprovision.1%{?ext_man}
|
||||||
%doc %{_mandir}/man1/idevicenotificationproxy.1%{?ext_man}
|
%{_mandir}/man1/idevicenotificationproxy.1%{?ext_man}
|
||||||
|
|
||||||
%files -n python-imobiledevice
|
%files -n python3-imobiledevice
|
||||||
%defattr(-,root,root)
|
%{python3_sitearch}/imobiledevice.so
|
||||||
%{python_sitearch}/imobiledevice.so
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user