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