]> git.pld-linux.org Git - packages/democracy.git/blob - democracy.spec
BR: rpmbuild(macros) >= 1.710
[packages/democracy.git] / democracy.spec
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'
6 Summary:        Internet television application
7 Summary(pl.UTF-8):      Aplikacja do telewizji internetowej
8 Name:           democracy
9 Version:        0.9.2.2
10 Release:        0.2
11 License:        GPL
12 Group:          X11/Applications/Multimedia
13 Source0:        ftp://ftp.osuosl.org/pub/pculture.org/democracy/src/Democracy-%{version}.tar.gz
14 # Source0-md5:  0b92aa3efb2a93e7c066152137fcf9fa
15 Patch0:         %{name}-lib64.patch
16 URL:            http://www.getdemocracy.com/
17 BuildRequires:  rpmbuild(macros) >= 1.710
18 BuildRequires:  boost-python-devel
19 BuildRequires:  libfame
20 BuildRequires:  python-Pyrex
21 BuildRequires:  python-devel >= 1:2.4
22 BuildRequires:  python-pygtk-devel
23 BuildRequires:  xine-lib-devel
24 BuildRequires:  xulrunner-devel
25 Requires:       gstreamer-imagesink-x
26 Requires:       python-dbus
27 Requires:       python-gnome-extras-mozilla
28 Requires:       python-gnome-vfs
29 Requires:       python-gstreamer
30 Requires:       python-pygtk-glade
31 Requires:       shared-mime-info
32 %pyrequires_eq  python
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Democracy Player (also known as Democracy and DTV) is an Internet
37 television application developed by the Participatory Culture
38 Foundation (PCF). It can automatically download videos from RSS-based
39 "channels", as well as managing and playing the videos collected from
40 these channels.
41
42 Democracy Player integrates an RSS aggregator, a BitTorrent client,
43 and VLC media player (or Xine Media Player under GNU/Linux).
44
45 %description -l pl.UTF-8
46 Democracy Player (znany także jako Democracy albo DTV) to aplikacja do
47 telewizji internetowej stworzona przez fundację Participatory Culture
48 Foundation (PCF). Potrafi automatycznie ściągać filmy z "kanałów"
49 opartych o RSS, a także zarządzać i odtwarzać filmy uzyskane z tych
50 kanałów.
51
52 Democracy Player integruje się z agregatorem RSS, klientem BitTorrenta
53 oraz odtwarzaczem multimedialnym VLC (lub Xine Media Playerem pod
54 Linuksem).
55
56 %prep
57 %setup -q -n Democracy-%{version}
58 %if "%{_lib}" != "lib"
59 %patch0 -p1
60 %endif
61
62 mv platform/gtk-x11/README README.gtk-x11
63
64 %build
65 cd platform/gtk-x11
66
67 %py_build
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 cd platform/gtk-x11
73 %py_install -O1 --skip-build --root $RPM_BUILD_ROOT
74 cd ../..
75
76 %py_postclean $RPM_BUILD_ROOT%{py_sitedir}/democracy
77
78 %find_lang democracyplayer
79
80 %clean
81 rm -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.04154 seconds and 3 git commands to generate.