[909] | 1 | Name: libimobiledevice |
---|
[7582] | 2 | Version: 1.1.5 |
---|
[8119] | 3 | Release: 2%{?_dist_release} |
---|
[909] | 4 | Summary: Library for connecting to mobile devices |
---|
| 5 | Summary(ja): モバイルデバイスに接続するためのライブラリ |
---|
| 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: LGPLv2+ |
---|
[6011] | 9 | URL: http://www.libimobiledevice.org/ |
---|
[909] | 10 | |
---|
| 11 | Source0: http://cloud.github.com/downloads/MattColyer/libiphone/%{name}-%{version}.tar.bz2 |
---|
[6011] | 12 | |
---|
[909] | 13 | Patch0: libimobiledevice-fixdso.patch |
---|
[6011] | 14 | Patch1: libimobiledevice-1.1.4-pkgconfig.patch |
---|
[8119] | 15 | Patch2: libimobiledevice-1.1.5-cython.patch |
---|
[909] | 16 | |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 18 | BuildRequires: libxml2-devel |
---|
| 19 | BuildRequires: libusb1-devel |
---|
| 20 | BuildRequires: libtasn1-devel |
---|
[7582] | 21 | BuildRequires: libplist-devel >= 1.10 |
---|
[909] | 22 | BuildRequires: glib2-devel |
---|
| 23 | BuildRequires: gnutls-devel |
---|
| 24 | BuildRequires: python-devel |
---|
[6011] | 25 | BuildRequires: Cython |
---|
[909] | 26 | BuildRequires: swig |
---|
[6011] | 27 | BuildRequires: usbmuxd-devel >= 1.0.8 |
---|
| 28 | BuildRequires: openssl-devel |
---|
[909] | 29 | |
---|
| 30 | Provides: libiphone = %{version} |
---|
| 31 | Obsoletes: libiphone < 0.9.7 |
---|
| 32 | |
---|
[4616] | 33 | Vendor: Project Vine |
---|
| 34 | Distribution: Vine Linux |
---|
| 35 | |
---|
[909] | 36 | %description |
---|
| 37 | libimobiledevice is a library for connecting to mobile devices including phones |
---|
| 38 | and music players |
---|
| 39 | |
---|
| 40 | %package devel |
---|
| 41 | Summary: Development package for libimobiledevice |
---|
[1060] | 42 | Summary(ja): libimobiledevice の開発用パッケージ |
---|
[909] | 43 | Group: Development/Libraries |
---|
[6011] | 44 | Requires: pkgconfig |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
[7582] | 46 | Requires: libplist-devel >= 1.10 |
---|
[1060] | 47 | Requires: usbmuxd-devel >= 0.1.0 |
---|
[6011] | 48 | Requires: openssl-devel >= 0.9.8 |
---|
[909] | 49 | Provides: libiphone-devel = %{version} |
---|
| 50 | Obsoletes: libiphone-devel < 0.9.7 |
---|
| 51 | |
---|
| 52 | %description devel |
---|
| 53 | Files for development with libimobiledevice. |
---|
| 54 | |
---|
| 55 | %package python |
---|
| 56 | Summary: Python bindings for libimobiledevice |
---|
[1060] | 57 | Summary(ja): libimobiledevice の Python バインディング |
---|
[909] | 58 | Group: Development/Libraries |
---|
[6011] | 59 | Requires: %{name} = %{version}-%{release} |
---|
[909] | 60 | Provides: libiphone-python = %{version} |
---|
| 61 | Obsoletes: libiphone-python < 0.9.7 |
---|
| 62 | |
---|
| 63 | %description python |
---|
| 64 | Python bindings for libimobiledevice. |
---|
| 65 | |
---|
| 66 | %prep |
---|
| 67 | %setup -q |
---|
| 68 | %patch0 -p1 -b .fixdso |
---|
[6011] | 69 | %patch1 -p1 -b .pkgconfig |
---|
[8119] | 70 | %patch2 -p1 -b .pkgconfig |
---|
[909] | 71 | |
---|
| 72 | # Fix dir permissions on html docs |
---|
| 73 | chmod +x docs/html |
---|
| 74 | |
---|
[5701] | 75 | # Allow build against swig 2.0.0. A proper fix would be nicer. |
---|
| 76 | sed -i 's|1.3.21|2.0.0|g' configure |
---|
| 77 | |
---|
[909] | 78 | %build |
---|
| 79 | %configure --disable-static |
---|
| 80 | # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath |
---|
| 81 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 82 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 83 | |
---|
| 84 | make %{?_smp_mflags} V=1 |
---|
| 85 | |
---|
| 86 | %install |
---|
| 87 | rm -rf %{buildroot} |
---|
| 88 | make install DESTDIR=%{buildroot} |
---|
| 89 | |
---|
| 90 | #Remove libtool archives. |
---|
| 91 | find %{buildroot} -name '*.la' -exec rm -f {} ';' |
---|
| 92 | |
---|
| 93 | %clean |
---|
| 94 | rm -rf %{buildroot} |
---|
| 95 | |
---|
| 96 | %post -p /sbin/ldconfig |
---|
| 97 | |
---|
| 98 | %postun -p /sbin/ldconfig |
---|
| 99 | |
---|
| 100 | %files |
---|
| 101 | %defattr(-,root,root,-) |
---|
| 102 | %doc AUTHORS COPYING.LESSER README |
---|
| 103 | %doc %{_datadir}/man/man1/idevice* |
---|
| 104 | %{_bindir}/idevice* |
---|
[1246] | 105 | %{_libdir}/libimobiledevice.so.* |
---|
[909] | 106 | |
---|
| 107 | %files devel |
---|
| 108 | %defattr(-,root,root,-) |
---|
| 109 | %doc docs/html/ |
---|
| 110 | %{_libdir}/pkgconfig/libimobiledevice-1.0.pc |
---|
| 111 | %{_libdir}/libimobiledevice.so |
---|
| 112 | %{_includedir}/libimobiledevice/ |
---|
| 113 | |
---|
| 114 | %files python |
---|
| 115 | %defattr(-,root,root,-) |
---|
[6011] | 116 | %{python_sitearch}/imobiledevice.so |
---|
[909] | 117 | |
---|
| 118 | %changelog |
---|
[8119] | 119 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-2 |
---|
| 120 | - rebuild with VineSeed environment |
---|
| 121 | - add Patch2 (libimobiledevice-1.1.5-cython.patch) |
---|
| 122 | |
---|
[7582] | 123 | * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[6011] | 126 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.4-1 |
---|
| 127 | - new upstream release |
---|
| 128 | - add BuildRequires: openssl-devel, Cython |
---|
| 129 | - add Patch1 (libimobiledevice-1.1.4-pkgconfig.patch) |
---|
| 130 | |
---|
[5701] | 131 | * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-2 |
---|
| 132 | - rebuild with python-2.7.2 |
---|
| 133 | |
---|
[4616] | 134 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
[3471] | 137 | * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
[2446] | 140 | * Tue Dec 28 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
[1954] | 143 | * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.2-2 |
---|
| 144 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 145 | |
---|
[1246] | 146 | * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1 |
---|
| 147 | - new upstream release |
---|
| 148 | |
---|
[1060] | 149 | * Sat May 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-2 |
---|
| 150 | - updated devel package Requires |
---|
| 151 | |
---|
[909] | 152 | * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1 |
---|
| 153 | - initial build for Vine Linux |
---|
| 154 | |
---|
| 155 | * Sun Mar 21 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1 |
---|
| 156 | - New upstream stable 1.0.0 release |
---|
| 157 | |
---|
| 158 | * Mon Feb 15 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-3 |
---|
| 159 | - Add patch to fix DSO linking. Fixes bug 565084 |
---|
| 160 | |
---|
| 161 | * Wed Feb 3 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-2 |
---|
| 162 | - Package review updates, add developer docs |
---|
| 163 | |
---|
| 164 | * Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.7-1 |
---|
| 165 | - New package for new library name. Update to 0.9.7 |
---|
| 166 | |
---|
| 167 | * Sun Jan 24 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.6-1 |
---|
| 168 | - Update to 0.9.6 release |
---|
| 169 | |
---|
| 170 | * Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 0.9.5-3 |
---|
| 171 | - Updated to the new python sysarch spec file reqs |
---|
| 172 | |
---|
| 173 | * Tue Dec 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-2 |
---|
| 174 | - Update python bindings |
---|
| 175 | |
---|
| 176 | * Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.5-1 |
---|
| 177 | - Update to 0.9.5 release for new usbmuxd/libplist 1.0.0 final |
---|
| 178 | |
---|
| 179 | * Sat Dec 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-3 |
---|
| 180 | - Rebuild for libplist .so bump |
---|
| 181 | |
---|
| 182 | * Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-2 |
---|
| 183 | - Update from libusb to libusb1 |
---|
| 184 | |
---|
| 185 | * Wed Oct 28 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.4-1 |
---|
| 186 | - Update to 0.9.4 release for new usbmuxd 1.0.0-rc1 |
---|
| 187 | |
---|
| 188 | * Mon Aug 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.3-1 |
---|
| 189 | - Update to 0.9.3 release |
---|
| 190 | |
---|
| 191 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3 |
---|
| 192 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 193 | |
---|
| 194 | * Wed May 13 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-2 |
---|
| 195 | - Add new build reqs |
---|
| 196 | |
---|
| 197 | * Tue May 12 2009 Peter Robinson <pbrobinson@gmail.com> 0.9.1-1 |
---|
| 198 | - Update to official 0.9.1 release |
---|
| 199 | |
---|
| 200 | * Fri Apr 03 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-11.20090325git443edc8 |
---|
| 201 | - Update to latest master version |
---|
| 202 | |
---|
| 203 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-10.20090103git5cde554 |
---|
| 204 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 205 | |
---|
| 206 | * Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-9.git5cde554 |
---|
| 207 | - Add back gnutls version patch |
---|
| 208 | |
---|
| 209 | * Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-8.git5cde554 |
---|
| 210 | - Upload bzipped source file |
---|
| 211 | |
---|
| 212 | * Sat Jan 3 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.0-7.git5cde554 |
---|
| 213 | - New git snapshot |
---|
| 214 | |
---|
[8119] | 215 | * Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-6.git8c3a01e |
---|
[909] | 216 | - Fix devel dependency |
---|
| 217 | |
---|
[8119] | 218 | * Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-5.git8c3a01e |
---|
[909] | 219 | - Fix gnutls check for new rawhide version |
---|
| 220 | |
---|
[8119] | 221 | * Fri Dec 5 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-4.git8c3a01e |
---|
[909] | 222 | - Rebuild for pkgconfig |
---|
| 223 | |
---|
| 224 | * Tue Dec 2 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-3.git8c3a01e |
---|
| 225 | - Fix git file generation |
---|
| 226 | |
---|
| 227 | * Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-2.git8c3a01e |
---|
| 228 | - Updates for package review |
---|
| 229 | |
---|
| 230 | * Sat Nov 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.1.0-1 |
---|
| 231 | - Initial package |
---|