708b34
Name:          libimobiledevice
708b34
Version:       1.2.0
708b34
Release:       16%{?dist}
708b34
Summary:       Library for connecting to mobile devices
708b34
708b34
Group:         System Environment/Libraries
708b34
License:       LGPLv2+
708b34
URL:           http://www.libimobiledevice.org/
708b34
Source0:       http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
708b34
# Upstream patches, generated with:
708b34
# git format-patch --stdout  344409e1d1ad917d377b256214c5411dda82e6b0...5a85432719fb3d18027d528f87d2a44b76fd3e12
708b34
# b5a70e9aaf538dad0aba0b800b122955e8ac494b was manually removed
708b34
Patch0:        344409e1d1ad917d377b256214c5411dda82e6b0...5a85432719fb3d18027d528f87d2a44b76fd3e12.patch
708b34
# GNUTLS 3.6.0 bug fixes
708b34
Patch1:        0001-userpref-GnuTLS-Fix-3.6.0-SHA1-compatibility.patch
708b34
Patch2:        0002-userpref-GnuTLS-Use-valid-serial-for-3.6.0.patch
708b34
708b34
BuildRequires: glib2-devel
708b34
BuildRequires: gnutls-devel
708b34
BuildRequires: libgcrypt-devel
708b34
BuildRequires: libplist-devel
708b34
BuildRequires: libtasn1-devel
708b34
BuildRequires: libusbmuxd-devel
708b34
BuildRequires: libusbx-devel
708b34
BuildRequires: libxml2-devel
708b34
BuildRequires: readline-devel
708b34
BuildRequires: swig
708b34
BuildRequires: git-core
708b34
BuildRequires: autoconf automake libtool
708b34
708b34
%description
708b34
libimobiledevice is a library for connecting to mobile devices including phones 
708b34
and music players
708b34
708b34
%package devel
708b34
Summary: Development package for libimobiledevice
708b34
Group: Development/Libraries
708b34
Requires: %{name}%{?_isa} = %{version}-%{release}
708b34
708b34
%description devel
708b34
Files for development with libimobiledevice.
708b34
708b34
%package utils
708b34
Summary: Utilites for libimobiledevice
708b34
Group: Applications/System
708b34
Requires: %{name}%{?_isa} = %{version}-%{release}
708b34
708b34
%description utils
708b34
Utilites for use with libimobiledevice.
708b34
708b34
%prep
708b34
%autosetup -S git
708b34
708b34
# Fix dir permissions on html docs
708b34
chmod +x docs/html
708b34
708b34
ACLOCAL="aclocal -I m4" autoreconf -f -i
708b34
708b34
%build
708b34
%configure --disable-static --disable-openssl --enable-dev-tools --without-cython
708b34
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
708b34
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
708b34
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
708b34
708b34
make %{?_smp_mflags} V=1
708b34
708b34
%install
708b34
make install DESTDIR=%{buildroot}
708b34
708b34
#Remove libtool archives.
708b34
find %{buildroot} -type f -name "*.la" -delete
708b34
708b34
%post -p /sbin/ldconfig
708b34
708b34
%postun -p /sbin/ldconfig
708b34
708b34
%files
708b34
%{!?_licensedir:%global license %%doc}
708b34
%license COPYING.LESSER
708b34
%doc AUTHORS README
708b34
%{_libdir}/libimobiledevice.so.6*
708b34
708b34
%files utils
708b34
%doc %{_datadir}/man/man1/idevice*
708b34
%{_bindir}/idevice*
708b34
708b34
%files devel
708b34
%doc docs/html/
708b34
%{_libdir}/pkgconfig/libimobiledevice-1.0.pc
708b34
%{_libdir}/libimobiledevice.so
708b34
%{_includedir}/libimobiledevice/
708b34
708b34
%changelog
708b34
* Thu Jun 07 2018 Bastien Nocera <bnocera@redhat.com> - 1.2.0-16
708b34
+ libimobiledevice-1.2.0-16
708b34
- Remove python2 subpackage, it hasn't been generated since F21
708b34
708b34
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-14
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
708b34
708b34
* Fri Sep 15 2017 Bastien Nocera <bnocera@redhat.com> - 1.2.0-13
708b34
+ libimobiledevice-1.2.0-13
708b34
- GNUTLS 3.6.0 compatibility bug fixes
708b34
708b34
* Fri Sep 15 2017 Bastien Nocera <bnocera@redhat.com> - 1.2.0-12
708b34
+ libimobiledevice-1.2.0-12
708b34
- Replace patches with a single mega-patch
708b34
- Fixes usbmuxd for iOS 11 devices
708b34
708b34
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-11
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
708b34
708b34
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-10
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
708b34
708b34
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-9
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
708b34
708b34
* Wed Nov 09 2016 Bastien Nocera <bnocera@redhat.com> - 1.2.0-8
708b34
+ libimobiledevice-1.2.0-8
708b34
- Fix usage with iOS 10
708b34
- Use upstream commit for GNUTLS3 support
708b34
708b34
* Fri May 27 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-7
708b34
- Fix CVE-2016-5104
708b34
708b34
* Mon Mar 14 2016 Bastien Nocera <bnocera@redhat.com> 1.2.0-6
708b34
- Add fix for potential security issue
708b34
708b34
* Mon Mar 14 2016 Bastien Nocera <bnocera@redhat.com> 1.2.0-5
708b34
- Fix installation proxy usage
708b34
708b34
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
708b34
708b34
* Wed Aug 26 2015 Kalev Lember <klember@redhat.com> - 1.2.0-3
708b34
- Fix the build with gnutls 3.4
708b34
708b34
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
708b34
708b34
* Wed Feb 11 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-1
708b34
- New 1.2.0 release
708b34
- Use %%license
708b34
708b34
* Wed Oct 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.7-1
708b34
- New 1.1.7 release
708b34
708b34
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-3
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
708b34
708b34
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-2
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
708b34
708b34
* Mon May  5 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.6-1
708b34
- New 1.1.6 release
708b34
708b34
* Thu Apr 24 2014 Rex Dieter <rdieter@fedoraproject.org> 1.1.5-5
708b34
- disable broken -python on rawhide
708b34
708b34
* Wed Apr 23 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.5-4
708b34
- Rebuild
708b34
708b34
* Sat Aug  3 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.5-3
708b34
- Add dep on libgcrypt-devel to fix FTBFS
708b34
708b34
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
708b34
708b34
* Tue Mar 19 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.5-1
708b34
- New 1.1.5 release
708b34
708b34
* Thu Feb 21 2013 Bastien Nocera <bnocera@redhat.com> 1.1.4-6
708b34
- Add patch to avoid multi-byte characters from being stripped
708b34
  from the device name
