[2597] | 1 | Summary: XBMC is a free Media Center |
---|
| 2 | Summary(ja): XBMC メディアセンター |
---|
| 3 | Name: xbmc |
---|
[6016] | 4 | Version: 11.0 |
---|
| 5 | Release: 5%{?_dist_release} |
---|
[2597] | 6 | Source0: %{name}-%{version}.tar.gz |
---|
| 7 | Source1: %{name}.desktop |
---|
| 8 | #i18n |
---|
| 9 | #Source10: xbmc-9.11-langinfo.xml |
---|
[6016] | 10 | Source11: xbmc-11.0-strings.xml |
---|
| 11 | Source12: xbmc-11.0-Confluence-strings.xml |
---|
[2597] | 12 | #lircd patch |
---|
| 13 | #Patch0: xbmc-9.11-lircd.patch |
---|
| 14 | # change default locale and font |
---|
[6016] | 15 | Patch1: xbmc-11.0-default-locale.patch |
---|
| 16 | License: GPLv2+ |
---|
[2597] | 17 | Group: Applications/Multimedia |
---|
| 18 | URL: http://xbmc.org/ |
---|
| 19 | |
---|
| 20 | Requires: lsb |
---|
| 21 | Requires: python-imaging |
---|
| 22 | Requires: pysqlite |
---|
| 23 | Requires: hicolor-icon-theme |
---|
| 24 | Requires(post): desktop-file-utils |
---|
| 25 | Requires(postun):desktop-file-utils |
---|
| 26 | |
---|
| 27 | BuildRequires: MySQL-devel |
---|
| 28 | BuildRequires: SDL_image-devel |
---|
| 29 | BuildRequires: SDL_mixer-devel |
---|
| 30 | BuildRequires: alsa-lib-devel |
---|
| 31 | BuildRequires: avahi-devel |
---|
| 32 | BuildRequires: bzip2-devel |
---|
| 33 | BuildRequires: cmake |
---|
| 34 | BuildRequires: curl-devel |
---|
| 35 | BuildRequires: cvs |
---|
| 36 | BuildRequires: dbus-devel |
---|
| 37 | BuildRequires: desktop-file-utils |
---|
| 38 | BuildRequires: enca-devel |
---|
| 39 | BuildRequires: flac-devel |
---|
| 40 | BuildRequires: fontconfig-devel |
---|
| 41 | BuildRequires: fribidi-devel |
---|
| 42 | BuildRequires: glew-devel |
---|
| 43 | BuildRequires: gperf |
---|
| 44 | BuildRequires: hal-devel |
---|
| 45 | BuildRequires: jasper-devel |
---|
| 46 | BuildRequires: libXinerama-devel |
---|
| 47 | BuildRequires: libXmu-devel |
---|
| 48 | BuildRequires: libXrandr-devel |
---|
| 49 | BuildRequires: libXtst-devel |
---|
[6016] | 50 | BuildRequires: libass-devel |
---|
[2597] | 51 | BuildRequires: libboost-devel |
---|
| 52 | BuildRequires: libcdio-devel |
---|
| 53 | BuildRequires: expat-devel |
---|
| 54 | BuildRequires: libjpeg-devel |
---|
| 55 | BuildRequires: libmicrohttpd-devel |
---|
| 56 | BuildRequires: libmms-devel |
---|
| 57 | BuildRequires: libmodplug-devel |
---|
| 58 | BuildRequires: libogg-devel |
---|
[6016] | 59 | BuildRequires: libplist-devel |
---|
[2597] | 60 | BuildRequires: libpng-devel |
---|
| 61 | BuildRequires: libsamplerate-devel |
---|
| 62 | BuildRequires: libsmbclient-devel |
---|
| 63 | BuildRequires: libtiff-devel |
---|
[6016] | 64 | BuildRequires: libudev-devel |
---|
[2597] | 65 | BuildRequires: libvorbis-devel |
---|
| 66 | BuildRequires: nasm |
---|
| 67 | BuildRequires: openssl-devel |
---|
| 68 | BuildRequires: lzo-devel |
---|
| 69 | BuildRequires: pcre-devel |
---|
| 70 | BuildRequires: pulseaudio-libs-devel |
---|
| 71 | BuildRequires: sqlite3-devel |
---|
| 72 | BuildRequires: unzip |
---|
| 73 | BuildRequires: wavpack-devel |
---|
| 74 | BuildRequires: zlib-devel |
---|
| 75 | BuildRequires: self-build-faac |
---|
| 76 | BuildRequires: self-build-faad2 |
---|
| 77 | BuildRequires: self-build-libmad |
---|
| 78 | BuildRequires: self-build-libmpeg2 |
---|
| 79 | BuildRequires: libvdpau-devel |
---|
[6016] | 80 | BuildRequires: bluez-libs-devel |
---|
| 81 | BuildRequires: yajl-devel |
---|
| 82 | BuildRequires: python-devel |
---|
[2597] | 83 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 84 | |
---|
[6016] | 85 | Packager: kazutaka, shaolin |
---|
[2597] | 86 | |
---|
| 87 | %description |
---|
| 88 | XBMC is an award-winning free and open source (GPL) software media player |
---|
| 89 | and entertainment hub for digital media. |
---|
| 90 | |
---|
| 91 | Currently XBMC can be used to play almost all popular audio and video formats |
---|
| 92 | around. It was designed for network playback, so you can stream your multimedia |
---|
| 93 | from anywhere in the house or directly from the internet using practically any |
---|
| 94 | protocol available. Use your media as-is: XBMC can play CDs and DVDs directly |
---|
| 95 | from the disk or image file, almost all popular archive formats from your hard |
---|
| 96 | drive, and even files inside ZIP and RAR archives. It will even scan all of |
---|
| 97 | your media and automatically create a personalized library complete with box |
---|
| 98 | covers, descriptions, and fanart. There are playlist and slideshow functions, |
---|
| 99 | a weather forecast feature and many audio visualizations. Once installed, |
---|
| 100 | your computer will become a fully functional multimedia jukebox. |
---|
| 101 | |
---|
| 102 | %description -l ja |
---|
| 103 | XBMC はいくつもの賞を受賞したフリーでオープンソース (GPL) な、 |
---|
| 104 | デジタルメディア向けのメディアプレイヤー/メディアセンターです。 |
---|
| 105 | |
---|
| 106 | XBMC は一般的な形式のビデオやオーディオファイルであれば、その殆ど |
---|
| 107 | を再生できます。またネットワークを介した再生にも対応しており、 |
---|
| 108 | ホームLAN やインターネットを経由したストリーミングも利用できます。 |
---|
| 109 | |
---|
| 110 | また、XBMC は CD や DVD を直接再生できるだけでなく、ハードディスク |
---|
| 111 | 上のディスクイメージや一般的なアーカイブ、ZIP や RAR アーカイブ等で |
---|
| 112 | あってもそのまま利用できます。 |
---|
| 113 | |
---|
| 114 | XBMC は PC 上のメディアファイルをスキャンして、自動的にライブラリ |
---|
| 115 | を構築し、カバーアートや説明、ファンアート等を付加してくれます。 |
---|
| 116 | その他にも、プレイリストやスライドショー、天気予報、オーディオの |
---|
| 117 | ビジュアライゼーション機能等を備えています。 |
---|
| 118 | |
---|
| 119 | XBMC をインストールすれば、あなたの PC は多機能なマルチメディア |
---|
| 120 | ジュークボックスに生まれ変わります。 |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | %prep |
---|
| 124 | %setup -q |
---|
| 125 | %patch1 -p1 -b .default-locale |
---|
| 126 | |
---|
| 127 | #setup language files |
---|
| 128 | #%{__cp} -f %{SOURCE10} language/Japanese/langinfo.xml |
---|
| 129 | %{__cp} -f %{SOURCE11} language/Japanese/strings.xml |
---|
[6016] | 130 | %{__mkdir} -p addons/skin.confluence/language/Japanese |
---|
[2597] | 131 | %{__cp} -f %{SOURCE12} addons/skin.confluence/language/Japanese/strings.xml |
---|
| 132 | |
---|
| 133 | %build |
---|
| 134 | %ifarch x86_64 |
---|
| 135 | LIBS="-L/usr/lib64/mysql $LIBS" |
---|
| 136 | %else |
---|
| 137 | LIBS="-L/usr/lib/mysql $LIBS" |
---|
| 138 | %endif |
---|
| 139 | |
---|
| 140 | export LIBS |
---|
| 141 | |
---|
| 142 | ./bootstrap |
---|
| 143 | %configure --disable-debug \ |
---|
| 144 | --disable-ccache \ |
---|
| 145 | --enable-pulse \ |
---|
| 146 | --enable-dvdcss \ |
---|
| 147 | --enable-vdpau \ |
---|
| 148 | --enable-mid \ |
---|
[6016] | 149 | --enable-libudev \ |
---|
| 150 | --enable-airplay \ |
---|
[2597] | 151 | --with-lirc-device=%{_localstatedir}/run/lirc/lircd \ |
---|
| 152 | --docdir=%{_docdir}/%{name}-%{version} |
---|
| 153 | |
---|
| 154 | %{__make} %{?_smp_mflags} |
---|
| 155 | |
---|
| 156 | |
---|
| 157 | %install |
---|
[6016] | 158 | %{__rm} -rf %{buildroot} |
---|
| 159 | %{__make} install DESTDIR=%{buildroot} |
---|
[2597] | 160 | |
---|
| 161 | #install man pages |
---|
[6016] | 162 | %{__mkdir_p} %{buildroot}/%{_mandir}/man1 |
---|
| 163 | %{__cp} docs/manpages/* %{buildroot}/%{_mandir}/man1 |
---|
| 164 | gzip -9nf %{buildroot}/%{_mandir}/man1/* |
---|
[2597] | 165 | |
---|
| 166 | # Install desktop file |
---|
[6016] | 167 | desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1} |
---|
[2597] | 168 | |
---|
| 169 | |
---|
| 170 | %post |
---|
| 171 | update-desktop-database %{_datadir}/applications>& /dev/null ||: |
---|
| 172 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 173 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 174 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
---|
| 175 | fi |
---|
| 176 | |
---|
| 177 | %postun |
---|
| 178 | update-desktop-database %{_datadir}/applications>& /dev/null ||: |
---|
| 179 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 180 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 181 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
---|
| 182 | fi |
---|
| 183 | |
---|
| 184 | |
---|
| 185 | %clean |
---|
[6016] | 186 | %{__rm} -rf %{buildroot} |
---|
[2597] | 187 | |
---|
| 188 | |
---|
| 189 | %files |
---|
| 190 | %defattr(-,root,root) |
---|
| 191 | %doc %{_docdir}/%{name}-%{version} |
---|
| 192 | %{_bindir}/%{name} |
---|
| 193 | %{_bindir}/%{name}-standalone |
---|
| 194 | %{_datadir}/%{name} |
---|
| 195 | %{_datadir}/applications/%{name}.desktop |
---|
| 196 | %{_datadir}/xsessions/XBMC.desktop |
---|
| 197 | %{_datadir}/icons/hicolor/256x256/apps/%{name}.png |
---|
| 198 | %{_datadir}/icons/hicolor/48x48/apps/%{name}.png |
---|
| 199 | %{_libdir}/%{name} |
---|
| 200 | %{_mandir}/man1/* |
---|
| 201 | |
---|
| 202 | %changelog |
---|
[6016] | 203 | * Fri Mar 30 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-5 |
---|
| 204 | - fix silly typo in Source11 |
---|
| 205 | |
---|
| 206 | * Thu Mar 29 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-4 |
---|
| 207 | - Source11 and Source12 (Japanese strings) much updated |
---|
| 208 | |
---|
| 209 | * Wed Mar 28 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-3 |
---|
| 210 | - update Packager |
---|
| 211 | |
---|
| 212 | * Wed Mar 28 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-2 |
---|
| 213 | - update Source11 (Japanese strings) |
---|
| 214 | |
---|
| 215 | * Wed Mar 28 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-1 |
---|
| 216 | - new upstream release |
---|
| 217 | - add build depencencies for bluez-libs-devel, yajl-devel, yasm & python-devel |
---|
| 218 | |
---|
[2635] | 219 | * Fri Feb 04 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 10.0-3 |
---|
| 220 | - delete build_vine5 macro: libvdpau is now available on 5.2 |
---|
| 221 | |
---|
[2597] | 222 | * Thu Jan 27 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 10.0-2 |
---|
| 223 | - add --disable-ccache option (<BTS:VineLinux:1100>) |
---|
| 224 | - update Patch1 to change default timezone |
---|
| 225 | |
---|
| 226 | * Tue Jan 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 10.0-1 |
---|
| 227 | - new upstream release |
---|
| 228 | - drop patch0: use configure option to specity lirc device) |
---|
| 229 | - drop Source10: included in upstream |
---|
| 230 | - update Source11 & 12: japanese translation |
---|
| 231 | - add Souce1: xbmc.desktop with japanese description |
---|
| 232 | |
---|
| 233 | * Sat Jan 02 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 9.11-1 |
---|
| 234 | - initial build for Vine Linux |
---|
| 235 | - add patch0: change lircd socket location |
---|
| 236 | - add Source10-12: japanese translation & langinfo |
---|