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