708b34
708b34
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-5
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
708b34
708b34
* Wed Sep 05 2012 Bastien Nocera <bnocera@redhat.com> 1.1.4-4
708b34
- Don't make upowerd crash when run under systemd (#834359)
708b34
708b34
* Fri Aug 10 2012 Rex Dieter <rdieter@fedoraproject.org> - 1.1.4-3
708b34
- disable broken python/cython bindings (for now, currently FTBFS)
708b34
- track soname
708b34
- tighten  subpkg deps
708b34
708b34
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
708b34
708b34
* Tue Apr 10 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.1.4-1
708b34
- New 1.1.4 release
708b34
708b34
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-5
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
708b34
708b34
* Thu Dec 08 2011 Bastien Nocera <bnocera@redhat.com> 1.1.1-4
708b34
- All the version of Fedora are > 13 now
708b34
708b34
* Thu Dec 01 2011 Bastien Nocera <bnocera@redhat.com> 1.1.1-3
708b34
- Add iOS 5 support patches from upstream
708b34
708b34
* Wed Sep 21 2011 Bastien Nocera <bnocera@redhat.com> 1.1.1-2
708b34
- Fix compilation against recent version of gnutls
708b34
708b34
* Fri Apr 29 2011 Peter Robinson <pbrobinson@gmail.com> 1.1.1-1
708b34
- New 1.1.1 release
708b34
708b34
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
708b34
708b34
* Sun Dec 26 2010 Bastien Nocera <bnocera@redhat.com> 1.1.0-1
708b34
- Update to 1.1.0
708b34
708b34
* Sun Nov 28 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.4-1
708b34
- New 1.0.4 release
708b34
708b34
* Mon Oct  4 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.3-1
708b34
- New 1.0.3 release
708b34
708b34
* Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.0.2-3
708b34
- Allow build against swig-2.0.0
708b34
708b34
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.2-2
708b34
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
708b34
708b34
* Sun Jun 20 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.2-1
708b34
- New upstream stable 1.0.2 release
708b34
708b34
* Wed May 12 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.1-1
708b34
- New upstream stable 1.0.1 release
708b34
708b34
* Sun Mar 21 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
708b34
- New upstream stable 1.0.0 release
708b34
708b34
* Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3
708b34
- Add patch to fix DSO linking. Fixes bug 565084
708b34
708b34
* Wed Feb  3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2
708b34
- Package review updates, add developer docs
708b34
708b34
* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-1
708b34
- New package for new library name. Update to 0.9.7
708b34
708b34
* Sun Jan 24 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.6-1
708b34
- Update to 0.9.6 release
708b34
708b34
* Sat Jan  9 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.5-3
708b34
- Updated to the new python sysarch spec file reqs
708b34
708b34
* Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-2
708b34
- Update python bindings
708b34
708b34
* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-1
708b34
- Update to 0.9.5 release for new usbmuxd/libplist 1.0.0 final
708b34
708b34
* Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-3
708b34
- Rebuild for libplist .so bump
708b34
708b34
* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-2
708b34
- Update from libusb to libusb1
708b34
708b34
* Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-1
708b34
- Update to 0.9.4 release for new usbmuxd 1.0.0-rc1
708b34
708b34
* Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.3-1
708b34
- Update to 0.9.3 release
708b34
708b34
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
708b34
708b34
* Wed May 13 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-2
708b34
- Add new build reqs
708b34
708b34
* Tue May 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-1
708b34
- Update to official 0.9.1 release
708b34
708b34
* Fri Apr 03 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-11.20090325git443edc8
708b34
- Update to latest master version
708b34
708b34
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-10.20090103git5cde554
708b34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
708b34
708b34
* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-9.git5cde554
708b34
- Add back gnutls version patch
708b34
708b34
* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-8.git5cde554
708b34
- Upload bzipped source file
708b34
708b34
* Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-7.git5cde554
708b34
- New git snapshot
708b34
708b34
* Mon Dec 8 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e
708b34
- Fix devel dependency 
708b34
708b34
* Mon Dec 8 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e
708b34
- Fix gnutls check for new rawhide version
708b34
708b34
* Mon Dec 8 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e
708b34
- Rebuild for pkgconfig
708b34
708b34
* Tue Dec 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-3.git8c3a01e
708b34
- Fix git file generation
708b34
708b34
* Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-2.git8c3a01e
708b34
- Updates for package review
708b34
708b34
* Sat Nov 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-1
708b34
- Initial package