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