Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
freevo
> freevo.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File freevo.spec of Package freevo (Revision 2)
Currently displaying revision
2
,
show latest
# norootforbuild Name: freevo Summary: Freevo is an open-source home theatre PC platform Version: 1.8.1 Release: 4 License: GPL Group: Development/Libraries/Python URL: http://www.freevo.org/ Source0: http://mesh.dl.sourceforge.net/sourceforge/freevo/%{name}-%{version}.tar.gz Source1: freevo-x Source2: freevo-x-kill Source3: freevo.desktop Source4: recordserver.init Source5: README.standalone Patch0: freevo-1.8.1-imdb_plot_changes.patch Patch1: freevo-1.8.0-shutdown_sleep.patch Patch2: freevo-1.8.1-headline_no_content.patch BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: python-devel python-pygame python-imaging python-twisted pyxml update-desktop-files python-twisted-web libxml2-python python-beautifulsoup BuildRequires: python-lirc kaa-base kaa-imlib2 kaa-metadata Requires: python-pygame python-imaging python-twisted pyxml python-numeric python-twisted-web libxml2-python python-beautifulsoup unclutter Requires: xmltv python-lirc MPlayer libxine1 lsdvd vorbis-tools jpeg kaa-base kaa-imlib2 kaa-metadata # Suggests only exists since 10.1 %if %suse_version > 1000 Suggests: snes9x dgen-sdl libdvdcss %endif # python on 10.3 has elementtree included %if %suse_version < 1020 BuildRequires: python-elementtree %endif %description Freevo can be used both for a standalone PVR computer with a TV+remote, as well as on a regular desktop computer using the monitor and keyboard. %prep %setup -q %patch0 %patch1 %patch2 cp %{S:5} . %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build pushd share/skins/main mv Tux\'n\ Tosh\ TV.fxd Tux_n_Tosh_TV.fxd mv Tux\'n\ Tosh\ TV.png Tux_n_Tosh_TV.png %install python setup.py install --root=$RPM_BUILD_ROOT --prefix=%_prefix \ --record-rpm=INSTALLED_FILES install -D -m 755 %{S:1} $RPM_BUILD_ROOT%_prefix/bin/%name-x install -D -m 755 %{S:2} $RPM_BUILD_ROOT%_prefix/bin/%name-x-kill install -D -m 644 %{S:3} $RPM_BUILD_ROOT%_datadir/xsessions/%name.desktop install -D -m 755 %{S:4} $RPM_BUILD_ROOT/etc/init.d/recordserver install -d $RPM_BUILD_ROOT/%_sbindir ln -s ../../etc/init.d/recordserver $RPM_BUILD_ROOT/%_sbindir/rcrecordserver %suse_update_desktop_file -c -i freevo Freevo "Home Theatre PC Platform" freevo Player Application AudioVideo %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc ChangeLog FAQ README README.standalone TODO Docs local_conf.py.example /usr/share/applications/* /usr/share/xsessions/%name.desktop /usr/bin/%name-x* /etc/init.d/recordserver /usr/sbin/rcrecordserver %changelog * Thu Aug 21 2008 Carsten Schoene <cs@linux-administrator.com> - initial SLE_10 import