Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > f9e10992184eacc9d9a660c423146871 > files > 4

libimobiledevice-1.1.4-4.mga3.src.rpm

%define oname		imobiledevice
%define major		3
%define libname		%mklibname %{oname} %{major}
%define libnamedev	%mklibname -d %{oname}

Name:           libimobiledevice
Version:        1.1.4
Release:        %mkrel 4
Summary:        Library for connecting to Apple devices
Group:          System/Libraries
License:        LGPLv2+
URL:            http://libimobiledevice.org/
Source0:        http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
# (blino) from git, fix crash in upowerd when run from systemd
Patch0:		libimobiledevice-1.1.4-crash-HOME-empty.patch
Patch1:		libimobiledevice-cython.patch
BuildRequires:	pkgconfig(libplist) >= 1.8
BuildRequires:	pkgconfig(libplist++) >= 1.8
BuildRequires:	pkgconfig(libusbmuxd) >= 1.0.8
BuildRequires:	pkgconfig(openssl) >= 0.9.8
BuildRequires:	swig
BuildRequires:	python-devel
BuildRequires:	python-cython

%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 %{libname}
Group:		System/Libraries
Summary:	Library for connecting to Apple devices
Requires:	%{name} >= %{version}-%{release}

%description -n %{libname}
libimobiledevice is a software library that talks the protocols to support
iPhone®, iPod Touch®, iPad® and Apple TV® devices.

%package -n %{libnamedev}
Summary:	Development package for %{name}
Group:		Development/C
Provides:	%{name}-devel = %{version}-%{release}
Requires:	%{libname} = %{version}-%{release}

%description -n %{libnamedev}
Files for development with %{name}.

%package -n python-imobiledevice
Summary:	Python bindings for %{name}
Group:		Development/Python

%description -n python-imobiledevice
Python bindings for %{name}.

%prep
%setup -q
%apply_patches

%build
%configure2_5x --disable-static
cat config.log
%make

%install
%makeinstall_std

#we don't want these
find %{buildroot} -name "*.la" -delete

%files
%doc AUTHORS COPYING.LESSER README
%{_bindir}/idevice_id
%{_bindir}/ideviceinfo
%{_bindir}/idevicepair
%{_bindir}/idevicesyslog
%{_bindir}/idevicebackup
%{_bindir}/ideviceimagemounter
%{_bindir}/ideviceenterrecovery
%{_bindir}/idevicescreenshot
%{_bindir}/idevicebackup2
%{_bindir}/idevicedate
%{_mandir}/man1/idevice*.1.*

%files -n %{libname}
%{_libdir}/%{name}.so.%{major}*

%files -n %{libnamedev}
%{_libdir}/pkgconfig/%{name}-1.0.pc
%{_libdir}/%{name}.so
%{_includedir}/%{name}/

%files -n python-imobiledevice
%{python_sitearch}/%{oname}.so


%changelog

* Fri Feb 08 2013 fwang <fwang> 1.1.4-4.mga3
+ Revision: 395531
- add patch from pld linux to fix build

* Sat Jan 12 2013 umeabot <umeabot> 1.1.4-3.mga3
+ Revision: 357529
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Oct 09 2012 blino <blino> 1.1.4-2.mga3
+ Revision: 303682
- fix crash in upowerd when run from systemd (from upstream git, Bastien Nocera)

* Tue Aug 07 2012 wally <wally> 1.1.4-1.mga3
+ Revision: 279823
- update descriptions/summaries
- br python-cython
- clean .spec a bit

  + fwang <fwang>
    - update br
    - bump br
    - new version 1.1.4

* Tue Aug 02 2011 fwang <fwang> 1.1.1-3.mga2
+ Revision: 131383
- remove correct files
- do not ship libtool archives
- rebuild for new gnutls

* Sat Jun 11 2011 dmorgan <dmorgan> 1.1.1-1.mga2
+ Revision: 103377
- New version 1.1.1

* Fri Apr 08 2011 ahmad <ahmad> 1.0.6-1.mga1
+ Revision: 82027
- update to 1.0.6

* Fri Mar 25 2011 ahmad <ahmad> 1.1.0-1.mga1
+ Revision: 77412
- update to 1.1.0 and submit it to core/testing

* Tue Jan 18 2011 pterjan <pterjan> 1.0.4-3.mga1
+ Revision: 21818
- Rebuild for python 2.7

* Sat Jan 15 2011 blino <blino> 1.0.4-2.mga1
+ Revision: 18994
- remove old ldconfig scriptlets
- imported package libimobiledevice