1 |
%define name mythplugins |
%define name mythplugins |
2 |
%define version 0.25.2 |
%define version 0.25.2 |
3 |
%define gitversion v0.25.2-16-gd5192 |
%define gitversion v0.25.2-16-gd5192 |
4 |
%define fixesdate 20120829 |
%define fixesdate 20120829 |
5 |
%define rel 2 |
%define rel 3 |
6 |
|
|
7 |
%define required_myth %{version} |
%define required_myth %{version} |
8 |
|
|
9 |
%if %{fixesdate} |
%if %{fixesdate} |
10 |
%define release %mkrel %fixesdate.%rel |
%define release %mkrel %fixesdate.%rel |
11 |
%else |
%else |
12 |
%define release %mkrel %rel |
%define release %mkrel %rel |
13 |
%endif |
%endif |
14 |
|
|
15 |
%if "%distro_section" == "tainted" |
%if "%distro_section" == "tainted" |
20 |
|
|
21 |
BuildRequires: mesagl-devel |
BuildRequires: mesagl-devel |
22 |
BuildRequires: libmyth-devel >= %{required_myth} |
BuildRequires: libmyth-devel >= %{required_myth} |
23 |
BuildRequires: python-mythtv >= %{required_myth} |
BuildRequires: python-mythtv >= %{required_myth} |
24 |
BuildRequires: libvisual-devel |
BuildRequires: libvisual-devel |
25 |
BuildRequires: fftw-devel |
BuildRequires: fftw-devel |
26 |
BuildRequires: SDL-devel |
BuildRequires: SDL-devel |
34 |
BuildRequires: tiff-devel |
BuildRequires: tiff-devel |
35 |
BuildRequires: mysql-devel |
BuildRequires: mysql-devel |
36 |
BuildRequires: taglib-devel |
BuildRequires: taglib-devel |
37 |
BuildRequires: python-curl |
BuildRequires: python-curl |
38 |
BuildRequires: python-oauth |
BuildRequires: python-oauth |
39 |
BuildRequires: perl-XML-XPath |
BuildRequires: perl-XML-XPath |
40 |
BuildRequires: perl-Image-Size |
BuildRequires: perl-Image-Size |
41 |
BuildRequires: perl-Date-Manip |
BuildRequires: perl-Date-Manip |
42 |
BuildRequires: perl-DateTime-Format-ISO8601 |
BuildRequires: perl-DateTime-Format-ISO8601 |
43 |
BuildRequires: perl-SOAP-Lite |
BuildRequires: perl-SOAP-Lite |
44 |
BuildRequires: perl-XML-Simple |
BuildRequires: perl-XML-Simple |
45 |
%if %{build_tainted} |
%if %{build_tainted} |
46 |
BuildRequires: lame-devel |
BuildRequires: lame-devel |
47 |
BuildRequires: libfaad2-devel |
BuildRequires: libfaad2-devel |
48 |
%endif |
%endif |
49 |
# (cg) Remove these once they are required in the python-mythtv package |
# (cg) Remove these once they are required in the python-mythtv package |
50 |
BuildRequires: python-lxml |
BuildRequires: python-lxml |
51 |
BuildRequires: python-mysql |
BuildRequires: python-mysql |
52 |
# (cg) Ditto for the perl-DateTime-Format-ISO pkg |
# (cg) Ditto for the perl-DateTime-Format-ISO pkg |
53 |
BuildRequires: perl(Class::Factory::Util) |
BuildRequires: perl(Class::Factory::Util) |
54 |
|
|
55 |
|
|
56 |
Summary: Official MythTV plugins |
Summary: Official MythTV plugins |
57 |
Name: %{name} |
Name: %{name} |
58 |
Version: %{version} |
Version: %{version} |
59 |
Release: %{release} |
Release: %{release} |
60 |
URL: http://www.mythtv.org/ |
URL: http://www.mythtv.org/ |
61 |
License: GPL |
License: GPLv2 |
62 |
Group: Video |
Group: Video/Television |
63 |
Source0: ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2 |
Source0: ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2 |
64 |
Source1: update-fixes.sh |
Source1: update-fixes.sh |
65 |
Patch001: fixes-%{gitversion}.patch |
Patch001: fixes-%{gitversion}.patch |
66 |
Patch100: 0100-lame-Allow-building-without-lame-libraries.patch |
Patch100: 0100-lame-Allow-building-without-lame-libraries.patch |
67 |
|
|
68 |
%description |
%description |
69 |
Mythplugins for MythTV. |
Mythplugins for MythTV. |
75 |
|
|
76 |
%package -n mythtv-plugin-browser |
%package -n mythtv-plugin-browser |
77 |
Summary: Full web browser for MythTV |
Summary: Full web browser for MythTV |
78 |
URL: http://www.mythtv.org/ |
URL: http://www.mythtv.org/ |
79 |
Group: Video |
Group: Video/Television |
80 |
Obsoletes: mythbrowser < 0.20a-7 |
Obsoletes: mythbrowser < 0.20a-7 |
81 |
Requires: mythtv-frontend >= %{required_myth} |
Requires: mythtv-frontend >= %{required_myth} |
82 |
|
|
84 |
MythBrowser is a full web browser for MythTV. |
MythBrowser is a full web browser for MythTV. |
85 |
|
|
86 |
%package -n mythtv-plugin-gallery |
%package -n mythtv-plugin-gallery |
87 |
Summary: Gallery/slideshow module for MythTV |
Summary: Gallery/slideshow module for MythTV |
88 |
Group: Video |
Group: Video/Television |
89 |
Requires: mythtv-frontend >= %{required_myth} |
Requires: mythtv-frontend >= %{required_myth} |
90 |
Obsoletes: mythgallery < 0.20a-7 |
Obsoletes: mythgallery < 0.20a-7 |
91 |
|
|
93 |
A gallery/slideshow module for MythTV. |
A gallery/slideshow module for MythTV. |
94 |
|
|
95 |
%package -n mythtv-plugin-game |
%package -n mythtv-plugin-game |
96 |
Summary: Game frontend for MythTV |
Summary: Game frontend for MythTV |
97 |
Group: Video |
Group: Video/Television |
98 |
Requires: mythtv-frontend >= %{required_myth} |
Requires: mythtv-frontend >= %{required_myth} |
99 |
Obsoletes: mythgame < 0.20a-7 |
Obsoletes: mythgame < 0.20a-7 |
100 |
|
|
102 |
A game frontend for MythTV. |
A game frontend for MythTV. |
103 |
|
|
104 |
%package -n mythtv-plugin-music |
%package -n mythtv-plugin-music |
105 |
Summary: The music player add-on module for MythTV |
Summary: The music player add-on module for MythTV |
106 |
Group: Video |
Group: Video/Television |
107 |
#Requires: cdparanoia |
#Requires: cdparanoia |
108 |
Requires: mythtv-frontend >= %{required_myth} |
Requires: mythtv-frontend >= %{required_myth} |
109 |
Obsoletes: mythmusic < 0.20a-7 |
Obsoletes: mythmusic < 0.20a-7 |
117 |
%endif |
%endif |
118 |
|
|
119 |
%package -n mythtv-plugin-netvision |
%package -n mythtv-plugin-netvision |
120 |
Summary: NetVision for MythTV |
Summary: NetVision for MythTV |
121 |
Group: Video |
Group: Video/Television |
122 |
Requires: mythtv-frontend >= %{required_myth} |
Requires: mythtv-frontend >= %{required_myth} |
123 |
|
|
124 |
%description -n mythtv-plugin-netvision |
%description -n mythtv-plugin-netvision |
125 |
NetVision for MythTV. View popular media website content. |
NetVision for MythTV. View popular media website content. |
126 |
|
|
127 |
%package -n mythtv-plugin-news |
%package -n mythtv-plugin-news |
128 |
Summary: RSS News feed plugin for MythTV |
Summary: RSS News feed plugin for MythTV |
129 |
Group: Video |
Group: Video/Television |
130 |
Requires: mythtv-frontend >= %{required_myth} |
Requires: mythtv-frontend >= %{required_myth} |
131 |
Obsoletes: mythnews < 0.20a-7 |
Obsoletes: mythnews < 0.20a-7 |
132 |
|
|
134 |
An RSS News feed plugin for MythTV. |
An RSS News feed plugin for MythTV. |
135 |
|
|
136 |
%package -n mythtv-plugin-weather |
%package -n mythtv-plugin-weather |
137 |
Summary: MythTV module that displays a weather forecast |
Summary: MythTV module that displays a weather forecast |
138 |
Group: Video |
Group: Video/Television |
139 |
Requires: mythtv-frontend >= %{required_myth} |
Requires: mythtv-frontend >= %{required_myth} |
140 |
Obsoletes: mythweather < 0.20a-7 |
Obsoletes: mythweather < 0.20a-7 |
141 |
|
|
143 |
A MythTV module that displays a weather forcast. |
A MythTV module that displays a weather forcast. |
144 |
|
|
145 |
%package -n mythtv-mythweb |
%package -n mythtv-mythweb |
146 |
Summary: The web interface to MythTV |
Summary: The web interface to MythTV |
147 |
Group: Video |
Group: Video/Television |
148 |
Requires: mythtv-backend >= %{required_myth} |
Requires: mythtv-backend >= %{required_myth} |
149 |
Requires: apache-mod_php >= 2.0.54 |
Requires: apache-mod_php >= 2.0.54 |
150 |
Requires: php-mythtv |
Requires: php-mythtv |
151 |
Obsoletes: mythweb < 0.20a-7 |
Obsoletes: mythweb < 0.20a-7 |
152 |
# Requires autofinder is confused, requires nonexistent packages |
# Requires autofinder is confused, requires nonexistent packages |
156 |
The web interface to MythTV. |
The web interface to MythTV. |
157 |
|
|
158 |
%package -n mythtv-plugin-zoneminder |
%package -n mythtv-plugin-zoneminder |
159 |
Summary: Security camera plugin for MythTV |
Summary: Security camera plugin for MythTV |
160 |
Group: Video |
Group: Video/Television |
161 |
Requires: mythtv-frontend >= %{required_myth} |
Requires: mythtv-frontend >= %{required_myth} |
162 |
|
|
163 |
%description -n mythtv-plugin-zoneminder |
%description -n mythtv-plugin-zoneminder |
164 |
A security camera plugin for MythTV. |
A security camera plugin for MythTV. |
165 |
|
|
166 |
%package -n mythtv-plugin-archive |
%package -n mythtv-plugin-archive |
167 |
Summary: Creates DVDs from your recorded shows |
Summary: Creates DVDs from your recorded shows |
168 |
Group: Video |
Group: Video/Television |
169 |
Requires: dvd+rw-tools |
Requires: dvd+rw-tools |
170 |
Requires: dvdauthor |
Requires: dvdauthor |
171 |
Requires: ffmpeg |
Requires: ffmpeg |
207 |
|
|
208 |
%install |
%install |
209 |
|
|
|
rm -rf %{buildroot} |
|
|
|
|
210 |
INSTALL_ROOT=%{buildroot}; export INSTALL_ROOT |
INSTALL_ROOT=%{buildroot}; export INSTALL_ROOT |
211 |
%makeinstall |
%makeinstall |
212 |
|
|
255 |
mkdir -p %{buildroot}{%_docdir}/mythtv-plugin-{browser,gallery,game,music,netvision,news,weather,video,zoneminder} |
mkdir -p %{buildroot}{%_docdir}/mythtv-plugin-{browser,gallery,game,music,netvision,news,weather,video,zoneminder} |
256 |
|
|
257 |
|
|
|
%clean |
|
|
rm -rf %{buildroot} |
|
|
|
|
258 |
%files -n mythtv-plugin-browser |
%files -n mythtv-plugin-browser |
|
%defattr(-,root,root,-) |
|
259 |
%doc mythbrowser/README mythbrowser/COPYING mythbrowser/AUTHORS |
%doc mythbrowser/README mythbrowser/COPYING mythbrowser/AUTHORS |
260 |
%{_libdir}/mythtv/plugins/libmythbrowser.so |
%{_libdir}/mythtv/plugins/libmythbrowser.so |
261 |
%{_datadir}/mythtv/i18n/mythbrowser_*.qm |
%{_datadir}/mythtv/i18n/mythbrowser_*.qm |
263 |
%{_datadir}/mythtv/themes/default*/mb_*.png |
%{_datadir}/mythtv/themes/default*/mb_*.png |
264 |
|
|
265 |
%files -n mythtv-plugin-gallery |
%files -n mythtv-plugin-gallery |
|
%defattr(-,root,root,-) |
|
266 |
%doc mythgallery/README* |
%doc mythgallery/README* |
267 |
%{_libdir}/mythtv/plugins/libmythgallery.so |
%{_libdir}/mythtv/plugins/libmythgallery.so |
268 |
%{_datadir}/mythtv/i18n/mythgallery_*.qm |
%{_datadir}/mythtv/i18n/mythgallery_*.qm |
270 |
%{_localstatedir}/lib/pictures |
%{_localstatedir}/lib/pictures |
271 |
|
|
272 |
%files -n mythtv-plugin-game |
%files -n mythtv-plugin-game |
|
%defattr(-,root,root,-) |
|
273 |
%doc mythgame/romdb* |
%doc mythgame/romdb* |
274 |
%{_libdir}/mythtv/plugins/libmythgame.so |
%{_libdir}/mythtv/plugins/libmythgame.so |
275 |
%{_datadir}/mythtv/i18n/mythgame_*.qm |
%{_datadir}/mythtv/i18n/mythgame_*.qm |
279 |
%{_datadir}/mythtv/metadata/Game |
%{_datadir}/mythtv/metadata/Game |
280 |
|
|
281 |
%files -n mythtv-plugin-music |
%files -n mythtv-plugin-music |
|
%defattr(-,root,root,-) |
|
282 |
%doc mythmusic/AUTHORS mythmusic/COPYING mythmusic/README* mythmusic/musicdb |
%doc mythmusic/AUTHORS mythmusic/COPYING mythmusic/README* mythmusic/musicdb |
283 |
%{_datadir}/mythtv/music_settings.xml |
%{_datadir}/mythtv/music_settings.xml |
284 |
%{_datadir}/mythtv/musicmenu.xml |
%{_datadir}/mythtv/musicmenu.xml |
302 |
%{_datadir}/mythtv/themes/default-wide/music-sel-bg.png |
%{_datadir}/mythtv/themes/default-wide/music-sel-bg.png |
303 |
|
|
304 |
%files -n mythtv-plugin-netvision |
%files -n mythtv-plugin-netvision |
|
%defattr(-,root,root,-) |
|
305 |
%doc mythnetvision/README mythnetvision/ChangeLog mythnetvision/AUTHORS |
%doc mythnetvision/README mythnetvision/ChangeLog mythnetvision/AUTHORS |
306 |
%{_bindir}/mythfillnetvision |
%{_bindir}/mythfillnetvision |
307 |
%{_libdir}/mythtv/plugins/libmythnetvision.so |
%{_libdir}/mythtv/plugins/libmythnetvision.so |
311 |
%{_datadir}/mythtv/themes/default*/netvision*.xml |
%{_datadir}/mythtv/themes/default*/netvision*.xml |
312 |
|
|
313 |
%files -n mythtv-plugin-news |
%files -n mythtv-plugin-news |
|
%defattr(-,root,root,-) |
|
314 |
%doc mythnews/AUTHORS mythnews/COPYING mythnews/ChangeLog mythnews/README* |
%doc mythnews/AUTHORS mythnews/COPYING mythnews/ChangeLog mythnews/README* |
315 |
%{_libdir}/mythtv/plugins/libmythnews.so |
%{_libdir}/mythtv/plugins/libmythnews.so |
316 |
%{_datadir}/mythtv/i18n/mythnews_*.qm |
%{_datadir}/mythtv/i18n/mythnews_*.qm |
320 |
%{_datadir}/mythtv/themes/default/need-download.png |
%{_datadir}/mythtv/themes/default/need-download.png |
321 |
%{_datadir}/mythtv/themes/default/podcast.png |
%{_datadir}/mythtv/themes/default/podcast.png |
322 |
|
|
|
|
|
323 |
%files -n mythtv-plugin-weather |
%files -n mythtv-plugin-weather |
|
%defattr(-,root,root,-) |
|
324 |
%doc mythweather/AUTHORS mythweather/COPYING mythweather/README* |
%doc mythweather/AUTHORS mythweather/COPYING mythweather/README* |
325 |
%{_libdir}/mythtv/plugins/libmythweather.so |
%{_libdir}/mythtv/plugins/libmythweather.so |
326 |
%{_datadir}/mythtv/i18n/mythweather_*.qm |
%{_datadir}/mythtv/i18n/mythweather_*.qm |
344 |
%{_datadir}/mythtv/weather_settings.xml |
%{_datadir}/mythtv/weather_settings.xml |
345 |
|
|
346 |
%files -n mythtv-mythweb |
%files -n mythtv-mythweb |
|
%defattr(-,root,root,-) |
|
347 |
%doc mythweb/README* mythweb/LICENSE mythweb/INSTALL mythweb/mythweb.conf.* |
%doc mythweb/README* mythweb/LICENSE mythweb/INSTALL mythweb/mythweb.conf.* |
348 |
%{_var}/www/mythweb |
%{_var}/www/mythweb |
349 |
%dir %{_localstatedir}/lib/mythweb |
%dir %{_localstatedir}/lib/mythweb |
351 |
%config(noreplace) %{_sysconfdir}/httpd/conf/webapps.d/mythweb.conf |
%config(noreplace) %{_sysconfdir}/httpd/conf/webapps.d/mythweb.conf |
352 |
|
|
353 |
%files -n mythtv-plugin-zoneminder |
%files -n mythtv-plugin-zoneminder |
|
%defattr(-,root,root,-) |
|
354 |
%doc mythzoneminder/README mythzoneminder/COPYING mythzoneminder/AUTHORS |
%doc mythzoneminder/README mythzoneminder/COPYING mythzoneminder/AUTHORS |
355 |
%{_bindir}/mythzmserver |
%{_bindir}/mythzmserver |
356 |
%{_libdir}/mythtv/plugins/libmythzoneminder.so |
%{_libdir}/mythtv/plugins/libmythzoneminder.so |
360 |
%{_datadir}/mythtv/i18n/mythzoneminder_*.qm |
%{_datadir}/mythtv/i18n/mythzoneminder_*.qm |
361 |
|
|
362 |
%files -n mythtv-plugin-archive |
%files -n mythtv-plugin-archive |
|
%defattr(-,root,root) |
|
363 |
%{_bindir}/mytharchivehelper |
%{_bindir}/mytharchivehelper |
364 |
%{_libdir}/mythtv/plugins/libmytharchive.so |
%{_libdir}/mythtv/plugins/libmytharchive.so |
365 |
%{_datadir}/mythtv/archive*.xml |
%{_datadir}/mythtv/archive*.xml |
372 |
%{_datadir}/mythtv/themes/default-wide/mythburn-ui.xml |
%{_datadir}/mythtv/themes/default-wide/mythburn-ui.xml |
373 |
%{_datadir}/mythtv/themes/default-wide/mythnative-ui.xml |
%{_datadir}/mythtv/themes/default-wide/mythnative-ui.xml |
374 |
%{_datadir}/mythtv/i18n/mytharchive_*.qm |
%{_datadir}/mythtv/i18n/mytharchive_*.qm |
|
|
|
|
|
|