1 Summary: Internet television application
6 Group: Applications/Multimedia
7 Source0: ftp://ftp.osuosl.org/pub/pculture.org/democracy/src/Democracy-%{version}.tar.gz
8 # Source0-md5: 0b92aa3efb2a93e7c066152137fcf9fa
9 URL: http://www.getdemocracy.com/
10 BuildRequires: boost-python-devel
11 BuildRequires: libfame
12 BuildRequires: mozilla-firefox-devel
13 BuildRequires: python-Pyrex
14 BuildRequires: python-devel >= 1:2.4
15 BuildRequires: python-pygtk-devel
16 BuildRequires: xine-lib-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Democracy Player (also known as Democracy and DTV) is an Internet
23 television application developed by the Participatory Culture
24 Foundation (PCF). It can automatically download videos from RSS-based
25 "channels", as well as managing and playing the videos collected from
28 Democracy Player integrates an RSS aggregator, a BitTorrent client,
29 and VLC media player (or Xine Media Player under GNU/Linux).
32 %setup -q -n Democracy-%{version}
34 mv platform/gtk-x11/README README.gtk-x11
39 CFLAGS="%{rpmcflags}" %{__python} setup.py build
42 rm -rf $RPM_BUILD_ROOT
45 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
48 %py_postclean $RPM_BUILD_ROOT%{py_sitedir}/democracy
50 %find_lang democracyplayer
53 rm -rf $RPM_BUILD_ROOT
55 %files -f democracyplayer.lang
56 %defattr(644,root,root,755)
57 %doc CREDITS README README.gtk-x11
58 %attr(755,root,root) %{_bindir}/democracyplayer
60 %dir %{py_sitedir}/democracy
61 %{py_sitedir}/democracy/*.py[co]
62 %dir %{py_sitedir}/democracy/BitTorrent
63 %{py_sitedir}/democracy/BitTorrent/*.py[co]
64 %dir %{py_sitedir}/democracy/compiled_templates
65 %{py_sitedir}/democracy/compiled_templates/*.py[co]
66 %dir %{py_sitedir}/democracy/compiled_templates/unittest
67 %{py_sitedir}/democracy/compiled_templates/unittest/*.py[co]
68 %dir %{py_sitedir}/democracy/dl_daemon
69 %{py_sitedir}/democracy/dl_daemon/*.py[co]
70 %dir %{py_sitedir}/democracy/dl_daemon/private
71 %{py_sitedir}/democracy/dl_daemon/private/*.py[co]
72 %dir %{py_sitedir}/democracy/frontend_implementation
73 %{py_sitedir}/democracy/frontend_implementation/*.py[co]
74 %dir %{py_sitedir}/democracy/test
75 %{py_sitedir}/democracy/test/*.py[co]
76 %attr(755,root,root) %{py_sitedir}/democracy/MozillaBrowser.so
77 %attr(755,root,root) %{py_sitedir}/democracy/database.so
78 %attr(755,root,root) %{py_sitedir}/democracy/fasttypes.so
79 %attr(755,root,root) %{py_sitedir}/democracy/sorts.so
80 %attr(755,root,root) %{py_sitedir}/democracy/xine.so
81 %attr(755,root,root) %{py_sitedir}/democracy/xlibhelper.so
83 %{_desktopdir}/democracyplayer.desktop
85 %{_mandir}/man1/democracyplayer.1*
86 %{_datadir}/mime/packages/democracy.xml
87 %{_pixmapsdir}/democracyplayer-*.png