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