[6270] | 1 | %define with_mono 1 |
---|
| 2 | |
---|
[9421] | 3 | Summary: Library to access the iPod |
---|
| 4 | Summary(ja): iPod にアクセスするためのライブラリ |
---|
| 5 | Name: libgpod |
---|
| 6 | Version: 0.8.3 |
---|
[9572] | 7 | Release: 6%{?_dist_release} |
---|
[9421] | 8 | Group: System Environment/Libraries |
---|
| 9 | License: LGPLv2+ |
---|
| 10 | URL: http://www.gtkpod.org/libgpod.html |
---|
[521] | 11 | |
---|
[9421] | 12 | Source0: %{name}-%{version}.tar.bz2 |
---|
[521] | 13 | |
---|
[9421] | 14 | # Vine Patch |
---|
| 15 | Patch100: %{name}-0.8.3-python-uncomment.patch |
---|
| 16 | |
---|
| 17 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
[1254] | 18 | BuildRequires: docbook-style-xsl |
---|
| 19 | BuildRequires: glib2-devel |
---|
| 20 | BuildRequires: gtk2-devel |
---|
| 21 | BuildRequires: gettext |
---|
| 22 | BuildRequires: intltool |
---|
[6011] | 23 | BuildRequires: libimobiledevice-devel >= 1.1.4 |
---|
[1254] | 24 | BuildRequires: libplist-devel >= 1.0 |
---|
| 25 | BuildRequires: libusb1-devel |
---|
| 26 | BuildRequires: libxml2-devel |
---|
| 27 | BuildRequires: libxslt |
---|
[521] | 28 | BuildRequires: libffi-devel |
---|
[1254] | 29 | BuildRequires: perl(XML::Parser) |
---|
| 30 | BuildRequires: pygobject-devel |
---|
| 31 | BuildRequires: python-devel |
---|
| 32 | BuildRequires: python-mutagen |
---|
| 33 | BuildRequires: sg3_utils-devel |
---|
| 34 | BuildRequires: sqlite3-devel |
---|
[6270] | 35 | BuildRequires: taglib-devel |
---|
[1254] | 36 | BuildRequires: swig |
---|
[6270] | 37 | %if %{with_mono} |
---|
| 38 | BuildRequires: mono-devel |
---|
[9087] | 39 | BuildRequires: gtk-sharp2-devel |
---|
[6270] | 40 | %endif |
---|
| 41 | |
---|
[9421] | 42 | Requires: udev |
---|
[521] | 43 | |
---|
[9421] | 44 | Vendor: Project Vine |
---|
| 45 | Distribution: Vine Linux |
---|
| 46 | Packager: daisuke |
---|
[1254] | 47 | |
---|
[521] | 48 | %description |
---|
| 49 | libgpod is a library meant to abstract access to an iPod content. It |
---|
| 50 | provides an easy to use API to retrieve the list of files and playlist |
---|
| 51 | stored on an iPod, to modify them and to save them back to the iPod. |
---|
| 52 | |
---|
[4102] | 53 | %description -l ja |
---|
| 54 | libgpod は iPod のコンテンツにアクセスするためのライブラリです。 |
---|
| 55 | iPod に格納されているファイルリストやプレイリストを取得し、変更し、 |
---|
| 56 | iPod に書き戻すための API が提供されています。 |
---|
| 57 | |
---|
[521] | 58 | %package devel |
---|
[9421] | 59 | Summary: Support files necessary to compile applications with libgpod. |
---|
[521] | 60 | Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル. |
---|
[9421] | 61 | Group: Development/Libraries |
---|
| 62 | Requires: libgpod = %{version}-%{release} |
---|
| 63 | Requires: glib2-devel |
---|
| 64 | Requires: gtk2-devel |
---|
[521] | 65 | |
---|
| 66 | %description devel |
---|
[9421] | 67 | Libraries, headers, and support files necessary to compile applications using libgpod. |
---|
[521] | 68 | |
---|
| 69 | %description -l ja devel |
---|
[9421] | 70 | libgpod を使ったアプリケーションのコンパイルに必要なライブラリ,ヘッダファイルなどが含まれています. |
---|
[521] | 71 | |
---|
[1254] | 72 | %package -n python-gpod |
---|
[9421] | 73 | Summary: Python module to access iPod content |
---|
[9087] | 74 | Summary(ja): iPod にアクセスするための Python モジュール |
---|
[9572] | 75 | Group: System Environment/Libraries |
---|
[9421] | 76 | Requires: %{name} = %{version}-%{release} |
---|
| 77 | Requires: python-mutagen |
---|
[1254] | 78 | |
---|
| 79 | %description -n python-gpod |
---|
[9421] | 80 | A python module to access iPod content. This module provides bindings to the libgpod library. |
---|
[1254] | 81 | |
---|
| 82 | |
---|
[6270] | 83 | %if %{with_mono} |
---|
| 84 | %package sharp |
---|
[9421] | 85 | Summary: C#/.NET library to access iPod content |
---|
[9087] | 86 | Summary(ja): iPod にアクセスするための C#/.NET ライブラリ |
---|
[9421] | 87 | Group: System Environment/Libraries |
---|
| 88 | Requires: %{name} = %{version}-%{release} |
---|
[6270] | 89 | |
---|
| 90 | %description sharp |
---|
[9421] | 91 | C#/.NET library to access iPod content. Provides bindings to the libgpod library. |
---|
[6270] | 92 | |
---|
| 93 | %package sharp-devel |
---|
[9421] | 94 | Summary: Development files for libgpod-sharp |
---|
[9087] | 95 | Summary(ja): libgpod-sharp の開発用ファイル |
---|
[9421] | 96 | Group: Development/Libraries |
---|
| 97 | Requires: %{name}-sharp = %{version}-%{release} |
---|
| 98 | Requires: pkgconfig |
---|
[6270] | 99 | |
---|
| 100 | %description sharp-devel |
---|
[9421] | 101 | C#/.NET library to access iPod content. Provides bindings to the libgpod library. |
---|
[6270] | 102 | |
---|
| 103 | This package contains the files required to develop programs that will use |
---|
| 104 | libgpod-sharp. |
---|
| 105 | %endif |
---|
| 106 | |
---|
| 107 | |
---|
[521] | 108 | %prep |
---|
| 109 | %setup -q |
---|
[9421] | 110 | %patch100 -p1 -b .uncomment |
---|
[521] | 111 | |
---|
[4102] | 112 | chmod -x bindings/python/examples/*.py |
---|
| 113 | |
---|
[521] | 114 | %build |
---|
[1254] | 115 | %configure \ |
---|
[9421] | 116 | --without-hal \ |
---|
| 117 | --enable-udev \ |
---|
| 118 | --with-temp-mount-dir=%{_localstatedir}/run/%{name} |
---|
[521] | 119 | make %{?_smp_mflags} |
---|
| 120 | |
---|
| 121 | %install |
---|
| 122 | if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
---|
| 123 | |
---|
[1254] | 124 | make DESTDIR=%{buildroot} install |
---|
[521] | 125 | |
---|
| 126 | %find_lang %{name} |
---|
| 127 | |
---|
| 128 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} |
---|
[1254] | 129 | rm -f $RPM_BUILD_ROOT%{python_sitearch}/gpod/*.{a,la} |
---|
[521] | 130 | |
---|
| 131 | %clean |
---|
| 132 | if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
---|
| 133 | |
---|
| 134 | %post -p /sbin/ldconfig |
---|
| 135 | |
---|
| 136 | %postun -p /sbin/ldconfig |
---|
| 137 | |
---|
| 138 | %files -f %{name}.lang |
---|
[1254] | 139 | %defattr(-, root, root, 0755) |
---|
[521] | 140 | %doc AUTHORS ChangeLog COPYING README |
---|
[1254] | 141 | %{_bindir}/* |
---|
[521] | 142 | %{_libdir}/lib*.so.* |
---|
[1254] | 143 | %dir %{_localstatedir}/run/%{name} |
---|
| 144 | /lib/udev/iphone-set-info |
---|
| 145 | /lib/udev/ipod-set-info |
---|
| 146 | /lib/udev/rules.d/*.rules |
---|
[521] | 147 | |
---|
| 148 | %files devel |
---|
[1254] | 149 | %defattr(-, root, root, 0755) |
---|
[521] | 150 | %{_libdir}/lib*.so |
---|
[9421] | 151 | %{_libdir}/pkgconfig/%{name}-1.0.pc |
---|
[1254] | 152 | %{_includedir}/gpod-1.0/ |
---|
| 153 | %{_datadir}/gtk-doc/html/%{name} |
---|
[521] | 154 | |
---|
[1254] | 155 | %files -n python-gpod |
---|
| 156 | %defattr(-, root, root, 0755) |
---|
| 157 | %doc COPYING bindings/python/README bindings/python/examples |
---|
| 158 | %{python_sitearch}/gpod |
---|
| 159 | |
---|
[6270] | 160 | %if %{with_mono} |
---|
| 161 | %files sharp |
---|
| 162 | %defattr(-, root, root, 0755) |
---|
| 163 | %{_libdir}/%{name}/%{name}-sharp* |
---|
| 164 | |
---|
| 165 | %files sharp-devel |
---|
| 166 | %defattr(-, root, root, 0755) |
---|
| 167 | %{_libdir}/pkgconfig/%{name}-sharp.pc |
---|
| 168 | %endif |
---|
| 169 | |
---|
| 170 | |
---|
[521] | 171 | %changelog |
---|
[9572] | 172 | * Thu May 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-6 |
---|
| 173 | - rebuilt with libimovbiledevice 1.2.0 and libplist 1.12 |
---|
| 174 | |
---|
[9472] | 175 | * Sat Mar 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-5 |
---|
| 176 | - rebuilt with mono 3.12.1 |
---|
| 177 | |
---|
[9421] | 178 | * Sun Mar 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-4 |
---|
| 179 | - added patch100 to build swig 3.0.5 |
---|
| 180 | - moved %%{_libdir}/pkgconfig/libgpod-sharp.pc to sharp subpackage |
---|
| 181 | |
---|
[9087] | 182 | * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-3 |
---|
| 183 | - moved sharp subpackage to System Environment/Libraries Group |
---|
| 184 | - moved sharp-devel subpackage to Development/Libraries Group |
---|
| 185 | |
---|
[8768] | 186 | * Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.8.3-2 |
---|
| 187 | - rebuild with new libplist, libimobiledevice |
---|
| 188 | |
---|
[8119] | 189 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.3-1 |
---|
| 190 | - new upstream release |
---|
| 191 | |
---|
[7582] | 192 | * Sun Mar 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-2 |
---|
| 193 | - rebuild with libimobiledevice-1.1.5 |
---|
| 194 | |
---|
[6270] | 195 | * Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.2-1 |
---|
| 196 | - update to 0.8.2 |
---|
| 197 | - remove Patch0 |
---|
| 198 | - add BuildRequires: mono-devel, gtk-sharp2, taglib-devel |
---|
| 199 | - create sharp and sharp-devel package |
---|
| 200 | |
---|
[6011] | 201 | * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-4 |
---|
| 202 | - rebuild with libimobiledevice-1.1.4 |
---|
| 203 | |
---|
[5701] | 204 | * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-3 |
---|
| 205 | - rebuild with python-2.7.2 |
---|
| 206 | |
---|
[4616] | 207 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-2 |
---|
| 208 | - rebuild with libimobiledevice-1.1.1 |
---|
| 209 | |
---|
[4102] | 210 | * Fri Jun 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.0-1 |
---|
| 211 | - update to 0.8.0 |
---|
| 212 | |
---|
[1943] | 213 | * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.7.93-2 |
---|
| 214 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 215 | |
---|
[1254] | 216 | * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.93-1 |
---|
| 217 | - new upstream release |
---|
| 218 | - add configure option (disable hal, enable udev, specify temp mount dir) |
---|
| 219 | - add python subpackage |
---|
| 220 | - add BR: |
---|
| 221 | |
---|
[521] | 222 | * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1 |
---|
| 223 | - new upstream release |
---|
| 224 | - remove static library |
---|
| 225 | |
---|
| 226 | * Sat Oct 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-3vl5 |
---|
| 227 | - added BuildRequires: libffi-devel |
---|
| 228 | |
---|
| 229 | * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.0-2vl5 |
---|
| 230 | - spec in utf-8 |
---|
| 231 | |
---|
| 232 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-1vl5 |
---|
| 233 | - applied new versioning policy |
---|
| 234 | |
---|
| 235 | * Thu Jan 03 2008 Satoshi MACHINO <machino@vinelinux.org> 0.6.0-0vl1 |
---|
| 236 | - new upstream release |
---|
| 237 | |
---|
| 238 | * Tue May 29 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.4.2-0vl2 |
---|
| 239 | - for VineSeedPlus |
---|
| 240 | - new upstream release |
---|
| 241 | - built with new toolchain |
---|
| 242 | |
---|
| 243 | * Sun Oct 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1 |
---|
| 244 | - new upstream release |
---|
| 245 | - build with dbus-0.62 |
---|
| 246 | |
---|
| 247 | * Mon Mar 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1 |
---|
| 248 | - new upstream release |
---|
| 249 | - build with dbus-0.61 |
---|
| 250 | |
---|
| 251 | * Wed Dec 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl1 |
---|
| 252 | - initial package |
---|