1.1.4-3
- disable broken python/cython bindings (for now, currently FTBFS) - track soname - tighten subpkg deps
This commit is contained in:
parent
d1545760ce
commit
46f8c10c58
@ -1,8 +1,12 @@
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
|
||||
# enable -python subpkg
|
||||
# currently broken
|
||||
#define python 1
|
||||
|
||||
Name: libimobiledevice
|
||||
Version: 1.1.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Library for connecting to mobile devices
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -16,10 +20,14 @@ BuildRequires: libtasn1-devel
|
||||
BuildRequires: libplist-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gnutls-devel
|
||||
BuildRequires: usbmuxd-devel
|
||||
%if 0%{?python}
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: Cython
|
||||
BuildRequires: swig
|
||||
BuildRequires: usbmuxd-devel
|
||||
%else
|
||||
Obsoletes: libimobiledevice-python < %{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description
|
||||
libimobiledevice is a library for connecting to mobile devices including phones
|
||||
@ -28,8 +36,7 @@ and music players
|
||||
%package devel
|
||||
Summary: Development package for libimobiledevice
|
||||
Group: Development/Libraries
|
||||
Requires: libimobiledevice = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Files for development with libimobiledevice.
|
||||
@ -37,8 +44,7 @@ Files for development with libimobiledevice.
|
||||
%package python
|
||||
Summary: Python bindings for libimobiledevice
|
||||
Group: Development/Libraries
|
||||
Requires: libimobiledevice = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description python
|
||||
Python bindings for libimobiledevice.
|
||||
@ -50,7 +56,7 @@ Python bindings for libimobiledevice.
|
||||
chmod +x docs/html
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-openssl --enable-dev-tools
|
||||
%configure --disable-static --disable-openssl --enable-dev-tools %{?!python:--without-cython}
|
||||
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
@ -72,7 +78,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%doc AUTHORS COPYING.LESSER README
|
||||
%doc %{_datadir}/man/man1/idevice*
|
||||
%{_bindir}/idevice*
|
||||
%{_libdir}/libimobiledevice.so.*
|
||||
%{_libdir}/libimobiledevice.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -81,11 +87,18 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%{_libdir}/libimobiledevice.so
|
||||
%{_includedir}/libimobiledevice/
|
||||
|
||||
%if 0%{?python}
|
||||
%files python
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/imobiledevice*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Aug 10 2012 Rex Dieter <rdieter@fedoraproject.org> - 1.1.4-3
|
||||
- disable broken python/cython bindings (for now, currently FTBFS)
|
||||
- track soname
|
||||
- tighten subpkg deps
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user