]> git.pld-linux.org Git - packages/mythplugins.git/blob - mythplugins.spec
- the unmaintained mythweb-config.patch replaced with a single chdir() and a symlink...
[packages/mythplugins.git] / mythplugins.spec
1 #
2 # Conditional build:
3 %bcond_without  binary          # skip building binary plugins (build only mythweb)
4 %bcond_without  mytharchive     # disable mytharchive plugin
5 %bcond_without  mythbrowser     # disable building mythbrowser plugin
6 %bcond_without  mythmovies      # disable mythmovies plugin
7 %bcond_without  mythdvd         # mythvideo part
8 %bcond_without  mythflix        # disable building mythflix plugin
9 %bcond_without  mythgallery     # disable building mythgallery plugin
10 %bcond_without  mythgame        # disable building mythgallery plugin
11 %bcond_without  mythmusic       # disable building mythmusic plugin
12 %bcond_without  mythnews        # disable building mythgallery plugin
13 %bcond_without  mythvideo       # disable building mythgallery plugin
14 %bcond_without  mythweather     # building mythgallery plugin disabled by default
15                                 # it looks unusable "due to msnbc webpage structure change
16 %bcond_without  mythweb         # disable building mythgallery plugin
17 %bcond_without  mythzoneminder  # disable building mythzoneminder plugin
18
19 %if !%{with binary}
20 %undefine       with_mytharchive
21 %undefine       with_mythbrowser
22 %undefine       with_mythmovies
23 %undefine       with_mythdvd
24 %undefine       with_mythflix
25 %undefine       with_mythgallery
26 %undefine       with_mythgame
27 %undefine       with_mythmusic
28 %undefine       with_mythnews
29 %undefine       with_mythvideo
30 %undefine       with_mythweather
31 %endif
32
33 %include        /usr/lib/rpm/macros.perl
34
35 Summary:        Main MythTV plugins
36 Summary(pl.UTF-8):      Główne wtyczki MythTV
37 Name:           mythplugins
38 Version:        0.22
39 Release:        2
40 License:        GPL v2
41 Group:          Applications/Multimedia
42 Source0:        ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2
43 # Source0-md5:  09c8fa1058399a0c5db169a71561e985
44 Source1:        mythweb.conf
45 #Patch0: %{name}-lib64.patch
46 #Patch1: %{name}-paths.patch
47 Patch2:         mythweb-chdir.patch
48 Patch20:        %{name}-mytharchive-INT64.patch
49 #Patch21:       mythmusic_fftw3.patch
50 #Patch100:      mythtv-branch.diff
51 URL:            http://www.mythtv.org/
52 %if %{with binary}
53 %if %{with mythgallery} || %{with myhtmusic}
54 BuildRequires:  OpenGL-devel
55 %endif
56 BuildRequires:  Qt3Support-devel
57 BuildRequires:  QtCore-devel
58 BuildRequires:  QtGui-devel
59 BuildRequires:  QtNetwork-devel
60 BuildRequires:  QtOpenGL-devel
61 BuildRequires:  QtSql-devel
62 BuildRequires:  QtWebKit-devel
63 BuildRequires:  QtXml-devel
64 BuildRequires:  SDL-devel
65 BuildRequires:  a52dec-libs-devel
66 BuildRequires:  cdparanoia-III-devel
67 BuildRequires:  faad2-devel >= 2.0-5.2
68 %{?with_mythmusic:BuildRequires:        fftw-devel >= 2.1.3}
69 BuildRequires:  flac-devel >= 1.0.4
70 BuildRequires:  freetype-devel
71 BuildRequires:  libcdaudio-devel >= 0.99.12p2
72 BuildRequires:  libdvdcss-devel >= 1.2.7
73 BuildRequires:  libdvdread-devel >= 0.9.4
74 %{?with_mythgallery:BuildRequires:      libexif-devel >= 1:0.6.9}
75 BuildRequires:  libfame-devel >= 0.9.0
76 BuildRequires:  libid3tag-devel
77 BuildRequires:  libmad-devel
78 BuildRequires:  libmyth-devel > 0.21
79 BuildRequires:  libstdc++-devel
80 BuildRequires:  libtiff-devel
81 BuildRequires:  libvorbis-devel >= 1:1.0
82 BuildRequires:  mjpegtools-devel >= 1.6.1
83 BuildRequires:  nasm
84 BuildRequires:  patchutils
85 BuildRequires:  qt4-build
86 BuildRequires:  qt4-qmake
87 BuildRequires:  rpm-perlprov >= 4.1-13
88 BuildRequires:  sed >= 4.0
89 %{?with_mythmusic:BuildRequires:        taglib-devel}
90 %{?with_mythdvd:BuildRequires:  transcode >= 0.6.8}
91 BuildRequires:  xorg-lib-libX11-devel
92 BuildRequires:  xvid-devel >= 1:0.9.1
93 BuildRequires:  zlib-devel
94 %endif
95 %{?with_mytharchive:Requires:   mytharchive}
96 %{?with_mythbrowser:Requires:   mythbrowser}
97 %{?with_mythdvd:Requires:       mythdvd}
98 %{?with_mythflix:Requires:      mythflix}
99 %{?with_mythgallery:Requires:   mythgallery}
100 %{?with_mythgame:Requires:      mythgame}
101 %{?with_mythmysic:Requires:     mythmusic}
102 %{?with_mythnews:Requires:      mythnews}
103 %{?with_mythvideo:Requires:     mythvideo}
104 %{?with_mythweather:Requires:   mythweather}
105 %{?with_mythweb:Requires:       mythweb}
106 ExclusiveArch:  %{ix86} %{x8664} ppc
107 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108
109 %define         myth_api_version %(awk '/LIBVERSION/{print $3}' %{_datadir}/mythtv/build/settings.pro 2>/dev/null || echo ERROR)
110 %define         _webapps        /etc/webapps
111 %define         _webapp         mythweb
112
113 %description
114 This is a consolidation of all the official MythTV plugins that used
115 to be distributed as separate downloads from mythtv.org.
116
117 %description -l pl.UTF-8
118 Jest to zbiór wszystkich oficjalnych wtyczek MythTV, które były
119 wcześniej rozpowszechniane jako osobne pakiety na mythtv.org.
120
121 %package -n mytharchive
122 Summary:        A MythTV module to create and burn DVDs
123 Summary(pl.UTF-8):      Moduł MythTV do tworzenia i wypalania DVD
124 Group:          Applications/Multimedia
125 Requires:       dvdauthor
126 Requires:       mjpegtools
127 Requires:       mythtv-frontend-api = %{myth_api_version}
128 Requires:       python-MySQLdb
129 Requires:       python-PIL
130 Suggests:       dvdrtools-mkisofs
131
132 %description -n mytharchive
133 MythArchive is a MythTV style plugin that uses the Mythburn Script to
134 create and burn DVDs from MythTV recordings, MythVideo files or any
135 video files available on a MythTV system. It can also export
136 recordings to a native archive format that can then be imported back
137 into a MythTV system restoring all the associated metadata.
138
139 %description -n mytharchive -l pl.UTF-8
140 MythArchive to wtyczka MythTV używająca skryptu Mythburn do tworzenia
141 i wypalania płyt DVD z nagrań MythTV, plików MythVideo lub dowolnych
142 innych plików z filmami dostępnych w systemie MythTV. Może także
143 eksportować nagrania do natywnego formatu archiwum, który potem można
144 zaimportować z powrotem do systemu MythTV przywracając wszystkie
145 związane z nimi metadane.
146
147 %package -n mythmusic
148 Summary:        The music player add-on module for MythTV
149 Summary(pl.UTF-8):      Moduł odtwarzacza muzyki dla MythTV
150 Group:          Applications/Multimedia
151 BuildRequires:  libvisual-devel
152 Requires:       mythtv-frontend-api = %{myth_api_version}
153
154 %description -n mythmusic
155 Music add-on for MythTV.
156
157 %description -n mythmusic -l pl.UTF-8
158 Odtwarzacz muzyki dla MythTV.
159
160 %package -n mythvideo
161 Summary:        A generic video player frontend module for MythTV
162 Summary(pl.UTF-8):      Moduł ogólnego interfejsu do odtwarzania obrazu dla MythTV
163 Group:          Applications/Multimedia
164 Requires:       mplayer
165 Requires:       mythtv-frontend-api = %{myth_api_version}
166
167 %description -n mythvideo
168 A generic video and dvd player frontend module for MythTV.
169
170 %description -n mythvideo -l pl.UTF-8
171 Moduł ogólnego interfejsu do odtwarzania obrazu dla MythTV.
172
173 %package -n mythweather
174 Summary:        A MythTV module that displays a weather forcast
175 Summary(pl.UTF-8):      Moduł MythTV wyświetlający prognozę pogody
176 Group:          Applications/Multimedia
177 Requires:       mythtv-frontend-api = %{myth_api_version}
178
179 %description -n mythweather
180 A MythTV module that displays a weather forcast.
181
182 %description -n mythweather -l pl.UTF-8
183 Moduł MythTV wyświetlający prognozę pogody.
184
185 %package -n mythgallery
186 Summary:        A gallery/slideshow module for MythTV
187 Summary(pl.UTF-8):      Moduł galerii/pokazu slajdów dla MythTV
188 Group:          Applications/Multimedia
189 Requires:       mythtv-frontend-api = %{myth_api_version}
190
191 %description -n mythgallery
192 A gallery/slideshow module for MythTV.
193
194 %description -n mythgallery -l pl.UTF-8
195 Moduł galerii/pokazu slajdów dla MythTV.
196
197 %package -n mythgame
198 Summary:        A game frontend (xmame, nes, snes, pc) for MythTV
199 Summary(pl.UTF-8):      Interfejs do gier (xmame, nes, snes, pc) dla MythTV
200 Group:          Applications/Multimedia
201 Requires:       mythtv-frontend-api = %{myth_api_version}
202
203 %description -n mythgame
204 A game frontend (xmame, nes, snes, pc) for MythTV.
205
206 %description -n mythgame -l pl.UTF-8
207 Interfejs do gier (xmame, nes, snes, pc) dla MythTV.
208
209 %package -n mythdvd
210 Summary:        A DVD ripper module for MythTV
211 Summary(pl.UTF-8):      Moduł rippujący DVD dla MythTV
212 Group:          Applications/Multimedia
213 Requires:       mythtv-frontend-api = %{myth_api_version}
214 Requires:       mythvideo
215 Requires:       transcode >= 0.6.8
216
217 %description -n mythdvd
218 MythDVD is a MythTV module that allows you to rip DVD's and transcode
219 their video and audio content to other (generally smaller) formats.
220 The playing features are simply myth-style wrappers for your favourite
221 DVD playing software (mplayer, ogle, xine, etc). The transcoding is
222 based on and derived from the excellent transcode package.
223
224 %description -n mythdvd -l pl.UTF-8
225 MythDVD to moduł MythTV umożliwiający rippowanie DVD oraz
226 przekodowywanie obrazu i dźwięku do innych (zwykle mniej zajmujących)
227 formatów. Możliwości odtwarzania to po prostu obudowanie w stylu myth
228 dla ulubionego oprogramowania do odtwarzania DVD (mplayer, ogle, xine
229 itp.). Przekodowywanie jest oparte i wywodzi się ze wspaniałego
230 pakietu transcode.
231
232 %package -n mythnews
233 Summary:        A RSS News Feed plugin for MythTV
234 Summary(pl.UTF-8):      Wtyczka czytnika nowinek RSS dla MythTV
235 Group:          Applications/Multimedia
236 Requires:       mythtv-frontend-api = %{myth_api_version}
237
238 %description -n mythnews
239 A RSS News Feed plugin for MythTV.
240
241 %description -n mythnews -l pl.UTF-8
242 Wtyczka czytnika nowinek RSS dla MythTV.
243
244 %package -n mythbrowser
245 Summary:        A small web browser module for MythTV
246 Summary(pl.UTF-8):      Moduł małej przeglądarki WWW dla MythTV
247 Group:          Applications/Multimedia
248 Requires:       mythtv-frontend-api = %{myth_api_version}
249
250 %description -n mythbrowser
251 MythBrowser is a full fledged web-browser (multiple tabs) to display
252 webpages in full-screen mode. Simple page navigation is possible.
253 Starting with version 0.13 it also has full support for mouse driven
254 navigation (right mouse opens and closes the popup menu).
255
256 MythBrowser also contains a BookmarkManager to manage the website
257 links in a simple mythplugin.
258
259 %description -n mythbrowser -l pl.UTF-8
260 MythBrowser to w pełni funkcjonalna przeglądarka WWW (z wieloma
261 zakładkami) wyświetlająca strony WWW w trybie pełnoekranowym. Możliwa
262 jest prosta nawigacja po stronie. Począwszy od wersji 0.13 ma pełną
263 obsługę nawigacji myszką (prawy przycisk otwiera i zamywa wyskakujące
264 menu).
265
266 MythBrowser zawiera także BookmarkManagera do zarządzania odnośnikami
267 do stron w prostej wtyczce myth.
268
269 %package -n mythweb
270 Summary:        The web interface to MythTV
271 Summary(pl.UTF-8):      Interfejs WWW do MythTV
272 Group:          Applications/Multimedia
273 Requires:       php(mysql)
274 Requires:       php(posix)
275 Requires:       webapps
276 Requires:       webserver(php) >= 4.3
277 #Suggests:      apache(mod_auth)
278 #Suggests:      apache(mod_env)
279
280 %description -n mythweb
281 The web interface to MythTV.
282
283 %description -n mythweb -l pl.UTF-8
284 Interfejs WWW do MythTV.
285
286 %package -n mythflix
287 Summary:        MythFlix (A NetFlix MythTV)
288 Summary(pl.UTF-8):      MythFlix (NetFlix MythTV)
289 Group:          Applications/Multimedia
290 Requires:       mythtv-frontend-api = %{myth_api_version}
291
292 %description -n mythflix
293 MythFlix is a MythTV plugin for adding movies to your Netflix queue.
294 It currently supports the ability to view your queue and add movies to
295 your queue. The browse feature is based on the Netflix RSS feeds. This
296 plugin is not very mature, which means things might not work right
297 and/or it might break other things.
298
299 %description -n mythflix -l pl.UTF-8
300 MythFlix to wtyczka MythTV do dodawania filmów do kolejki Netfliksa.
301 Aktualnie daje możliwość oglądania kolejki i dodawania do niej filmów.
302 Przeglądanie jest oparte na kanale RSS Netfliksa. Ta wtyczka nie jest
303 jeszcze zbyt dojrzała, co znaczy, że coś może nie działać lub psuć coś
304 innego.
305
306 %package -n mythmovies
307 Summary:        MythTV cinemas timetable
308 Summary(pl.UTF-8):      Moduł MythTV do repertuaru kinowego
309 Group:          Applications/Multimedia
310 Requires:       mythtv-frontend-api = %{myth_api_version}
311
312 %description -n mythmovies
313 MythTV cinemas timetable.
314
315
316 %description -n mythmovies -l pl.UTF-8
317 Moduł MythTV do repertuaru kinowego.
318
319 %package -n mythzoneminder
320 Summary:        MythTV security TV manager
321 Summary(pl.UTF-8):      Obsługa kamer przemysłowych dla MythTV
322 Group:          Applications/Multimedia
323 Requires:       mythtv-frontend-api = %{myth_api_version}
324
325 %description -n mythzoneminder
326 MythTV security TV manager.
327
328
329 %description -n mythzoneminder -l pl.UTF-8
330 Obsługa kamer przemysłowych dla MythTV.
331
332 %prep
333 %setup -q -n %{name}-%{version}
334 #%if %{_lib} != "lib"
335 #%patch0 -p1
336 #%endif
337 #%patch1 -p1
338 %patch2 -p1
339 %patch20 -p1
340 #%patch21 -p1
341 #filterdiff -i 'mythplugins/*' %{PATCH100} | %{__patch} -p1 -s
342
343 # make it visible
344 #mv mythweb/data/{.,}htaccess
345
346 # lib64 fix - enable to update patch
347 %if %{_lib} != "lib" && 0
348 find '(' -name '*.[ch]' -o -name '*.cpp' -o -name '*.pro' ')' | \
349 xargs grep -l /lib/ . | xargs sed -i -e '
350         s,/usr/lib/,/%{_lib}/,g
351         s,{PREFIX}/lib,{PREFIX}/%{_lib},g
352 '
353 exit 1
354 %endif
355
356 %build
357 %if %{with binary}
358 export QTDIR="%{_prefix}"
359 # Not gnu configure
360 %configure \
361         --libdir-name=`basename %{_lib}` \
362         --enable-all \
363         %{!?with_mytharchive:--disable-mytharchive} \
364         %{!?with_mythbrowser:--disable-mythbrowser} \
365         %{!?with_mythdvd:--disable-mythdvd}%{?with_mythdvd:--enable-transcode --enable-vcd} \
366         %{!?with_mythgallery:--disable-mythgallery}%{?with_mythgallery:--enable-exif --enable-new-exif --enable-opengl} \
367         %{!?with_mythgame:--disable-mythgame} \
368         %{!?with_mythmusic:--disable-mythmusic}%{?with_mythmysic:--enable-fftw --enable-sdl --enable-aac --enable-opengl} \
369         %{!?with_mythnews:--disable-mythnews} \
370         %{!?with_mythvideo:--disable-mythvideo} \
371         %{!?with_mythweather:--disable-mythweather} \
372         %{!?with_mythweb:--disable-mythweb} \
373         %{!?with_mythmovies:--disable-mythmovies} \
374         %{!?with_mythflix:--disable-mythflix} \
375
376 mv mythconfig.mak mythconfig.mak.old
377 cp mythconfig.mak.old mythconfig.mak
378 cat <<'EOF'>> mythconfig.mak
379 QMAKE_CXX=%{__cxx}
380 QMAKE_CC=%{__cc}
381 OPTFLAGS=%{rpmcflags} -Wall -Wno-switch
382 ECFLAGS=%{rpmcflags} -fomit-frame-pointer
383 ECXXFLAGS=%{rpmcflags} -fomit-frame-pointer
384 EOF
385
386 %{__make}
387 %endif
388
389 %install
390 rm -rf $RPM_BUILD_ROOT
391
392 %if %{with binary}
393 export QTDIR="%{_prefix}"
394 %{__make} install \
395         INSTALL_ROOT=$RPM_BUILD_ROOT
396
397 install -d $RPM_BUILD_ROOT/var/lib/{mythmusic,mythbrowser,mythvideo,pictures}
398 %if %{with mythgame}
399 install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/nes/{roms,screens}
400 install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/snes/{roms,screens}
401 install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/xmame/{roms,screens,flyers,cabs}
402 install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC/screens
403 cp -a mythgame/gamelist.xml $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC
404 %endif
405 %endif
406
407 %if %{with mythweb}
408 cd mythweb
409 install -d $RPM_BUILD_ROOT%{_datadir}/mythweb
410 install -d $RPM_BUILD_ROOT/var/cache/mythweb/{image_cache,php_sessions,tv_icons}
411 install -d $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
412 cp -a *.php *.pl classes configuration includes js modules skins $RPM_BUILD_ROOT%{_datadir}/mythweb
413 ln -sf /var/cache/mythweb $RPM_BUILD_ROOT%{_datadir}/mythweb
414 install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
415 install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
416 touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htpasswd
417 cd -
418 %endif
419
420 mv $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/mythbrowser_{pt_br,pt}.qm
421 rm $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/mythflix_nb.ts # i18n source
422 for p in mytharchive mythbrowser mythmovies mythdvd mythflix mythgallery mythgame mythmusic mythnews mythvideo mythweather mythzoneminder; do
423         for l in $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/${p}_*.qm; do
424                 echo $l | sed -e "s,^$RPM_BUILD_ROOT\(.*${p}_\(.*\).qm\),%%lang(\2) \1,"
425         done > $p.lang
426 done
427
428 %clean
429 rm -rf $RPM_BUILD_ROOT
430
431 %triggerin -n mythweb -- apache1 < 1.3.37-3, apache1-base
432 %webapp_register apache %{_webapp}
433
434 %triggerun -n mythweb -- apache1 < 1.3.37-3, apache1-base
435 %webapp_unregister apache %{_webapp}
436
437 %triggerin -n mythweb -- apache < 2.2.0, apache-base
438 %webapp_register httpd %{_webapp}
439
440 %triggerun -n mythweb -- apache < 2.2.0, apache-base
441 %webapp_unregister httpd %{_webapp}
442
443 %triggerpostun -n mythweb -- mythweb < 0.19
444 for i in canned_searches.php conf.php htpasswd theme_Default.php theme_compact.php theme_vxml.php theme_wap.php theme_wml.php weathertypes.dat; do
445         if [ -f /etc/mythweb/$i.rpmsave ]; then
446                 mv -f %{_webapps}/%{_webapp}/$i{,.rpmnew}
447                 mv -f /etc/mythweb/$i.rpmsave %{_webapps}/%{_webapp}/$i
448         fi
449 done
450 sed -i -e 's,/etc/mythweb,%{_webapps}/%{_webapp},' %{_webapps}/%{_webapp}/{apache,httpd}.conf
451
452 # migrate from apache-config macros
453 if [ -f /etc/mythweb/apache.conf.rpmsave ]; then
454         if [ -d /etc/apache/webapps.d ]; then
455                 cp -f %{_webapps}/%{_webapp}/apache.conf{,.rpmnew}
456                 cp -f /etc/mythweb/apache.conf.rpmsave %{_webapps}/%{_webapp}/apache.conf
457         fi
458
459         if [ -d /etc/httpd/webapps.d ]; then
460                 cp -f %{_webapps}/%{_webapp}/httpd.conf{,.rpmnew}
461                 cp -f /etc/mythweb/apache.conf.rpmsave %{_webapps}/%{_webapp}/httpd.conf
462         fi
463         rm -f /etc/mythweb/apache.conf.rpmsave
464 fi
465
466 if [ -L /etc/apache/conf.d/99_mythplugins.conf ]; then
467         rm -f /etc/apache/conf.d/99_mythplugins.conf
468         /usr/sbin/webapp register apache %{_webapp}
469         %service -q apache reload
470 fi
471 if [ -L /etc/httpd/httpd.conf/99_mythplugins.conf ]; then
472         rm -f /etc/httpd/httpd.conf/99_mythplugins.conf
473         /usr/sbin/webapp register httpd %{_webapp}
474         %service -q httpd reload
475 fi
476
477 %files
478 %defattr(644,root,root,755)
479
480 %if %{with mytharchive}
481 %files -n mytharchive -f mytharchive.lang
482 %defattr(644,root,root,755)
483 %attr(755,root,root) %{_bindir}/mytharchivehelper
484 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmytharchive.so
485 %{_datadir}/mythtv/archivemenu.xml
486 %{_datadir}/mythtv/archiveutils.xml
487 %{_datadir}/mythtv/themes/default/ma_*.png
488 %{_datadir}/mythtv/themes/default/mytharchive-ui.xml
489 %{_datadir}/mythtv/themes/default/mythburn-ui.xml
490 %{_datadir}/mythtv/themes/default/mythnative-ui.xml
491 %{_datadir}/mythtv/themes/default-wide/mytharchive-ui.xml
492 %{_datadir}/mythtv/themes/default-wide/mythburn-ui.xml
493 %{_datadir}/mythtv/themes/default-wide/mythnative-ui.xml
494 %{_datadir}/mythtv/mytharchive
495 %endif
496
497 %if %{with mythmusic}
498 %files -n mythmusic -f mythmusic.lang
499 %defattr(644,root,root,755)
500 %doc mythmusic/README mythmusic/AUTHORS mythmusic/musicdb
501 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythmusic.so
502 /var/lib/mythmusic
503 %{_datadir}/mythtv/musicmenu.xml
504 %{_datadir}/mythtv/music_settings.xml
505 %{_datadir}/mythtv/themes/default/music-ui.xml
506 %{_datadir}/mythtv/themes/default/mm-titlelines.png
507 %{_datadir}/mythtv/themes/default-wide/music-ui.xml
508 %{_datadir}/mythtv/themes/default-wide/mm-titlelines.png
509 %{_datadir}/mythtv/themes/default/ff_button_off.png
510 %{_datadir}/mythtv/themes/default/ff_button_on.png
511 %{_datadir}/mythtv/themes/default/ff_button_pushed.png
512 %{_datadir}/mythtv/themes/default/miniplayer_background.png
513 %{_datadir}/mythtv/themes/default/mm_*.png
514 %{_datadir}/mythtv/themes/default/music-sel-bg.png
515 %{_datadir}/mythtv/themes/default/next_button_off.png
516 %{_datadir}/mythtv/themes/default/next_button_on.png
517 %{_datadir}/mythtv/themes/default/next_button_pushed.png
518 %{_datadir}/mythtv/themes/default/pause_button_off.png
519 %{_datadir}/mythtv/themes/default/pause_button_on.png
520 %{_datadir}/mythtv/themes/default/pause_button_pushed.png
521 %{_datadir}/mythtv/themes/default/play_button_off.png
522 %{_datadir}/mythtv/themes/default/play_button_on.png
523 %{_datadir}/mythtv/themes/default/play_button_pushed.png
524 %{_datadir}/mythtv/themes/default/prev_button_off.png
525 %{_datadir}/mythtv/themes/default/prev_button_on.png
526 %{_datadir}/mythtv/themes/default/prev_button_pushed.png
527 %{_datadir}/mythtv/themes/default/rew_button_off.png
528 %{_datadir}/mythtv/themes/default/rew_button_on.png
529 %{_datadir}/mythtv/themes/default/rew_button_pushed.png
530 %{_datadir}/mythtv/themes/default/selectionbar.png
531 %{_datadir}/mythtv/themes/default/stop_button_off.png
532 %{_datadir}/mythtv/themes/default/stop_button_on.png
533 %{_datadir}/mythtv/themes/default/stop_button_pushed.png
534 %{_datadir}/mythtv/themes/default/track_info_background.png
535 %{_datadir}/mythtv/themes/default-wide/mm_*.png
536 %{_datadir}/mythtv/themes/default-wide/music-sel-bg.png
537 %endif
538
539 %if %{with mythvideo}
540 %files -n mythvideo -f mythvideo.lang
541 %defattr(644,root,root,755)
542 %doc mythvideo/README mythvideo/videodb
543 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythvideo.so
544 %{_datadir}/mythtv/themes/default/video-ui.xml
545 %{_datadir}/mythtv/themes/default-wide/video-ui.xml
546 %{_datadir}/mythtv/themes/default/mv_*.png
547 %{_datadir}/mythtv/themes/default-wide/mv_*.png
548 %{_datadir}/mythtv/video_settings.xml
549 %{_datadir}/mythtv/videomenu.xml
550 %dir %{_datadir}/mythtv/mythvideo
551 %dir %{_datadir}/mythtv/mythvideo/scripts
552 %dir %{_datadir}/mythtv/mythvideo/scripts/ttvdb
553 %{_datadir}/mythtv/mythvideo/scripts/README
554 %{_datadir}/mythtv/mythvideo/scripts/jamu.README
555 %{_datadir}/mythtv/mythvideo/scripts/jamu-example.conf
556 %attr(755,root,root) %{_datadir}/mythtv/mythvideo/scripts/*.pl
557 %attr(755,root,root) %{_datadir}/mythtv/mythvideo/scripts/*.py
558 %attr(644,root,root) %{_datadir}/mythtv/mythvideo/scripts/ttvdb/*
559
560 %dir %{_datadir}/mythtv/mythvideo/scripts/MythTV
561 %attr(644,root,root)%{_datadir}/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm
562 /var/lib/mythvideo
563 %endif
564
565 %if %{with mythweather}
566 %files -n mythweather -f mythweather.lang
567 %defattr(644,root,root,755)
568 %doc mythweather/README
569 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythweather.so
570 %{_datadir}/mythtv/mythweather
571 %{_datadir}/mythtv/weather_settings.xml
572 %{_datadir}/mythtv/themes/default/weather-ui.xml
573 %{_datadir}/mythtv/themes/default-wide/weather-ui.xml
574 %{_datadir}/mythtv/themes/default/cloudy.png
575 %{_datadir}/mythtv/themes/default/fair.png
576 %{_datadir}/mythtv/themes/default/flurries.png
577 %{_datadir}/mythtv/themes/default/fog.png
578 %{_datadir}/mythtv/themes/default/logo.png
579 %{_datadir}/mythtv/themes/default/lshowers.png
580 %{_datadir}/mythtv/themes/default/mcloudy.png
581 %{_datadir}/mythtv/themes/default/mw_*.png
582 %{_datadir}/mythtv/themes/default/mwmain.png
583 %{_datadir}/mythtv/themes/default/pcloudy.png
584 %{_datadir}/mythtv/themes/default/rainsnow.png
585 %{_datadir}/mythtv/themes/default/showers.png
586 %{_datadir}/mythtv/themes/default/snowshow.png
587 %{_datadir}/mythtv/themes/default/sunny.png
588 %{_datadir}/mythtv/themes/default/thunshowers.png
589 %{_datadir}/mythtv/themes/default/unknown.png
590 %{_datadir}/mythtv/themes/default-wide/mw-*.png
591 %endif
592
593 %if %{with mythgallery}
594 %files -n mythgallery -f mythgallery.lang
595 %defattr(644,root,root,755)
596 %doc mythgallery/README
597 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythgallery.so
598 %{_datadir}/mythtv/themes/default/gallery-ui.xml
599 %{_datadir}/mythtv/themes/default-wide/gallery-ui.xml
600 %{_datadir}/mythtv/themes/default/gallery-*.png
601 # FIXME: this is definately stupid path
602 /var/lib/pictures
603 %endif
604
605 %if %{with mythgame}
606 %files -n mythgame -f mythgame.lang
607 %defattr(644,root,root,755)
608 #%doc mythgame/README
609 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythgame.so
610 %{_datadir}/mythtv/games
611 %{_datadir}/mythtv/game_settings.xml
612 %{_datadir}/mythtv/themes/default/game-ui.xml
613 %{_datadir}/mythtv/themes/default-wide/game-ui.xml
614 %endif
615
616 %if %{with mythdvd}
617 %files -n mythdvd
618 %defattr(644,root,root,755)
619 %attr(755,root,root) %{_bindir}/mtd
620 %{_datadir}/mythtv/themes/default/dvd-ui.xml
621 %{_datadir}/mythtv/themes/default-wide/dvd-ui.xml
622 %{_datadir}/mythtv/themes/default/md_*.png
623 %endif
624
625 %if %{with mythnews}
626 %files -n mythnews -f mythnews.lang
627 %defattr(644,root,root,755)
628 %doc mythnews/README mythnews/AUTHORS
629 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythnews.so
630 %{_datadir}/mythtv/mythnews
631 %{_datadir}/mythtv/themes/default/news-ui.xml
632 # DUPLICATE WITH MYTHFLIX?
633 %{_datadir}/mythtv/themes/default/news-info-bg.png
634 %{_datadir}/mythtv/themes/default/enclosures.png
635 %{_datadir}/mythtv/themes/default/need-download.png
636 %{_datadir}/mythtv/themes/default/podcast.png
637 %{_datadir}/mythtv/themes/default-wide/news-ui.xml
638 %endif
639
640 %if %{with mythbrowser}
641 %files -n mythbrowser -f mythbrowser.lang
642 %defattr(644,root,root,755)
643 %doc mythbrowser/README mythbrowser/AUTHORS
644 #%attr(755,root,root) %{_bindir}/mythbrowser
645 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythbrowser.so
646 %{_datadir}/mythtv/themes/default/mb_progress*.png
647 %{_datadir}/mythtv/themes/default/browser-ui.xml
648 %{_datadir}/mythtv/themes/default-wide/browser-ui.xml
649 %endif
650
651 %if %{with mythweb}
652 %files -n mythweb
653 %defattr(644,root,root,755)
654 %doc mythweb/README mythweb/mythweb.conf.lighttpd
655 #%doc mythweb/data/htaccess
656 %dir %attr(750,root,http) %{_webapps}/%{_webapp}
657 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
658 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
659 #%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*.php
660 #%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*.dat
661 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htpasswd
662 %{_datadir}/mythweb
663 %dir %attr(771,root,http) /var/cache/mythweb
664 %dir %attr(771,root,http) /var/cache/mythweb/image_cache
665 %dir %attr(771,root,http) /var/cache/mythweb/php_sessions
666 %dir %attr(771,root,http) /var/cache/mythweb/tv_icons
667 %endif
668
669 %if %{with mythflix}
670 %files -n mythflix -f mythflix.lang
671 %defattr(644,root,root,755)
672 %doc mythflix/{AUTHORS,ChangeLog,README}
673 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythflix.so
674 %dir %{_datadir}/mythtv/mythflix
675 %{_datadir}/mythtv/mythflix/netflix-rss.xml
676 %dir %{_datadir}/mythtv/mythflix/scripts
677 %attr(755,root,root) %{_datadir}/mythtv/mythflix/scripts/netflix.pl
678 %{_datadir}/mythtv/netflix_menu.xml
679 %{_datadir}/mythtv/themes/default/title_netflix.png
680 %{_datadir}/mythtv/themes/default/mythflix_background.png
681 %{_datadir}/mythtv/themes/default/netflix-ui.xml
682 %{_datadir}/mythtv/themes/default-wide/netflix-ui.xml
683 %{_datadir}/mythtv/themes/default-wide/netflix-bg.png
684 # DUPLICATE WITH MYTHNEWS?
685 %{_datadir}/mythtv/themes/default/news-info-bg.png
686 %endif
687
688 %if %{with mythmovies}
689 %files -n mythmovies
690 %defattr(644,root,root,755)
691 #-f mythmovies.lang
692 %defattr(644,root,root,755)
693 %doc mythmovies/{README,TODO}
694 %attr(755,root,root) %{_bindir}/ignyte
695 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythmovies.so
696 %{_datadir}/mythtv/themes/default/movies-ui.xml
697 %{_datadir}/mythtv/themes/default-wide/movies-ui.xml
698 %{_datadir}/mythtv/i18n/mythmovies_*.qm
699 %endif
700
701 %if %{with mythzoneminder}
702 %files -n mythzoneminder
703 %defattr(644,root,root,755)
704 #-f mythmovies.lang
705 %defattr(644,root,root,755)
706 %doc mythzoneminder/{AUTHORS,README}
707 %attr(755,root,root) %{_bindir}/mythzmserver
708 %attr(755,root,root) %{_libdir}/mythtv/plugins/libmythzoneminder.so
709 %dir %{_datadir}/mythtv/zonemindermenu.xml
710 %{_datadir}/mythtv/themes/default/zoneminder-ui.xml
711 %{_datadir}/mythtv/themes/default-wide/zoneminder-ui.xml
712 %{_datadir}/mythtv/themes/default/mz_*png
713 %{_datadir}/mythtv/i18n/mythzoneminder_*.qm
714 %endif
This page took 0.222016 seconds and 4 git commands to generate.