|
@@ -1,46 +1,35 @@
|
|
%bcond_with python
|
|
%bcond_with python
|
|
|
|
|
|
-Name: libimobiledevice
|
|
+Summary: Library for connecting to mobile devices
|
|
-Version: 1.2.0
|
|
+Summary(ja): モバイルデバイスに接続するためのライブラリ
|
|
-Release: 2%{?_dist_release}
|
|
+Name: libimobiledevice
|
|
-Summary: Library for connecting to mobile devices
|
|
+Version: 1.3.0
|
|
-Summary(ja): モバイルデバイスに接続するためのライブラリ
|
|
+Release: 1%{?_dist_release}
|
|
-
|
|
+Vendor: Project Vine
|
|
-Group: System Environment/Libraries
|
|
+Distribution: Vine Linux
|
|
-License: LGPLv2+
|
|
+Packager: daisuke
|
|
-URL: http://www.libimobiledevice.org/
|
|
+
|
|
-
|
|
+License: LGPLv2+
|
|
-Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
|
+URL: https://libimobiledevice.org/
|
|
-# for gnutls-3.4
|
|
+Source0: https://github.com/libimobiledevice/libimobiledevice/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
|
-Patch0: issue225.patch
|
|
+
|
|
-
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
-
|
|
+BuildRequires: automake
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
+BuildRequires: autoconf
|
|
-BuildRequires: automake
|
|
+BuildRequires: libxml2-devel
|
|
-BuildRequires: autoconf
|
|
+BuildRequires: libusb1-devel
|
|
-BuildRequires: libxml2-devel
|
|
+BuildRequires: libtasn1-devel
|
|
-BuildRequires: libusb1-devel
|
|
+BuildRequires: libplist-devel >= 1.11
|
|
-BuildRequires: libtasn1-devel
|
|
+BuildRequires: glib2-devel
|
|
-BuildRequires: libplist-devel >= 1.11
|
|
+BuildRequires: gnutls-devel
|
|
-BuildRequires: libplist-python
|
|
+BuildRequires: swig
|
|
-BuildRequires: glib2-devel
|
|
+BuildRequires: libusbmuxd-devel >= 1.0.9
|
|
-BuildRequires: gnutls-devel
|
|
+BuildRequires: libgcrypt-devel
|
|
-BuildRequires: python-devel
|
|
|
|
-%if %{with python}
|
|
|
|
-BuildRequires: Cython
|
|
|
|
-%endif
|
|
|
|
-BuildRequires: swig
|
|
|
|
-BuildRequires: libusbmuxd-devel >= 1.0.9
|
|
|
|
-BuildRequires: libgcrypt-devel
|
|
|
|
#BuildRequires: readline-devel
|
|
#BuildRequires: readline-devel
|
|
|
|
|
|
Provides: libiphone = %{version}
|
|
Provides: libiphone = %{version}
|
|
Obsoletes: libiphone < 0.9.7
|
|
Obsoletes: libiphone < 0.9.7
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-Packager: daisuke
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
libimobiledevice is a library for connecting to mobile devices including phones
|
|
libimobiledevice is a library for connecting to mobile devices including phones
|
|
and music players
|
|
and music players
|
|
@@ -56,25 +45,34 @@ Obsoletes: libiphone-devel < 0.9.7
|
|
%description devel
|
|
%description devel
|
|
Files for development with libimobiledevice.
|
|
Files for development with libimobiledevice.
|
|
|
|
|
|
-%package python
|
|
+
|
|
|
|
+%if %{with python}
|
|
|
|
+%package -n python3-imobiledevice
|
|
Summary: Python bindings for libimobiledevice
|
|
Summary: Python bindings for libimobiledevice
|
|
Summary(ja): libimobiledevice の Python バインディング
|
|
Summary(ja): libimobiledevice の Python バインディング
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
|
|
+BuildRequires: python3-devel
|
|
|
|
+BuildRequires: python3-rpm-macros
|
|
|
|
+BuildRequires: python3-setuptools
|
|
|
|
+BuildRequires: python3-libplist
|
|
|
|
+BuildRequires: python3-Cython
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Provides: libiphone-python = %{version}
|
|
Provides: libiphone-python = %{version}
|
|
Obsoletes: libiphone-python < 0.9.7
|
|
Obsoletes: libiphone-python < 0.9.7
|
|
|
|
|
|
-%description python
|
|
+%description -n python3-imobiledevice
|
|
Python bindings for libimobiledevice.
|
|
Python bindings for libimobiledevice.
|
|
|
|
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
-%patch0 -p1
|
|
|
|
-
|
|
|
|
# Fix dir permissions on html docs
|
|
# Fix dir permissions on html docs
|
|
chmod +x docs/html
|
|
chmod +x docs/html
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
aclocal
|
|
aclocal
|
|
automake --add-missing --copy
|
|
automake --add-missing --copy
|
|
@@ -94,6 +92,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
@@ -101,34 +100,42 @@ make install DESTDIR=%{buildroot}
|
|
#Remove libtool archives.
|
|
#Remove libtool archives.
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
+
|
|
%post -p /sbin/ldconfig
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc AUTHORS COPYING.LESSER README
|
|
+%license COPYING.LESSER
|
|
|
|
+%doc AUTHORS README*
|
|
%doc %{_datadir}/man/man1/idevice*
|
|
%doc %{_datadir}/man/man1/idevice*
|
|
%{_bindir}/idevice*
|
|
%{_bindir}/idevice*
|
|
-%{_libdir}/libimobiledevice.so.*
|
|
+%{_libdir}/libimobiledevice*.so.*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc docs/html/
|
|
%doc docs/html/
|
|
%{_libdir}/pkgconfig/libimobiledevice-1.0.pc
|
|
%{_libdir}/pkgconfig/libimobiledevice-1.0.pc
|
|
-%{_libdir}/libimobiledevice.so
|
|
+%{_libdir}/libimobiledevice*.so
|
|
%{_includedir}/libimobiledevice/
|
|
%{_includedir}/libimobiledevice/
|
|
|
|
|
|
%if %{with python}
|
|
%if %{with python}
|
|
-%files python
|
|
+%files -n python3-imobiledevice
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{python_sitearch}/imobiledevice.so
|
|
+%{python3_sitearch}/imobiledevice.so
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2
|
|
* Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2
|
|
- built with gnutls-3.4.x.
|
|
- built with gnutls-3.4.x.
|
|
|
|
|