]> git.pld-linux.org Git - packages/democracy.git/blame - democracy.spec
- R python-gnome-vfs
[packages/democracy.git] / democracy.spec
CommitLineData
7115a686
ER
1Summary: Internet television application
2Name: democracy
3Version: 0.9.2.2
489a05ab 4Release: 0.2
7115a686
ER
5License: GPL
6Group: Applications/Multimedia
7Source0: ftp://ftp.osuosl.org/pub/pculture.org/democracy/src/Democracy-%{version}.tar.gz
8# Source0-md5: 0b92aa3efb2a93e7c066152137fcf9fa
8f9c0edd 9Patch0: %{name}-lib64.patch
7115a686
ER
10URL: http://www.getdemocracy.com/
11BuildRequires: boost-python-devel
12BuildRequires: libfame
7115a686
ER
13BuildRequires: python-Pyrex
14BuildRequires: python-devel >= 1:2.4
15BuildRequires: python-pygtk-devel
16BuildRequires: xine-lib-devel
489a05ab 17BuildRequires: xulrunner-devel
7115a686 18Requires: python-dbus
489a05ab 19Requires: python-gnome-vfs
7115a686
ER
20%pyrequires_eq python
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Democracy Player (also known as Democracy and DTV) is an Internet
25television application developed by the Participatory Culture
26Foundation (PCF). It can automatically download videos from RSS-based
27"channels", as well as managing and playing the videos collected from
28these channels.
29
30Democracy Player integrates an RSS aggregator, a BitTorrent client,
31and VLC media player (or Xine Media Player under GNU/Linux).
32
33%prep
34%setup -q -n Democracy-%{version}
8f9c0edd
ER
35%if "%{_lib}" != "lib"
36%patch0 -p1
37%endif
7115a686
ER
38
39mv platform/gtk-x11/README README.gtk-x11
40
41%build
42cd platform/gtk-x11
43
8f9c0edd
ER
44CC="%{__cc}" \
45CFLAGS="%{rpmcflags}" \
46%{__python} setup.py build
7115a686
ER
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51cd platform/gtk-x11
52%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
53cd ../..
54
55%py_postclean $RPM_BUILD_ROOT%{py_sitedir}/democracy
56
57%find_lang democracyplayer
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files -f democracyplayer.lang
63%defattr(644,root,root,755)
64%doc CREDITS README README.gtk-x11
65%attr(755,root,root) %{_bindir}/democracyplayer
66
67%dir %{py_sitedir}/democracy
68%{py_sitedir}/democracy/*.py[co]
69%dir %{py_sitedir}/democracy/BitTorrent
70%{py_sitedir}/democracy/BitTorrent/*.py[co]
71%dir %{py_sitedir}/democracy/compiled_templates
72%{py_sitedir}/democracy/compiled_templates/*.py[co]
73%dir %{py_sitedir}/democracy/compiled_templates/unittest
74%{py_sitedir}/democracy/compiled_templates/unittest/*.py[co]
75%dir %{py_sitedir}/democracy/dl_daemon
76%{py_sitedir}/democracy/dl_daemon/*.py[co]
77%dir %{py_sitedir}/democracy/dl_daemon/private
78%{py_sitedir}/democracy/dl_daemon/private/*.py[co]
79%dir %{py_sitedir}/democracy/frontend_implementation
80%{py_sitedir}/democracy/frontend_implementation/*.py[co]
81%dir %{py_sitedir}/democracy/test
82%{py_sitedir}/democracy/test/*.py[co]
83%attr(755,root,root) %{py_sitedir}/democracy/MozillaBrowser.so
84%attr(755,root,root) %{py_sitedir}/democracy/database.so
85%attr(755,root,root) %{py_sitedir}/democracy/fasttypes.so
86%attr(755,root,root) %{py_sitedir}/democracy/sorts.so
87%attr(755,root,root) %{py_sitedir}/democracy/xine.so
88%attr(755,root,root) %{py_sitedir}/democracy/xlibhelper.so
89
90%{_desktopdir}/democracyplayer.desktop
91%{_datadir}/democracy
92%{_mandir}/man1/democracyplayer.1*
93%{_datadir}/mime/packages/democracy.xml
94%{_pixmapsdir}/democracyplayer-*.png
This page took 0.512201 seconds and 4 git commands to generate.