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