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