123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- Summary: XBMC is a free Media Center
- Summary(ja): XBMC メディアセンター
- Name: xbmc
- Version: 11.0
- Release: 5%{?_dist_release}
- Source0: %{name}-%{version}.tar.gz
- Source1: %{name}.desktop
- #i18n
- #Source10: xbmc-9.11-langinfo.xml
- Source11: xbmc-11.0-strings.xml
- Source12: xbmc-11.0-Confluence-strings.xml
- #lircd patch
- #Patch0: xbmc-9.11-lircd.patch
- # change default locale and font
- Patch1: xbmc-11.0-default-locale.patch
- License: GPLv2+
- Group: Applications/Multimedia
- URL: http://xbmc.org/
- Requires: lsb
- Requires: python-imaging
- Requires: pysqlite
- Requires: hicolor-icon-theme
- Requires(post): desktop-file-utils
- Requires(postun):desktop-file-utils
- BuildRequires: MySQL-devel
- BuildRequires: SDL_image-devel
- BuildRequires: SDL_mixer-devel
- BuildRequires: alsa-lib-devel
- BuildRequires: avahi-devel
- BuildRequires: bzip2-devel
- BuildRequires: cmake
- BuildRequires: curl-devel
- BuildRequires: cvs
- BuildRequires: dbus-devel
- BuildRequires: desktop-file-utils
- BuildRequires: enca-devel
- BuildRequires: flac-devel
- BuildRequires: fontconfig-devel
- BuildRequires: fribidi-devel
- BuildRequires: glew-devel
- BuildRequires: gperf
- BuildRequires: hal-devel
- BuildRequires: jasper-devel
- BuildRequires: libXinerama-devel
- BuildRequires: libXmu-devel
- BuildRequires: libXrandr-devel
- BuildRequires: libXtst-devel
- BuildRequires: libass-devel
- BuildRequires: libboost-devel
- BuildRequires: libcdio-devel
- BuildRequires: expat-devel
- BuildRequires: libjpeg-devel
- BuildRequires: libmicrohttpd-devel
- BuildRequires: libmms-devel
- BuildRequires: libmodplug-devel
- BuildRequires: libogg-devel
- BuildRequires: libplist-devel
- BuildRequires: libpng-devel
- BuildRequires: libsamplerate-devel
- BuildRequires: libsmbclient-devel
- BuildRequires: libtiff-devel
- BuildRequires: libudev-devel
- BuildRequires: libvorbis-devel
- BuildRequires: nasm
- BuildRequires: openssl-devel
- BuildRequires: lzo-devel
- BuildRequires: pcre-devel
- BuildRequires: pulseaudio-libs-devel
- BuildRequires: sqlite3-devel
- BuildRequires: unzip
- BuildRequires: wavpack-devel
- BuildRequires: zlib-devel
- BuildRequires: self-build-faac
- BuildRequires: self-build-faad2
- BuildRequires: self-build-libmad
- BuildRequires: self-build-libmpeg2
- BuildRequires: libvdpau-devel
- BuildRequires: bluez-libs-devel
- BuildRequires: yajl-devel
- BuildRequires: python-devel
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Packager: kazutaka, shaolin
- %description
- XBMC is an award-winning free and open source (GPL) software media player
- and entertainment hub for digital media.
- Currently XBMC can be used to play almost all popular audio and video formats
- around. It was designed for network playback, so you can stream your multimedia
- from anywhere in the house or directly from the internet using practically any
- protocol available. Use your media as-is: XBMC can play CDs and DVDs directly
- from the disk or image file, almost all popular archive formats from your hard
- drive, and even files inside ZIP and RAR archives. It will even scan all of
- your media and automatically create a personalized library complete with box
- covers, descriptions, and fanart. There are playlist and slideshow functions,
- a weather forecast feature and many audio visualizations. Once installed,
- your computer will become a fully functional multimedia jukebox.
- %description -l ja
- XBMC はいくつもの賞を受賞したフリーでオープンソース (GPL) な、
- デジタルメディア向けのメディアプレイヤー/メディアセンターです。
- XBMC は一般的な形式のビデオやオーディオファイルであれば、その殆ど
- を再生できます。またネットワークを介した再生にも対応しており、
- ホームLAN やインターネットを経由したストリーミングも利用できます。
- また、XBMC は CD や DVD を直接再生できるだけでなく、ハードディスク
- 上のディスクイメージや一般的なアーカイブ、ZIP や RAR アーカイブ等で
- あってもそのまま利用できます。
- XBMC は PC 上のメディアファイルをスキャンして、自動的にライブラリ
- を構築し、カバーアートや説明、ファンアート等を付加してくれます。
- その他にも、プレイリストやスライドショー、天気予報、オーディオの
- ビジュアライゼーション機能等を備えています。
- XBMC をインストールすれば、あなたの PC は多機能なマルチメディア
- ジュークボックスに生まれ変わります。
- %prep
- %setup -q
- %patch1 -p1 -b .default-locale
- #setup language files
- #%{__cp} -f %{SOURCE10} language/Japanese/langinfo.xml
- %{__cp} -f %{SOURCE11} language/Japanese/strings.xml
- %{__mkdir} -p addons/skin.confluence/language/Japanese
- %{__cp} -f %{SOURCE12} addons/skin.confluence/language/Japanese/strings.xml
- %build
- %ifarch x86_64
- LIBS="-L/usr/lib64/mysql $LIBS"
- %else
- LIBS="-L/usr/lib/mysql $LIBS"
- %endif
- export LIBS
- ./bootstrap
- %configure --disable-debug \
- --disable-ccache \
- --enable-pulse \
- --enable-dvdcss \
- --enable-vdpau \
- --enable-mid \
- --enable-libudev \
- --enable-airplay \
- --with-lirc-device=%{_localstatedir}/run/lirc/lircd \
- --docdir=%{_docdir}/%{name}-%{version}
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf %{buildroot}
- %{__make} install DESTDIR=%{buildroot}
- #install man pages
- %{__mkdir_p} %{buildroot}/%{_mandir}/man1
- %{__cp} docs/manpages/* %{buildroot}/%{_mandir}/man1
- gzip -9nf %{buildroot}/%{_mandir}/man1/*
- # Install desktop file
- desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
- %post
- update-desktop-database %{_datadir}/applications>& /dev/null ||:
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
- fi
- %postun
- update-desktop-database %{_datadir}/applications>& /dev/null ||:
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
- fi
- %clean
- %{__rm} -rf %{buildroot}
- %files
- %defattr(-,root,root)
- %doc %{_docdir}/%{name}-%{version}
- %{_bindir}/%{name}
- %{_bindir}/%{name}-standalone
- %{_datadir}/%{name}
- %{_datadir}/applications/%{name}.desktop
- %{_datadir}/xsessions/XBMC.desktop
- %{_datadir}/icons/hicolor/256x256/apps/%{name}.png
- %{_datadir}/icons/hicolor/48x48/apps/%{name}.png
- %{_libdir}/%{name}
- %{_mandir}/man1/*
- %changelog
- * Fri Mar 30 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-5
- - fix silly typo in Source11
- * Thu Mar 29 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-4
- - Source11 and Source12 (Japanese strings) much updated
- * Wed Mar 28 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-3
- - update Packager
- * Wed Mar 28 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-2
- - update Source11 (Japanese strings)
- * Wed Mar 28 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 11.0-1
- - new upstream release
- - add build depencencies for bluez-libs-devel, yajl-devel, yasm & python-devel
- * Fri Feb 04 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 10.0-3
- - delete build_vine5 macro: libvdpau is now available on 5.2
- * Thu Jan 27 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 10.0-2
- - add --disable-ccache option (<BTS:VineLinux:1100>)
- - update Patch1 to change default timezone
- * Tue Jan 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 10.0-1
- - new upstream release
- - drop patch0: use configure option to specity lirc device)
- - drop Source10: included in upstream
- - update Source11 & 12: japanese translation
- - add Souce1: xbmc.desktop with japanese description
- * Sat Jan 02 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 9.11-1
- - initial build for Vine Linux
- - add patch0: change lircd socket location
- - add Source10-12: japanese translation & langinfo
|