]> git.pld-linux.org Git - packages/mythplugins.git/blame - mythplugins.spec
- updated to 0.26.0
[packages/mythplugins.git] / mythplugins.spec
CommitLineData
14b5eb75 1#
f76d04d4
ER
2# Conditional build:
3%bcond_without binary # skip building binary plugins (build only mythweb)
e0bde78e 4%bcond_without mytharchive # disable building mytharchive plugin
5%bcond_without mythbrowser # disable building building mythbrowser plugin
fe0648cb 6%bcond_without mythnetvision # disable building mythnetvision plugin
f76d04d4 7%bcond_without mythgallery # disable building mythgallery plugin
e0bde78e 8%bcond_without mythgame # disable building mythgame plugin
f76d04d4 9%bcond_without mythmusic # disable building mythmusic plugin
e0bde78e 10%bcond_without mythnews # disable building mythnews plugin
11%bcond_without mythvideo # disable building mythvideo plugin
399859b9 12# Mythweather disabled, as we need DateTime::Format::ISO8601 first
13# not present by default in PLD
e0bde78e 14%bcond_with mythweather # enable building mythweather plugin
15%bcond_without mythweb # disable building mythweb plugin
6c7adef8 16%bcond_without mythzoneminder # disable building mythzoneminder plugin
17
f49ccae0 18%if %{without binary}
beab7214 19%undefine with_mytharchive
f76d04d4 20%undefine with_mythbrowser
fe0648cb 21%undefine with_mythnetvision
f76d04d4
ER
22%undefine with_mythgallery
23%undefine with_mythgame
24%undefine with_mythmusic
25%undefine with_mythnews
f76d04d4
ER
26%undefine with_mythvideo
27%undefine with_mythweather
f76d04d4
ER
28%endif
29
a8181a32 30%include /usr/lib/rpm/macros.perl
f76d04d4 31
20cc2885 32Summary: Main MythTV plugins
9478e970 33Summary(pl.UTF-8): Główne wtyczki MythTV
d78b97e1 34Name: mythplugins
92d20c96 35Version: 0.26.0
35a6e037 36Release: 0.1
69870715 37License: GPL v2
d78b97e1 38Group: Applications/Multimedia
92d20c96
JR
39Source0: ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2
40# Source0-md5: 15bd7b2f4173488966f3d761e0eacffa
5e68f3bc 41Source1: mythweb.conf
ba43fb99 42Source2: mythweb_lighttpd.conf
77c791cb 43Source3: htdigest.sh
44Source4: http_servers_conf_tips.txt
ba43fb99 45Patch0: mythweb-chdir.patch
46Patch10: %{name}-compile_fixes_for_qt_4_7.patch
6c7adef8 47Patch20: %{name}-mytharchive-INT64.patch
20cc2885 48URL: http://www.mythtv.org/
f76d04d4
ER
49%if %{with binary}
50%if %{with mythgallery} || %{with myhtmusic}
20cc2885 51BuildRequires: OpenGL-devel
f76d04d4 52%endif
6c7adef8 53BuildRequires: Qt3Support-devel
54BuildRequires: QtCore-devel
55BuildRequires: QtGui-devel
56BuildRequires: QtNetwork-devel
57BuildRequires: QtOpenGL-devel
58BuildRequires: QtSql-devel
59BuildRequires: QtWebKit-devel
60BuildRequires: QtXml-devel
d78b97e1 61BuildRequires: SDL-devel
69870715
ER
62BuildRequires: a52dec-libs-devel
63BuildRequires: cdparanoia-III-devel
64BuildRequires: faad2-devel >= 2.0-5.2
f76d04d4 65%{?with_mythmusic:BuildRequires: fftw-devel >= 2.1.3}
d78b97e1 66BuildRequires: flac-devel >= 1.0.4
69870715 67BuildRequires: freetype-devel
f76d04d4 68BuildRequires: libcdaudio-devel >= 0.99.12p2
69870715
ER
69BuildRequires: libdvdcss-devel >= 1.2.7
70BuildRequires: libdvdread-devel >= 0.9.4
f76d04d4 71%{?with_mythgallery:BuildRequires: libexif-devel >= 1:0.6.9}
69870715 72BuildRequires: libfame-devel >= 0.9.0
d78b97e1
ER
73BuildRequires: libid3tag-devel
74BuildRequires: libmad-devel
92d20c96 75BuildRequires: libmyth-devel > 0.26
69870715 76BuildRequires: libstdc++-devel
d78b97e1 77BuildRequires: libtiff-devel
5d54ed98 78BuildRequires: libvisual-devel
f76d04d4 79BuildRequires: libvorbis-devel >= 1:1.0
d78b97e1 80BuildRequires: mjpegtools-devel >= 1.6.1
69870715 81BuildRequires: nasm
beab7214 82BuildRequires: patchutils
ba43fb99 83%{?with_mythweather:BuildRequires: perl-DateTime-Format-ISO8601}
84%{?with_mythweather:BuildRequires: perl-Image-Size}
399859b9 85%{?with_mythweather:BuildRequires: perl-XML-Simple}
86%{?with_mythweather:BuildRequires: perl-XML-XPath}
35a6e037
JK
87%{?with_mythnetvision:BuildRequires: python-MythTV}
88%{?with_mythnetvision:BuildRequires: python-oauth}
6c7adef8 89BuildRequires: qt4-build
90BuildRequires: qt4-qmake
20cc2885
JB
91BuildRequires: rpm-perlprov >= 4.1-13
92BuildRequires: sed >= 4.0
6c7adef8 93%{?with_mythmusic:BuildRequires: taglib-devel}
6c7adef8 94BuildRequires: xorg-lib-libX11-devel
69870715
ER
95BuildRequires: xvid-devel >= 1:0.9.1
96BuildRequires: zlib-devel
f76d04d4 97%endif
34c55709
JR
98Obsoletes: mythdvd < %{version}-%{release}
99Obsoletes: mythmovies < %{version}-%{release}
beab7214 100%{?with_mytharchive:Requires: mytharchive}
f76d04d4 101%{?with_mythbrowser:Requires: mythbrowser}
f76d04d4
ER
102%{?with_mythgallery:Requires: mythgallery}
103%{?with_mythgame:Requires: mythgame}
104%{?with_mythmysic:Requires: mythmusic}
ba43fb99 105%{?with_mythnetvision:Requires: mythnetvision}
f76d04d4 106%{?with_mythnews:Requires: mythnews}
f76d04d4
ER
107%{?with_mythvideo:Requires: mythvideo}
108%{?with_mythweather:Requires: mythweather}
109%{?with_mythweb:Requires: mythweb}
e3001b4f 110ExclusiveArch: %{ix86} %{x8664} ppc
d78b97e1
ER
111BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
112
7e11527f 113%define myth_api_version %(awk -vFS=. '/^LIBVERSION/{sub("LIBVERSION = ", ""); printf ("%s.%s", $1, $2)}' %{_datadir}/mythtv/build/settings.pro 2>/dev/null || echo ERROR)
f76d04d4
ER
114%define _webapps /etc/webapps
115%define _webapp mythweb
69870715 116
d78b97e1
ER
117%description
118This is a consolidation of all the official MythTV plugins that used
119to be distributed as separate downloads from mythtv.org.
120
c2db80a4
JR
121%description -l pl.UTF-8
122Jest to zbiór wszystkich oficjalnych wtyczek MythTV, które były
123wcześniej rozpowszechniane jako osobne pakiety na mythtv.org.
20cc2885 124
beab7214 125%package -n mytharchive
68bb720e 126Summary: A MythTV module to create and burn DVDs
9478e970 127Summary(pl.UTF-8): Moduł MythTV do tworzenia i wypalania DVD
beab7214 128Group: Applications/Multimedia
6c7adef8 129Requires: dvdauthor
130Requires: mjpegtools
1df3695d 131Requires: mythtv-frontend-api = %{myth_api_version}
6c7adef8 132Requires: python-MySQLdb
133Requires: python-PIL
134Suggests: dvdrtools-mkisofs
beab7214
ER
135
136%description -n mytharchive
137MythArchive is a MythTV style plugin that uses the Mythburn Script to
68bb720e 138create and burn DVDs from MythTV recordings, MythVideo files or any
beab7214
ER
139video files available on a MythTV system. It can also export
140recordings to a native archive format that can then be imported back
68bb720e
JB
141into a MythTV system restoring all the associated metadata.
142
c2db80a4
JR
143%description -n mytharchive -l pl.UTF-8
144MythArchive to wtyczka MythTV używająca skryptu Mythburn do tworzenia
145i wypalania płyt DVD z nagrań MythTV, plików MythVideo lub dowolnych
146innych plików z filmami dostępnych w systemie MythTV. Może także
147eksportować nagrania do natywnego formatu archiwum, który potem można
148zaimportować z powrotem do systemu MythTV przywracając wszystkie
149związane z nimi metadane.
beab7214 150
d78b97e1 151%package -n mythmusic
20cc2885 152Summary: The music player add-on module for MythTV
9478e970 153Summary(pl.UTF-8): Moduł odtwarzacza muzyki dla MythTV
d78b97e1 154Group: Applications/Multimedia
1df3695d 155Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
156
157%description -n mythmusic
ba43fb99 158Music add-on for MythTV. Support playlists, visualisations, tag
159editing and plays many popular audio file formats - mp3, flac, wav,
160ogg etc.
20cc2885 161
c2db80a4 162%description -n mythmusic -l pl.UTF-8
ba43fb99 163Odtwarzacz muzyki dla MythTV. Obsługuje listy odtwarzania,
164wizualizacje, edycję tagów. Potrafi odtwarzać wiele popularnych
165formatów audio - mp3, flac, wav, ogg itd.
d78b97e1
ER
166
167%package -n mythvideo
20cc2885 168Summary: A generic video player frontend module for MythTV
9478e970 169Summary(pl.UTF-8): Moduł ogólnego interfejsu do odtwarzania obrazu dla MythTV
d78b97e1
ER
170Group: Applications/Multimedia
171Requires: mplayer
1df3695d 172Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
173
174%description -n mythvideo
6c7adef8 175A generic video and dvd player frontend module for MythTV.
d78b97e1 176
c2db80a4
JR
177%description -n mythvideo -l pl.UTF-8
178Moduł ogólnego interfejsu do odtwarzania obrazu dla MythTV.
20cc2885 179
d78b97e1 180%package -n mythweather
20cc2885 181Summary: A MythTV module that displays a weather forcast
9478e970 182Summary(pl.UTF-8): Moduł MythTV wyświetlający prognozę pogody
d78b97e1 183Group: Applications/Multimedia
1df3695d 184Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
185
186%description -n mythweather
187A MythTV module that displays a weather forcast.
188
c2db80a4
JR
189%description -n mythweather -l pl.UTF-8
190Moduł MythTV wyświetlający prognozę pogody.
20cc2885 191
d78b97e1 192%package -n mythgallery
20cc2885 193Summary: A gallery/slideshow module for MythTV
9478e970 194Summary(pl.UTF-8): Moduł galerii/pokazu slajdów dla MythTV
d78b97e1 195Group: Applications/Multimedia
1df3695d 196Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
197
198%description -n mythgallery
199A gallery/slideshow module for MythTV.
200
c2db80a4
JR
201%description -n mythgallery -l pl.UTF-8
202Moduł galerii/pokazu slajdów dla MythTV.
20cc2885 203
d78b97e1 204%package -n mythgame
20cc2885 205Summary: A game frontend (xmame, nes, snes, pc) for MythTV
9478e970 206Summary(pl.UTF-8): Interfejs do gier (xmame, nes, snes, pc) dla MythTV
d78b97e1 207Group: Applications/Multimedia
1df3695d 208Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
209
210%description -n mythgame
211A game frontend (xmame, nes, snes, pc) for MythTV.
212
c2db80a4 213%description -n mythgame -l pl.UTF-8
20cc2885
JB
214Interfejs do gier (xmame, nes, snes, pc) dla MythTV.
215
d78b97e1 216%package -n mythnews
20cc2885 217Summary: A RSS News Feed plugin for MythTV
9478e970 218Summary(pl.UTF-8): Wtyczka czytnika nowinek RSS dla MythTV
d78b97e1 219Group: Applications/Multimedia
1df3695d 220Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
221
222%description -n mythnews
20cc2885
JB
223A RSS News Feed plugin for MythTV.
224
c2db80a4 225%description -n mythnews -l pl.UTF-8
20cc2885 226Wtyczka czytnika nowinek RSS dla MythTV.
d78b97e1
ER
227
228%package -n mythbrowser
20cc2885 229Summary: A small web browser module for MythTV
9478e970 230Summary(pl.UTF-8): Moduł małej przeglądarki WWW dla MythTV
d78b97e1 231Group: Applications/Multimedia
1df3695d 232Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
233
234%description -n mythbrowser
235MythBrowser is a full fledged web-browser (multiple tabs) to display
236webpages in full-screen mode. Simple page navigation is possible.
237Starting with version 0.13 it also has full support for mouse driven
20cc2885 238navigation (right mouse opens and closes the popup menu).
d78b97e1
ER
239
240MythBrowser also contains a BookmarkManager to manage the website
241links in a simple mythplugin.
242
c2db80a4
JR
243%description -n mythbrowser -l pl.UTF-8
244MythBrowser to w pełni funkcjonalna przeglądarka WWW (z wieloma
245zakładkami) wyświetlająca strony WWW w trybie pełnoekranowym. Możliwa
246jest prosta nawigacja po stronie. Począwszy od wersji 0.13 ma pełną
247obsługę nawigacji myszką (prawy przycisk otwiera i zamywa wyskakujące
20cc2885
JB
248menu).
249
c2db80a4 250MythBrowser zawiera także BookmarkManagera do zarządzania odnośnikami
20cc2885
JB
251do stron w prostej wtyczce myth.
252
5e68f3bc
ER
253%package -n mythweb
254Summary: The web interface to MythTV
9478e970 255Summary(pl.UTF-8): Interfejs WWW do MythTV
5e68f3bc 256Group: Applications/Multimedia
3515083d
ER
257Requires: php(mysql)
258Requires: php(posix)
6c7adef8 259Requires: webapps
3515083d 260Requires: webserver(php) >= 4.3
5e68f3bc
ER
261
262%description -n mythweb
263The web interface to MythTV.
264
c2db80a4 265%description -n mythweb -l pl.UTF-8
64c9f7c0
JB
266Interfejs WWW do MythTV.
267
fe0648cb 268%package -n mythnetvision
269Summary: Mythtv extension to watch network movie shows
270Summary(pl.UTF-8): Dodatek do MythTV do oglądania sieciowych transmisji
f76d04d4 271Group: Applications/Multimedia
eb38eece 272Requires: mythbrowser
ba43fb99 273Requires: mythtv-frontend-api = %{myth_api_version}
35a6e037
JK
274Requires: python-MythTV
275Requires: python-oauth
f76d04d4 276
fe0648cb 277%description -n mythnetvision
278Mythtv extension to watch network movie shows (ex. YouTube).
f76d04d4 279
fe0648cb 280%description -n mythnetvision -l pl.UTF-8
ba43fb99 281Dodatek do MythTV do oglądania sieciowych transmisji. Na przykład z
282YouTube.
f76d04d4 283
445e2012 284%package -n mythzoneminder
6c7adef8 285Summary: MythTV security TV manager
286Summary(pl.UTF-8): Obsługa kamer przemysłowych dla MythTV
ba857471 287Group: Applications/Multimedia
1df3695d 288Requires: mythtv-frontend-api = %{myth_api_version}
445e2012
JK
289
290%description -n mythzoneminder
6c7adef8 291MythTV security TV manager.
445e2012 292
6c7adef8 293
294%description -n mythzoneminder -l pl.UTF-8
295Obsługa kamer przemysłowych dla MythTV.
445e2012 296
d78b97e1 297%prep
ba43fb99 298%setup -q
299%patch0 -p1
35a6e037 300#%patch10 -p1
6c7adef8 301%patch20 -p1
d78b97e1 302
f76d04d4
ER
303# lib64 fix - enable to update patch
304%if %{_lib} != "lib" && 0
69870715 305find '(' -name '*.[ch]' -o -name '*.cpp' -o -name '*.pro' ')' | \
123e986b 306xargs grep -l /lib/ . | xargs sed -i -e '
ba43fb99 307s,%{_prefix}/lib/,/%{_lib}/,g
cb9924d8 308 s,{PREFIX}/lib,{PREFIX}/%{_lib},g
123e986b 309'
f76d04d4 310exit 1
a8181a32
ER
311%endif
312
d78b97e1 313%build
f76d04d4 314%if %{with binary}
69870715 315export QTDIR="%{_prefix}"
123e986b 316# Not gnu configure
69870715 317%configure \
6c7adef8 318 --libdir-name=`basename %{_lib}` \
69870715 319 --enable-all \
beab7214 320 %{!?with_mytharchive:--disable-mytharchive} \
f76d04d4 321 %{!?with_mythbrowser:--disable-mythbrowser} \
f76d04d4
ER
322 %{!?with_mythgallery:--disable-mythgallery}%{?with_mythgallery:--enable-exif --enable-new-exif --enable-opengl} \
323 %{!?with_mythgame:--disable-mythgame} \
324 %{!?with_mythmusic:--disable-mythmusic}%{?with_mythmysic:--enable-fftw --enable-sdl --enable-aac --enable-opengl} \
325 %{!?with_mythnews:--disable-mythnews} \
f76d04d4
ER
326 %{!?with_mythvideo:--disable-mythvideo} \
327 %{!?with_mythweather:--disable-mythweather} \
328 %{!?with_mythweb:--disable-mythweb} \
fe0648cb 329 %{!?with_mythnetvision:--disable-mythnetvision} \
f76d04d4
ER
330
331mv mythconfig.mak mythconfig.mak.old
332cp mythconfig.mak.old mythconfig.mak
333cat <<'EOF'>> mythconfig.mak
334QMAKE_CXX=%{__cxx}
335QMAKE_CC=%{__cc}
336OPTFLAGS=%{rpmcflags} -Wall -Wno-switch
35a6e037
JK
337ECFLAGS=%{rpmcflags} %{rpmcppflags} -fomit-frame-pointer
338ECXXFLAGS=%{rpmcflags} %{rpmcppflags} -fomit-frame-pointer -D__STDC_CONSTANT_MACROS
f76d04d4
ER
339EOF
340
d78b97e1 341%{__make}
f76d04d4 342%endif
d78b97e1
ER
343
344%install
345rm -rf $RPM_BUILD_ROOT
f76d04d4 346%if %{with binary}
513b080c 347export QTDIR="%{_prefix}"
20cc2885
JB
348%{__make} install \
349 INSTALL_ROOT=$RPM_BUILD_ROOT
d78b97e1 350
6c7adef8 351install -d $RPM_BUILD_ROOT/var/lib/{mythmusic,mythbrowser,mythvideo,pictures}
f76d04d4 352%if %{with mythgame}
d78b97e1
ER
353install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/nes/{roms,screens}
354install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/snes/{roms,screens}
16792a62 355install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/xmame/{roms,screens,flyers,cabs}
d78b97e1 356install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC/screens
a8181a32 357cp -a mythgame/gamelist.xml $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC
f76d04d4
ER
358%endif
359%endif
d78b97e1 360
f76d04d4 361%if %{with mythweb}
3cfccba6 362cd mythweb
77c791cb 363cp -a %{SOURCE3} ./
364cp -a %{SOURCE4} ./
3cfccba6 365install -d $RPM_BUILD_ROOT%{_datadir}/mythweb
f76d04d4
ER
366install -d $RPM_BUILD_ROOT/var/cache/mythweb/{image_cache,php_sessions,tv_icons}
367install -d $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
1ed9c09d 368cp -a *.php *.pl classes configuration includes js modules skins $RPM_BUILD_ROOT%{_datadir}/mythweb
1789d48a 369ln -sf /var/cache/mythweb $RPM_BUILD_ROOT%{_datadir}/mythweb/data
f76d04d4
ER
370install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
371install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
1789d48a 372install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/lighttpd.conf
f76d04d4 373touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htpasswd
1789d48a 374touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htdigest
3cfccba6 375cd -
f76d04d4
ER
376%endif
377
fe0648cb 378rm -f $RPM_BUILD_ROOT%{_datadir}/data
3cfccba6 379mv $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/mythbrowser_{pt_br,pt}.qm
35a6e037 380for p in mytharchive mythbrowser mythgallery mythgame mythmusic mythnetvision mythnews mythvideo mythweather mythzoneminder; do
f76d04d4 381 for l in $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/${p}_*.qm; do
6c7adef8 382 echo $l | sed -e "s,^$RPM_BUILD_ROOT\(.*${p}_\(.*\).qm\),%%lang(\2) \1,"
f76d04d4
ER
383 done > $p.lang
384done
5e68f3bc 385
d78b97e1 386%clean
69870715 387rm -rf $RPM_BUILD_ROOT
d78b97e1 388
9c2555e2 389%triggerin -n mythweb -- apache1 < 1.3.37-3, apache1-base
f76d04d4
ER
390%webapp_register apache %{_webapp}
391
9c2555e2 392%triggerun -n mythweb -- apache1 < 1.3.37-3, apache1-base
f76d04d4
ER
393%webapp_unregister apache %{_webapp}
394
395%triggerin -n mythweb -- apache < 2.2.0, apache-base
396%webapp_register httpd %{_webapp}
397
1789d48a 398%triggerin -n mythweb -- lighttpd
399%webapp_register lighttpd %{_webapp}
400
f76d04d4
ER
401%triggerun -n mythweb -- apache < 2.2.0, apache-base
402%webapp_unregister httpd %{_webapp}
403
1789d48a 404%triggerun -n mythweb -- lighttpd
405%webapp_unregister lighttpd %{_webapp}
406
f76d04d4
ER
407%triggerpostun -n mythweb -- mythweb < 0.19
408for 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
409 if [ -f /etc/mythweb/$i.rpmsave ]; then
410 mv -f %{_webapps}/%{_webapp}/$i{,.rpmnew}
411 mv -f /etc/mythweb/$i.rpmsave %{_webapps}/%{_webapp}/$i
412 fi
413done
414sed -i -e 's,/etc/mythweb,%{_webapps}/%{_webapp},' %{_webapps}/%{_webapp}/{apache,httpd}.conf
415
416# migrate from apache-config macros
417if [ -f /etc/mythweb/apache.conf.rpmsave ]; then
418 if [ -d /etc/apache/webapps.d ]; then
419 cp -f %{_webapps}/%{_webapp}/apache.conf{,.rpmnew}
420 cp -f /etc/mythweb/apache.conf.rpmsave %{_webapps}/%{_webapp}/apache.conf
421 fi
422
423 if [ -d /etc/httpd/webapps.d ]; then
424 cp -f %{_webapps}/%{_webapp}/httpd.conf{,.rpmnew}
425 cp -f /etc/mythweb/apache.conf.rpmsave %{_webapps}/%{_webapp}/httpd.conf
426 fi
427 rm -f /etc/mythweb/apache.conf.rpmsave
428fi
429
430if [ -L /etc/apache/conf.d/99_mythplugins.conf ]; then
431 rm -f /etc/apache/conf.d/99_mythplugins.conf
432 /usr/sbin/webapp register apache %{_webapp}
433 %service -q apache reload
434fi
435if [ -L /etc/httpd/httpd.conf/99_mythplugins.conf ]; then
436 rm -f /etc/httpd/httpd.conf/99_mythplugins.conf
437 /usr/sbin/webapp register httpd %{_webapp}
438 %service -q httpd reload
439fi
5e68f3bc 440
77c791cb 441%post -n mythweb
442echo "Read %{_docdir}/mythweb-%{version}/http_servers_conf_tips.txt.gz to find
443which packages you can need to run mythweb and how to set it quickly."
444
d78b97e1
ER
445%files
446%defattr(644,root,root,755)
d78b97e1 447
beab7214
ER
448%if %{with mytharchive}
449%files -n mytharchive -f mytharchive.lang
450%defattr(644,root,root,755)
ede751f4 451%doc mytharchive/AUTHORS mytharchive/README mytharchive/TODO
beab7214
ER
452%attr(755,root,root) %{_bindir}/mytharchivehelper
453%attr(755,root,root) %{_libdir}/mythtv/plugins/libmytharchive.so
beab7214 454%{_datadir}/mythtv/archivemenu.xml
6c7adef8 455%{_datadir}/mythtv/archiveutils.xml
beab7214
ER
456%{_datadir}/mythtv/themes/default/ma_*.png
457%{_datadir}/mythtv/themes/default/mytharchive-ui.xml
458%{_datadir}/mythtv/themes/default/mythburn-ui.xml
459%{_datadir}/mythtv/themes/default/mythnative-ui.xml
6c7adef8 460%{_datadir}/mythtv/themes/default-wide/mytharchive-ui.xml
461%{_datadir}/mythtv/themes/default-wide/mythburn-ui.xml
462%{_datadir}/mythtv/themes/default-wide/mythnative-ui.xml
beab7214
ER
463%{_datadir}/mythtv/mytharchive
464%endif
465
f76d04d4
ER
466%if %{with mythmusic}
467%files -n mythmusic -f mythmusic.lang
d78b97e1 468%defattr(644,root,root,755)
beab7214 469%doc mythmusic/README mythmusic/AUTHORS mythmusic/musicdb
d78b97e1 470%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythmusic.so
513b080c 471/var/lib/mythmusic
d78b97e1
ER
472%{_datadir}/mythtv/musicmenu.xml
473%{_datadir}/mythtv/music_settings.xml
f76d04d4 474%{_datadir}/mythtv/themes/default/music-ui.xml
98f7401a 475%{_datadir}/mythtv/themes/default/mm-titlelines.png
6c7adef8 476%{_datadir}/mythtv/themes/default-wide/music-ui.xml
98f7401a 477%{_datadir}/mythtv/themes/default-wide/mm-titlelines.png
d78b97e1
ER
478%{_datadir}/mythtv/themes/default/ff_button_off.png
479%{_datadir}/mythtv/themes/default/ff_button_on.png
480%{_datadir}/mythtv/themes/default/ff_button_pushed.png
6c7adef8 481%{_datadir}/mythtv/themes/default/miniplayer_background.png
445e2012 482%{_datadir}/mythtv/themes/default/mm_*.png
d78b97e1 483%{_datadir}/mythtv/themes/default/music-sel-bg.png
d78b97e1
ER
484%{_datadir}/mythtv/themes/default/next_button_off.png
485%{_datadir}/mythtv/themes/default/next_button_on.png
486%{_datadir}/mythtv/themes/default/next_button_pushed.png
487%{_datadir}/mythtv/themes/default/pause_button_off.png
488%{_datadir}/mythtv/themes/default/pause_button_on.png
489%{_datadir}/mythtv/themes/default/pause_button_pushed.png
490%{_datadir}/mythtv/themes/default/play_button_off.png
491%{_datadir}/mythtv/themes/default/play_button_on.png
492%{_datadir}/mythtv/themes/default/play_button_pushed.png
493%{_datadir}/mythtv/themes/default/prev_button_off.png
494%{_datadir}/mythtv/themes/default/prev_button_on.png
495%{_datadir}/mythtv/themes/default/prev_button_pushed.png
496%{_datadir}/mythtv/themes/default/rew_button_off.png
497%{_datadir}/mythtv/themes/default/rew_button_on.png
498%{_datadir}/mythtv/themes/default/rew_button_pushed.png
499%{_datadir}/mythtv/themes/default/selectionbar.png
500%{_datadir}/mythtv/themes/default/stop_button_off.png
501%{_datadir}/mythtv/themes/default/stop_button_on.png
502%{_datadir}/mythtv/themes/default/stop_button_pushed.png
d78b97e1 503%{_datadir}/mythtv/themes/default/track_info_background.png
6c7adef8 504%{_datadir}/mythtv/themes/default-wide/mm_*.png
505%{_datadir}/mythtv/themes/default-wide/music-sel-bg.png
f76d04d4 506%endif
d78b97e1 507
f76d04d4
ER
508%if %{with mythvideo}
509%files -n mythvideo -f mythvideo.lang
d78b97e1 510%defattr(644,root,root,755)
ede751f4 511%doc mythvideo/README* mythvideo/videodb mythvideo/contrib
d78b97e1 512%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythvideo.so
d78b97e1 513%{_datadir}/mythtv/themes/default/video-ui.xml
ba857471 514%{_datadir}/mythtv/themes/default-wide/video-ui.xml
6c7adef8 515%{_datadir}/mythtv/themes/default/mv_*.png
445e2012 516%{_datadir}/mythtv/themes/default-wide/mv_*.png
35a6e037 517%{_datadir}/mythtv/themes/default/md_*.png
d78b97e1
ER
518%{_datadir}/mythtv/video_settings.xml
519%{_datadir}/mythtv/videomenu.xml
a8181a32
ER
520%dir %{_datadir}/mythtv/mythvideo
521%dir %{_datadir}/mythtv/mythvideo/scripts
fe0648cb 522%dir %{_datadir}/mythtv/mythvideo/scripts/Movie
523%dir %{_datadir}/mythtv/mythvideo/scripts/Movie/MythTV
d78b97e1 524%{_datadir}/mythtv/mythvideo/scripts/README
98f7401a 525%{_datadir}/mythtv/mythvideo/scripts/jamu.README
526%{_datadir}/mythtv/mythvideo/scripts/jamu-example.conf
ba43fb99 527%{_datadir}/mythtv/mythvideo/scripts/Movie/MythTV/*
445e2012 528%attr(755,root,root) %{_datadir}/mythtv/mythvideo/scripts/*.py
513b080c 529/var/lib/mythvideo
f76d04d4
ER
530%endif
531
532%if %{with mythweather}
533%files -n mythweather -f mythweather.lang
d78b97e1 534%defattr(644,root,root,755)
ede751f4 535%doc mythweather/AUTHORS mythweather/README
d78b97e1 536%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythweather.so
6c7adef8 537%{_datadir}/mythtv/mythweather
538%{_datadir}/mythtv/weather_settings.xml
d78b97e1 539%{_datadir}/mythtv/themes/default/weather-ui.xml
6c7adef8 540%{_datadir}/mythtv/themes/default-wide/weather-ui.xml
d78b97e1
ER
541%{_datadir}/mythtv/themes/default/cloudy.png
542%{_datadir}/mythtv/themes/default/fair.png
543%{_datadir}/mythtv/themes/default/flurries.png
544%{_datadir}/mythtv/themes/default/fog.png
545%{_datadir}/mythtv/themes/default/logo.png
546%{_datadir}/mythtv/themes/default/lshowers.png
547%{_datadir}/mythtv/themes/default/mcloudy.png
445e2012 548%{_datadir}/mythtv/themes/default/mw_*.png
d78b97e1
ER
549%{_datadir}/mythtv/themes/default/mwmain.png
550%{_datadir}/mythtv/themes/default/pcloudy.png
551%{_datadir}/mythtv/themes/default/rainsnow.png
552%{_datadir}/mythtv/themes/default/showers.png
553%{_datadir}/mythtv/themes/default/snowshow.png
554%{_datadir}/mythtv/themes/default/sunny.png
555%{_datadir}/mythtv/themes/default/thunshowers.png
556%{_datadir}/mythtv/themes/default/unknown.png
445e2012 557%{_datadir}/mythtv/themes/default-wide/mw-*.png
f76d04d4 558%endif
d78b97e1 559
f76d04d4
ER
560%if %{with mythgallery}
561%files -n mythgallery -f mythgallery.lang
d78b97e1 562%defattr(644,root,root,755)
ede751f4 563%doc mythgallery/AUTHORS mythgallery/README
d78b97e1
ER
564%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythgallery.so
565%{_datadir}/mythtv/themes/default/gallery-ui.xml
6c7adef8 566%{_datadir}/mythtv/themes/default-wide/gallery-ui.xml
d78b97e1 567%{_datadir}/mythtv/themes/default/gallery-*.png
513b080c 568/var/lib/pictures
f76d04d4 569%endif
d78b97e1 570
f76d04d4
ER
571%if %{with mythgame}
572%files -n mythgame -f mythgame.lang
d78b97e1 573%defattr(644,root,root,755)
ede751f4 574%doc mythgame/contrib
d78b97e1
ER
575%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythgame.so
576%{_datadir}/mythtv/games
d78b97e1
ER
577%{_datadir}/mythtv/game_settings.xml
578%{_datadir}/mythtv/themes/default/game-ui.xml
6c7adef8 579%{_datadir}/mythtv/themes/default-wide/game-ui.xml
35a6e037
JK
580%dir %{_datadir}/mythtv/metadata/Game
581%attr(755,root,root) %{_datadir}/mythtv/metadata/Game/giantbomb.py
582%{_datadir}/mythtv/metadata/Game/giantbomb
f76d04d4 583%endif
d78b97e1 584
f76d04d4
ER
585%if %{with mythnews}
586%files -n mythnews -f mythnews.lang
d78b97e1 587%defattr(644,root,root,755)
123e986b 588%doc mythnews/README mythnews/AUTHORS
d78b97e1
ER
589%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythnews.so
590%{_datadir}/mythtv/mythnews
591%{_datadir}/mythtv/themes/default/news-ui.xml
ba857471 592%{_datadir}/mythtv/themes/default/news-info-bg.png
6c7adef8 593%{_datadir}/mythtv/themes/default/enclosures.png
594%{_datadir}/mythtv/themes/default/need-download.png
595%{_datadir}/mythtv/themes/default/podcast.png
596%{_datadir}/mythtv/themes/default-wide/news-ui.xml
f76d04d4 597%endif
d78b97e1 598
f76d04d4
ER
599%if %{with mythbrowser}
600%files -n mythbrowser -f mythbrowser.lang
d78b97e1 601%defattr(644,root,root,755)
b0c55580 602%doc mythbrowser/README mythbrowser/AUTHORS
98f7401a 603%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythbrowser.so
6c7adef8 604%{_datadir}/mythtv/themes/default/mb_progress*.png
605%{_datadir}/mythtv/themes/default/browser-ui.xml
606%{_datadir}/mythtv/themes/default-wide/browser-ui.xml
f76d04d4 607%endif
d78b97e1 608
f76d04d4 609%if %{with mythweb}
5e68f3bc
ER
610%files -n mythweb
611%defattr(644,root,root,755)
25a966e5 612%doc mythweb/README mythweb/mythweb.conf.lighttpd
77c791cb 613%doc mythweb/htdigest.sh
614%doc mythweb/http_servers_conf_tips.txt
f76d04d4
ER
615%dir %attr(750,root,http) %{_webapps}/%{_webapp}
616%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
617%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
f76d04d4 618%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htpasswd
1789d48a 619%attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/lighttpd.conf
620%attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htdigest
5e68f3bc 621%{_datadir}/mythweb
f76d04d4 622%dir %attr(771,root,http) /var/cache/mythweb
5e68f3bc
ER
623%dir %attr(771,root,http) /var/cache/mythweb/image_cache
624%dir %attr(771,root,http) /var/cache/mythweb/php_sessions
f76d04d4
ER
625%dir %attr(771,root,http) /var/cache/mythweb/tv_icons
626%endif
627
fe0648cb 628%if %{with mythnetvision}
629%files -n mythnetvision -f mythnetvision.lang
f76d04d4 630%defattr(644,root,root,755)
fe0648cb 631%doc mythnetvision/{AUTHORS,ChangeLog,README}
35a6e037 632%attr(755,root,root) %{_bindir}/mythfillnetvision
fe0648cb 633%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythnetvision.so
634%dir %{_datadir}/mythtv/mythnetvision
635%{_datadir}/mythtv/netvisionmenu.xml
fe0648cb 636%dir %{_datadir}/mythtv/mythnetvision/icons
637%dir %{_datadir}/mythtv/mythnetvision/icons/directories
638%{_datadir}/mythtv/mythnetvision/icons/*.png
38ddb290 639%dir %{_datadir}/mythtv/mythnetvision/icons/directories/film_genres
fe0648cb 640%{_datadir}/mythtv/mythnetvision/icons/directories/film_genres/*.png
38ddb290 641%dir %{_datadir}/mythtv/mythnetvision/icons/directories/music_genres
fe0648cb 642%{_datadir}/mythtv/mythnetvision/icons/directories/music_genres/*.png
38ddb290 643%dir %{_datadir}/mythtv/mythnetvision/icons/directories/topics
fe0648cb 644%{_datadir}/mythtv/mythnetvision/icons/directories/topics/*.png
ba43fb99 645%{_datadir}/mythtv/themes/default-wide/netvision-ui.xml
fe0648cb 646%{_datadir}/mythtv/themes/default/netvision-ui.xml
f76d04d4
ER
647%endif
648
445e2012 649%if %{with mythzoneminder}
6c7adef8 650%files -n mythzoneminder
651%defattr(644,root,root,755)
445e2012 652%defattr(644,root,root,755)
6c7adef8 653%doc mythzoneminder/{AUTHORS,README}
445e2012
JK
654%attr(755,root,root) %{_bindir}/mythzmserver
655%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythzoneminder.so
6c7adef8 656%dir %{_datadir}/mythtv/zonemindermenu.xml
445e2012
JK
657%{_datadir}/mythtv/themes/default/zoneminder-ui.xml
658%{_datadir}/mythtv/themes/default-wide/zoneminder-ui.xml
6c7adef8 659%{_datadir}/mythtv/themes/default/mz_*png
98f7401a 660%{_datadir}/mythtv/i18n/mythzoneminder_*.qm
445e2012 661%endif
This page took 0.281106 seconds and 4 git commands to generate.