]> git.pld-linux.org Git - packages/democracy.git/blob - democracy.spec
a92507dd8091ac2372bec1bb97f790a693d70962
[packages/democracy.git] / democracy.spec
1 Summary:        Internet television application
2 Name:           democracy
3 Version:        0.9.2.2
4 Release:        0.1
5 License:        GPL
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
17 Requires:       python-dbus
18 %pyrequires_eq  python
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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
26 these channels.
27
28 Democracy Player integrates an RSS aggregator, a BitTorrent client,
29 and VLC media player (or Xine Media Player under GNU/Linux).
30
31 %prep
32 %setup -q -n Democracy-%{version}
33
34 mv platform/gtk-x11/README README.gtk-x11
35
36 %build
37 cd platform/gtk-x11
38
39 CFLAGS="%{rpmcflags}" %{__python} setup.py build
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 cd platform/gtk-x11
45 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
46 cd ../..
47
48 %py_postclean $RPM_BUILD_ROOT%{py_sitedir}/democracy
49
50 %find_lang democracyplayer
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
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
59
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
82
83 %{_desktopdir}/democracyplayer.desktop
84 %{_datadir}/democracy
85 %{_mandir}/man1/democracyplayer.1*
86 %{_datadir}/mime/packages/democracy.xml
87 %{_pixmapsdir}/democracyplayer-*.png
This page took 0.126466 seconds and 2 git commands to generate.