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