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