]> git.pld-linux.org Git - packages/democracy.git/blame - democracy.spec
BR: rpmbuild(macros) >= 1.710
[packages/democracy.git] / democracy.spec
CommitLineData
953f5b1a
ER
1# TODO
2# - make /usr/lib64/python2.4/site-packages/democracy/MozillaBrowser.so
3# to be linked with RPATH /usr/lib64/xulrunner. actually to fix as setuputils
4# passes -R which is not accepted by compiler (should be -Wl,-rpath,/usr/lib64/xulrunner).
5# until then start program with 'LD_LIBRARY_PATH=/usr/lib64/xulrunner democracy'
7115a686 6Summary: Internet television application
e0709863 7Summary(pl.UTF-8): Aplikacja do telewizji internetowej
7115a686
ER
8Name: democracy
9Version: 0.9.2.2
489a05ab 10Release: 0.2
7115a686 11License: GPL
3d1becf0 12Group: X11/Applications/Multimedia
7115a686
ER
13Source0: ftp://ftp.osuosl.org/pub/pculture.org/democracy/src/Democracy-%{version}.tar.gz
14# Source0-md5: 0b92aa3efb2a93e7c066152137fcf9fa
8f9c0edd 15Patch0: %{name}-lib64.patch
7115a686 16URL: http://www.getdemocracy.com/
088f9781 17BuildRequires: rpmbuild(macros) >= 1.710
7115a686
ER
18BuildRequires: boost-python-devel
19BuildRequires: libfame
7115a686
ER
20BuildRequires: python-Pyrex
21BuildRequires: python-devel >= 1:2.4
22BuildRequires: python-pygtk-devel
23BuildRequires: xine-lib-devel
489a05ab 24BuildRequires: xulrunner-devel
e29685dc 25Requires: gstreamer-imagesink-x
7115a686 26Requires: python-dbus
e29685dc 27Requires: python-gnome-extras-mozilla
489a05ab 28Requires: python-gnome-vfs
e29685dc 29Requires: python-gstreamer
ed6c3f10 30Requires: python-pygtk-glade
4f8a7110 31Requires: shared-mime-info
5259ede3 32%pyrequires_eq python
7115a686
ER
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36Democracy Player (also known as Democracy and DTV) is an Internet
37television application developed by the Participatory Culture
38Foundation (PCF). It can automatically download videos from RSS-based
39"channels", as well as managing and playing the videos collected from
40these channels.
41
42Democracy Player integrates an RSS aggregator, a BitTorrent client,
43and VLC media player (or Xine Media Player under GNU/Linux).
44
96f7fea5
JR
45%description -l pl.UTF-8
46Democracy Player (znany także jako Democracy albo DTV) to aplikacja do
47telewizji internetowej stworzona przez fundację Participatory Culture
48Foundation (PCF). Potrafi automatycznie ściągać filmy z "kanałów"
49opartych o RSS, a także zarządzać i odtwarzać filmy uzyskane z tych
50kanałów.
3d1becf0 51
96f7fea5 52Democracy Player integruje się z agregatorem RSS, klientem BitTorrenta
3d1becf0
JB
53oraz odtwarzaczem multimedialnym VLC (lub Xine Media Playerem pod
54Linuksem).
55
7115a686
ER
56%prep
57%setup -q -n Democracy-%{version}
8f9c0edd
ER
58%if "%{_lib}" != "lib"
59%patch0 -p1
60%endif
7115a686
ER
61
62mv platform/gtk-x11/README README.gtk-x11
63
64%build
65cd platform/gtk-x11
66
f4293eed 67%py_build
7115a686
ER
68
69%install
70rm -rf $RPM_BUILD_ROOT
71
72cd platform/gtk-x11
f4293eed 73%py_install -O1 --skip-build --root $RPM_BUILD_ROOT
7115a686
ER
74cd ../..
75
76%py_postclean $RPM_BUILD_ROOT%{py_sitedir}/democracy
77
78%find_lang democracyplayer
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%files -f democracyplayer.lang
84%defattr(644,root,root,755)
85%doc CREDITS README README.gtk-x11
86%attr(755,root,root) %{_bindir}/democracyplayer
87
88%dir %{py_sitedir}/democracy
89%{py_sitedir}/democracy/*.py[co]
90%dir %{py_sitedir}/democracy/BitTorrent
91%{py_sitedir}/democracy/BitTorrent/*.py[co]
92%dir %{py_sitedir}/democracy/compiled_templates
93%{py_sitedir}/democracy/compiled_templates/*.py[co]
94%dir %{py_sitedir}/democracy/compiled_templates/unittest
95%{py_sitedir}/democracy/compiled_templates/unittest/*.py[co]
96%dir %{py_sitedir}/democracy/dl_daemon
97%{py_sitedir}/democracy/dl_daemon/*.py[co]
98%dir %{py_sitedir}/democracy/dl_daemon/private
99%{py_sitedir}/democracy/dl_daemon/private/*.py[co]
100%dir %{py_sitedir}/democracy/frontend_implementation
101%{py_sitedir}/democracy/frontend_implementation/*.py[co]
102%dir %{py_sitedir}/democracy/test
103%{py_sitedir}/democracy/test/*.py[co]
104%attr(755,root,root) %{py_sitedir}/democracy/MozillaBrowser.so
105%attr(755,root,root) %{py_sitedir}/democracy/database.so
106%attr(755,root,root) %{py_sitedir}/democracy/fasttypes.so
107%attr(755,root,root) %{py_sitedir}/democracy/sorts.so
108%attr(755,root,root) %{py_sitedir}/democracy/xine.so
109%attr(755,root,root) %{py_sitedir}/democracy/xlibhelper.so
110
111%{_desktopdir}/democracyplayer.desktop
112%{_datadir}/democracy
113%{_mandir}/man1/democracyplayer.1*
114%{_datadir}/mime/packages/democracy.xml
115%{_pixmapsdir}/democracyplayer-*.png
This page took 0.080357 seconds and 4 git commands to generate.