]> git.pld-linux.org Git - packages/mythplugins.git/blame - mythplugins.spec
- release 3 (by relup.sh)
[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
92d20c96 33Version: 0.26.0
72e6cb5d 34Release: 3
69870715 35License: GPL v2
d78b97e1 36Group: Applications/Multimedia
92d20c96
JR
37Source0: ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2
38# Source0-md5: 15bd7b2f4173488966f3d761e0eacffa
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
ba43fb99 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_mythweather:Requires: mythweather}
108%{?with_mythweb:Requires: mythweb}
3700824e 109Obsoletes: mythvideo
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 166
d78b97e1 167%package -n mythweather
20cc2885 168Summary: A MythTV module that displays a weather forcast
9478e970 169Summary(pl.UTF-8): Moduł MythTV wyświetlający prognozę pogody
d78b97e1 170Group: Applications/Multimedia
1df3695d 171Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
172
173%description -n mythweather
174A MythTV module that displays a weather forcast.
175
c2db80a4
JR
176%description -n mythweather -l pl.UTF-8
177Moduł MythTV wyświetlający prognozę pogody.
20cc2885 178
d78b97e1 179%package -n mythgallery
20cc2885 180Summary: A gallery/slideshow module for MythTV
9478e970 181Summary(pl.UTF-8): Moduł galerii/pokazu slajdów dla MythTV
d78b97e1 182Group: Applications/Multimedia
1df3695d 183Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
184
185%description -n mythgallery
186A gallery/slideshow module for MythTV.
187
c2db80a4
JR
188%description -n mythgallery -l pl.UTF-8
189Moduł galerii/pokazu slajdów dla MythTV.
20cc2885 190
d78b97e1 191%package -n mythgame
20cc2885 192Summary: A game frontend (xmame, nes, snes, pc) for MythTV
9478e970 193Summary(pl.UTF-8): Interfejs do gier (xmame, nes, snes, pc) dla MythTV
d78b97e1 194Group: Applications/Multimedia
1df3695d 195Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
196
197%description -n mythgame
198A game frontend (xmame, nes, snes, pc) for MythTV.
199
c2db80a4 200%description -n mythgame -l pl.UTF-8
20cc2885
JB
201Interfejs do gier (xmame, nes, snes, pc) dla MythTV.
202
d78b97e1 203%package -n mythnews
20cc2885 204Summary: A RSS News Feed plugin for MythTV
9478e970 205Summary(pl.UTF-8): Wtyczka czytnika nowinek RSS dla MythTV
d78b97e1 206Group: Applications/Multimedia
1df3695d 207Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
208
209%description -n mythnews
20cc2885
JB
210A RSS News Feed plugin for MythTV.
211
c2db80a4 212%description -n mythnews -l pl.UTF-8
20cc2885 213Wtyczka czytnika nowinek RSS dla MythTV.
d78b97e1
ER
214
215%package -n mythbrowser
20cc2885 216Summary: A small web browser module for MythTV
9478e970 217Summary(pl.UTF-8): Moduł małej przeglądarki WWW dla MythTV
d78b97e1 218Group: Applications/Multimedia
1df3695d 219Requires: mythtv-frontend-api = %{myth_api_version}
d78b97e1
ER
220
221%description -n mythbrowser
222MythBrowser is a full fledged web-browser (multiple tabs) to display
223webpages in full-screen mode. Simple page navigation is possible.
224Starting with version 0.13 it also has full support for mouse driven
20cc2885 225navigation (right mouse opens and closes the popup menu).
d78b97e1
ER
226
227MythBrowser also contains a BookmarkManager to manage the website
228links in a simple mythplugin.
229
c2db80a4
JR
230%description -n mythbrowser -l pl.UTF-8
231MythBrowser to w pełni funkcjonalna przeglądarka WWW (z wieloma
232zakładkami) wyświetlająca strony WWW w trybie pełnoekranowym. Możliwa
233jest prosta nawigacja po stronie. Począwszy od wersji 0.13 ma pełną
234obsługę nawigacji myszką (prawy przycisk otwiera i zamywa wyskakujące
20cc2885
JB
235menu).
236
c2db80a4 237MythBrowser zawiera także BookmarkManagera do zarządzania odnośnikami
20cc2885
JB
238do stron w prostej wtyczce myth.
239
5e68f3bc
ER
240%package -n mythweb
241Summary: The web interface to MythTV
9478e970 242Summary(pl.UTF-8): Interfejs WWW do MythTV
5e68f3bc 243Group: Applications/Multimedia
3515083d
ER
244Requires: php(mysql)
245Requires: php(posix)
6c7adef8 246Requires: webapps
3515083d 247Requires: webserver(php) >= 4.3
954f6210 248Conflicts: apache-base < 2.4.0-1
5e68f3bc
ER
249
250%description -n mythweb
251The web interface to MythTV.
252
c2db80a4 253%description -n mythweb -l pl.UTF-8
64c9f7c0
JB
254Interfejs WWW do MythTV.
255
fe0648cb 256%package -n mythnetvision
257Summary: Mythtv extension to watch network movie shows
258Summary(pl.UTF-8): Dodatek do MythTV do oglądania sieciowych transmisji
f76d04d4 259Group: Applications/Multimedia
eb38eece 260Requires: mythbrowser
ba43fb99 261Requires: mythtv-frontend-api = %{myth_api_version}
35a6e037
JK
262Requires: python-MythTV
263Requires: python-oauth
f76d04d4 264
fe0648cb 265%description -n mythnetvision
266Mythtv extension to watch network movie shows (ex. YouTube).
f76d04d4 267
fe0648cb 268%description -n mythnetvision -l pl.UTF-8
ba43fb99 269Dodatek do MythTV do oglądania sieciowych transmisji. Na przykład z
270YouTube.
f76d04d4 271
445e2012 272%package -n mythzoneminder
6c7adef8 273Summary: MythTV security TV manager
274Summary(pl.UTF-8): Obsługa kamer przemysłowych dla MythTV
ba857471 275Group: Applications/Multimedia
1df3695d 276Requires: mythtv-frontend-api = %{myth_api_version}
445e2012
JK
277
278%description -n mythzoneminder
6c7adef8 279MythTV security TV manager.
445e2012 280
6c7adef8 281
282%description -n mythzoneminder -l pl.UTF-8
283Obsługa kamer przemysłowych dla MythTV.
445e2012 284
d78b97e1 285%prep
ba43fb99 286%setup -q
287%patch0 -p1
3700824e 288%patch1 -p1
35a6e037 289#%patch10 -p1
6c7adef8 290%patch20 -p1
d78b97e1 291
f76d04d4
ER
292# lib64 fix - enable to update patch
293%if %{_lib} != "lib" && 0
69870715 294find '(' -name '*.[ch]' -o -name '*.cpp' -o -name '*.pro' ')' | \
123e986b 295xargs grep -l /lib/ . | xargs sed -i -e '
ba43fb99 296s,%{_prefix}/lib/,/%{_lib}/,g
cb9924d8 297 s,{PREFIX}/lib,{PREFIX}/%{_lib},g
123e986b 298'
f76d04d4 299exit 1
a8181a32
ER
300%endif
301
d78b97e1 302%build
f76d04d4 303%if %{with binary}
69870715 304export QTDIR="%{_prefix}"
123e986b 305# Not gnu configure
69870715 306%configure \
6c7adef8 307 --libdir-name=`basename %{_lib}` \
69870715 308 --enable-all \
beab7214 309 %{!?with_mytharchive:--disable-mytharchive} \
f76d04d4 310 %{!?with_mythbrowser:--disable-mythbrowser} \
f76d04d4
ER
311 %{!?with_mythgallery:--disable-mythgallery}%{?with_mythgallery:--enable-exif --enable-new-exif --enable-opengl} \
312 %{!?with_mythgame:--disable-mythgame} \
313 %{!?with_mythmusic:--disable-mythmusic}%{?with_mythmysic:--enable-fftw --enable-sdl --enable-aac --enable-opengl} \
314 %{!?with_mythnews:--disable-mythnews} \
f76d04d4
ER
315 %{!?with_mythweather:--disable-mythweather} \
316 %{!?with_mythweb:--disable-mythweb} \
fe0648cb 317 %{!?with_mythnetvision:--disable-mythnetvision} \
f76d04d4
ER
318
319mv mythconfig.mak mythconfig.mak.old
320cp mythconfig.mak.old mythconfig.mak
321cat <<'EOF'>> mythconfig.mak
322QMAKE_CXX=%{__cxx}
323QMAKE_CC=%{__cc}
324OPTFLAGS=%{rpmcflags} -Wall -Wno-switch
35a6e037
JK
325ECFLAGS=%{rpmcflags} %{rpmcppflags} -fomit-frame-pointer
326ECXXFLAGS=%{rpmcflags} %{rpmcppflags} -fomit-frame-pointer -D__STDC_CONSTANT_MACROS
f76d04d4
ER
327EOF
328
d78b97e1 329%{__make}
f76d04d4 330%endif
d78b97e1
ER
331
332%install
333rm -rf $RPM_BUILD_ROOT
f76d04d4 334%if %{with binary}
513b080c 335export QTDIR="%{_prefix}"
20cc2885
JB
336%{__make} install \
337 INSTALL_ROOT=$RPM_BUILD_ROOT
d78b97e1 338
3700824e 339install -d $RPM_BUILD_ROOT/var/lib/{mythmusic,mythbrowser,pictures}
f76d04d4 340%if %{with mythgame}
d78b97e1
ER
341install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/nes/{roms,screens}
342install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/snes/{roms,screens}
16792a62 343install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/xmame/{roms,screens,flyers,cabs}
d78b97e1 344install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC/screens
a8181a32 345cp -a mythgame/gamelist.xml $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC
f76d04d4
ER
346%endif
347%endif
d78b97e1 348
f76d04d4 349%if %{with mythweb}
3cfccba6 350cd mythweb
77c791cb 351cp -a %{SOURCE3} ./
352cp -a %{SOURCE4} ./
3cfccba6 353install -d $RPM_BUILD_ROOT%{_datadir}/mythweb
f76d04d4
ER
354install -d $RPM_BUILD_ROOT/var/cache/mythweb/{image_cache,php_sessions,tv_icons}
355install -d $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
1ed9c09d 356cp -a *.php *.pl classes configuration includes js modules skins $RPM_BUILD_ROOT%{_datadir}/mythweb
1789d48a 357ln -sf /var/cache/mythweb $RPM_BUILD_ROOT%{_datadir}/mythweb/data
f76d04d4 358install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
954f6210 359install %{SOURCE5} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
1789d48a 360install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/lighttpd.conf
f76d04d4 361touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htpasswd
1789d48a 362touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htdigest
3cfccba6 363cd -
f76d04d4
ER
364%endif
365
fe0648cb 366rm -f $RPM_BUILD_ROOT%{_datadir}/data
3cfccba6 367mv $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/mythbrowser_{pt_br,pt}.qm
3700824e 368for p in mytharchive mythbrowser mythgallery mythgame mythmusic mythnetvision mythnews mythweather mythzoneminder; do
f76d04d4 369 for l in $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/${p}_*.qm; do
6c7adef8 370 echo $l | sed -e "s,^$RPM_BUILD_ROOT\(.*${p}_\(.*\).qm\),%%lang(\2) \1,"
f76d04d4
ER
371 done > $p.lang
372done
5e68f3bc 373
d78b97e1 374%clean
69870715 375rm -rf $RPM_BUILD_ROOT
d78b97e1 376
9c2555e2 377%triggerin -n mythweb -- apache1 < 1.3.37-3, apache1-base
f76d04d4
ER
378%webapp_register apache %{_webapp}
379
9c2555e2 380%triggerun -n mythweb -- apache1 < 1.3.37-3, apache1-base
f76d04d4
ER
381%webapp_unregister apache %{_webapp}
382
954f6210 383%triggerin -n mythweb -- apache-base
f76d04d4
ER
384%webapp_register httpd %{_webapp}
385
1789d48a 386%triggerin -n mythweb -- lighttpd
387%webapp_register lighttpd %{_webapp}
388
954f6210 389%triggerun -n mythweb -- apache-base
f76d04d4
ER
390%webapp_unregister httpd %{_webapp}
391
1789d48a 392%triggerun -n mythweb -- lighttpd
393%webapp_unregister lighttpd %{_webapp}
394
f76d04d4
ER
395%triggerpostun -n mythweb -- mythweb < 0.19
396for 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
397 if [ -f /etc/mythweb/$i.rpmsave ]; then
398 mv -f %{_webapps}/%{_webapp}/$i{,.rpmnew}
399 mv -f /etc/mythweb/$i.rpmsave %{_webapps}/%{_webapp}/$i
400 fi
401done
402sed -i -e 's,/etc/mythweb,%{_webapps}/%{_webapp},' %{_webapps}/%{_webapp}/{apache,httpd}.conf
403
404# migrate from apache-config macros
405if [ -f /etc/mythweb/apache.conf.rpmsave ]; then
406 if [ -d /etc/apache/webapps.d ]; then
407 cp -f %{_webapps}/%{_webapp}/apache.conf{,.rpmnew}
408 cp -f /etc/mythweb/apache.conf.rpmsave %{_webapps}/%{_webapp}/apache.conf
409 fi
410
411 if [ -d /etc/httpd/webapps.d ]; then
412 cp -f %{_webapps}/%{_webapp}/httpd.conf{,.rpmnew}
413 cp -f /etc/mythweb/apache.conf.rpmsave %{_webapps}/%{_webapp}/httpd.conf
414 fi
415 rm -f /etc/mythweb/apache.conf.rpmsave
416fi
417
418if [ -L /etc/apache/conf.d/99_mythplugins.conf ]; then
419 rm -f /etc/apache/conf.d/99_mythplugins.conf
420 /usr/sbin/webapp register apache %{_webapp}
421 %service -q apache reload
422fi
423if [ -L /etc/httpd/httpd.conf/99_mythplugins.conf ]; then
424 rm -f /etc/httpd/httpd.conf/99_mythplugins.conf
425 /usr/sbin/webapp register httpd %{_webapp}
426 %service -q httpd reload
427fi
5e68f3bc 428
77c791cb 429%post -n mythweb
430echo "Read %{_docdir}/mythweb-%{version}/http_servers_conf_tips.txt.gz to find
431which packages you can need to run mythweb and how to set it quickly."
432
d78b97e1
ER
433%files
434%defattr(644,root,root,755)
d78b97e1 435
beab7214
ER
436%if %{with mytharchive}
437%files -n mytharchive -f mytharchive.lang
438%defattr(644,root,root,755)
ede751f4 439%doc mytharchive/AUTHORS mytharchive/README mytharchive/TODO
beab7214
ER
440%attr(755,root,root) %{_bindir}/mytharchivehelper
441%attr(755,root,root) %{_libdir}/mythtv/plugins/libmytharchive.so
beab7214 442%{_datadir}/mythtv/archivemenu.xml
6c7adef8 443%{_datadir}/mythtv/archiveutils.xml
beab7214
ER
444%{_datadir}/mythtv/themes/default/ma_*.png
445%{_datadir}/mythtv/themes/default/mytharchive-ui.xml
446%{_datadir}/mythtv/themes/default/mythburn-ui.xml
447%{_datadir}/mythtv/themes/default/mythnative-ui.xml
6c7adef8 448%{_datadir}/mythtv/themes/default-wide/mytharchive-ui.xml
449%{_datadir}/mythtv/themes/default-wide/mythburn-ui.xml
450%{_datadir}/mythtv/themes/default-wide/mythnative-ui.xml
beab7214
ER
451%{_datadir}/mythtv/mytharchive
452%endif
453
f76d04d4
ER
454%if %{with mythmusic}
455%files -n mythmusic -f mythmusic.lang
d78b97e1 456%defattr(644,root,root,755)
beab7214 457%doc mythmusic/README mythmusic/AUTHORS mythmusic/musicdb
d78b97e1 458%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythmusic.so
513b080c 459/var/lib/mythmusic
d78b97e1
ER
460%{_datadir}/mythtv/musicmenu.xml
461%{_datadir}/mythtv/music_settings.xml
3700824e
JR
462%dir %{_datadir}/mythtv/mythmusic
463%{_datadir}/mythtv/mythmusic/streams.xml
464%{_datadir}/mythtv/themes/default/music-base.xml
f76d04d4 465%{_datadir}/mythtv/themes/default/music-ui.xml
3700824e 466%{_datadir}/mythtv/themes/default/musicsettings-ui.xml
98f7401a 467%{_datadir}/mythtv/themes/default/mm-titlelines.png
3700824e 468%{_datadir}/mythtv/themes/default-wide/music-base.xml
6c7adef8 469%{_datadir}/mythtv/themes/default-wide/music-ui.xml
3700824e 470%{_datadir}/mythtv/themes/default-wide/musicsettings-ui.xml
98f7401a 471%{_datadir}/mythtv/themes/default-wide/mm-titlelines.png
3700824e 472%{_datadir}/mythtv/themes/default-wide/stream-ui.xml
d78b97e1
ER
473%{_datadir}/mythtv/themes/default/ff_button_off.png
474%{_datadir}/mythtv/themes/default/ff_button_on.png
475%{_datadir}/mythtv/themes/default/ff_button_pushed.png
6c7adef8 476%{_datadir}/mythtv/themes/default/miniplayer_background.png
445e2012 477%{_datadir}/mythtv/themes/default/mm_*.png
d78b97e1 478%{_datadir}/mythtv/themes/default/music-sel-bg.png
d78b97e1
ER
479%{_datadir}/mythtv/themes/default/next_button_off.png
480%{_datadir}/mythtv/themes/default/next_button_on.png
481%{_datadir}/mythtv/themes/default/next_button_pushed.png
482%{_datadir}/mythtv/themes/default/pause_button_off.png
483%{_datadir}/mythtv/themes/default/pause_button_on.png
484%{_datadir}/mythtv/themes/default/pause_button_pushed.png
485%{_datadir}/mythtv/themes/default/play_button_off.png
486%{_datadir}/mythtv/themes/default/play_button_on.png
487%{_datadir}/mythtv/themes/default/play_button_pushed.png
488%{_datadir}/mythtv/themes/default/prev_button_off.png
489%{_datadir}/mythtv/themes/default/prev_button_on.png
490%{_datadir}/mythtv/themes/default/prev_button_pushed.png
491%{_datadir}/mythtv/themes/default/rew_button_off.png
492%{_datadir}/mythtv/themes/default/rew_button_on.png
493%{_datadir}/mythtv/themes/default/rew_button_pushed.png
494%{_datadir}/mythtv/themes/default/selectionbar.png
495%{_datadir}/mythtv/themes/default/stop_button_off.png
496%{_datadir}/mythtv/themes/default/stop_button_on.png
497%{_datadir}/mythtv/themes/default/stop_button_pushed.png
d78b97e1 498%{_datadir}/mythtv/themes/default/track_info_background.png
6c7adef8 499%{_datadir}/mythtv/themes/default-wide/mm_*.png
500%{_datadir}/mythtv/themes/default-wide/music-sel-bg.png
f76d04d4 501%endif
d78b97e1 502
f76d04d4
ER
503%if %{with mythweather}
504%files -n mythweather -f mythweather.lang
d78b97e1 505%defattr(644,root,root,755)
ede751f4 506%doc mythweather/AUTHORS mythweather/README
d78b97e1 507%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythweather.so
6c7adef8 508%{_datadir}/mythtv/mythweather
509%{_datadir}/mythtv/weather_settings.xml
d78b97e1 510%{_datadir}/mythtv/themes/default/weather-ui.xml
6c7adef8 511%{_datadir}/mythtv/themes/default-wide/weather-ui.xml
d78b97e1
ER
512%{_datadir}/mythtv/themes/default/cloudy.png
513%{_datadir}/mythtv/themes/default/fair.png
514%{_datadir}/mythtv/themes/default/flurries.png
515%{_datadir}/mythtv/themes/default/fog.png
516%{_datadir}/mythtv/themes/default/logo.png
517%{_datadir}/mythtv/themes/default/lshowers.png
518%{_datadir}/mythtv/themes/default/mcloudy.png
445e2012 519%{_datadir}/mythtv/themes/default/mw_*.png
d78b97e1
ER
520%{_datadir}/mythtv/themes/default/mwmain.png
521%{_datadir}/mythtv/themes/default/pcloudy.png
522%{_datadir}/mythtv/themes/default/rainsnow.png
523%{_datadir}/mythtv/themes/default/showers.png
524%{_datadir}/mythtv/themes/default/snowshow.png
525%{_datadir}/mythtv/themes/default/sunny.png
526%{_datadir}/mythtv/themes/default/thunshowers.png
527%{_datadir}/mythtv/themes/default/unknown.png
445e2012 528%{_datadir}/mythtv/themes/default-wide/mw-*.png
f76d04d4 529%endif
d78b97e1 530
f76d04d4
ER
531%if %{with mythgallery}
532%files -n mythgallery -f mythgallery.lang
d78b97e1 533%defattr(644,root,root,755)
ede751f4 534%doc mythgallery/AUTHORS mythgallery/README
d78b97e1
ER
535%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythgallery.so
536%{_datadir}/mythtv/themes/default/gallery-ui.xml
6c7adef8 537%{_datadir}/mythtv/themes/default-wide/gallery-ui.xml
d78b97e1 538%{_datadir}/mythtv/themes/default/gallery-*.png
513b080c 539/var/lib/pictures
f76d04d4 540%endif
d78b97e1 541
f76d04d4
ER
542%if %{with mythgame}
543%files -n mythgame -f mythgame.lang
d78b97e1 544%defattr(644,root,root,755)
ede751f4 545%doc mythgame/contrib
d78b97e1
ER
546%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythgame.so
547%{_datadir}/mythtv/games
d78b97e1
ER
548%{_datadir}/mythtv/game_settings.xml
549%{_datadir}/mythtv/themes/default/game-ui.xml
6c7adef8 550%{_datadir}/mythtv/themes/default-wide/game-ui.xml
35a6e037
JK
551%dir %{_datadir}/mythtv/metadata/Game
552%attr(755,root,root) %{_datadir}/mythtv/metadata/Game/giantbomb.py
553%{_datadir}/mythtv/metadata/Game/giantbomb
f76d04d4 554%endif
d78b97e1 555
f76d04d4
ER
556%if %{with mythnews}
557%files -n mythnews -f mythnews.lang
d78b97e1 558%defattr(644,root,root,755)
123e986b 559%doc mythnews/README mythnews/AUTHORS
d78b97e1
ER
560%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythnews.so
561%{_datadir}/mythtv/mythnews
562%{_datadir}/mythtv/themes/default/news-ui.xml
ba857471 563%{_datadir}/mythtv/themes/default/news-info-bg.png
6c7adef8 564%{_datadir}/mythtv/themes/default/enclosures.png
565%{_datadir}/mythtv/themes/default/need-download.png
566%{_datadir}/mythtv/themes/default/podcast.png
567%{_datadir}/mythtv/themes/default-wide/news-ui.xml
f76d04d4 568%endif
d78b97e1 569
f76d04d4
ER
570%if %{with mythbrowser}
571%files -n mythbrowser -f mythbrowser.lang
d78b97e1 572%defattr(644,root,root,755)
b0c55580 573%doc mythbrowser/README mythbrowser/AUTHORS
98f7401a 574%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythbrowser.so
3700824e 575%{_datadir}/mythtv/themes/default/mb_*.png
6c7adef8 576%{_datadir}/mythtv/themes/default/browser-ui.xml
577%{_datadir}/mythtv/themes/default-wide/browser-ui.xml
f76d04d4 578%endif
d78b97e1 579
f76d04d4 580%if %{with mythweb}
5e68f3bc
ER
581%files -n mythweb
582%defattr(644,root,root,755)
25a966e5 583%doc mythweb/README mythweb/mythweb.conf.lighttpd
77c791cb 584%doc mythweb/htdigest.sh
585%doc mythweb/http_servers_conf_tips.txt
f76d04d4
ER
586%dir %attr(750,root,http) %{_webapps}/%{_webapp}
587%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
588%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
f76d04d4 589%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htpasswd
1789d48a 590%attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/lighttpd.conf
591%attr(640,root,lighttpd) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htdigest
5e68f3bc 592%{_datadir}/mythweb
f76d04d4 593%dir %attr(771,root,http) /var/cache/mythweb
5e68f3bc
ER
594%dir %attr(771,root,http) /var/cache/mythweb/image_cache
595%dir %attr(771,root,http) /var/cache/mythweb/php_sessions
f76d04d4
ER
596%dir %attr(771,root,http) /var/cache/mythweb/tv_icons
597%endif
598
fe0648cb 599%if %{with mythnetvision}
600%files -n mythnetvision -f mythnetvision.lang
f76d04d4 601%defattr(644,root,root,755)
fe0648cb 602%doc mythnetvision/{AUTHORS,ChangeLog,README}
35a6e037 603%attr(755,root,root) %{_bindir}/mythfillnetvision
fe0648cb 604%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythnetvision.so
605%dir %{_datadir}/mythtv/mythnetvision
606%{_datadir}/mythtv/netvisionmenu.xml
fe0648cb 607%dir %{_datadir}/mythtv/mythnetvision/icons
608%dir %{_datadir}/mythtv/mythnetvision/icons/directories
609%{_datadir}/mythtv/mythnetvision/icons/*.png
38ddb290 610%dir %{_datadir}/mythtv/mythnetvision/icons/directories/film_genres
fe0648cb 611%{_datadir}/mythtv/mythnetvision/icons/directories/film_genres/*.png
38ddb290 612%dir %{_datadir}/mythtv/mythnetvision/icons/directories/music_genres
fe0648cb 613%{_datadir}/mythtv/mythnetvision/icons/directories/music_genres/*.png
38ddb290 614%dir %{_datadir}/mythtv/mythnetvision/icons/directories/topics
fe0648cb 615%{_datadir}/mythtv/mythnetvision/icons/directories/topics/*.png
ba43fb99 616%{_datadir}/mythtv/themes/default-wide/netvision-ui.xml
fe0648cb 617%{_datadir}/mythtv/themes/default/netvision-ui.xml
f76d04d4
ER
618%endif
619
445e2012 620%if %{with mythzoneminder}
6c7adef8 621%files -n mythzoneminder
622%defattr(644,root,root,755)
445e2012 623%defattr(644,root,root,755)
6c7adef8 624%doc mythzoneminder/{AUTHORS,README}
445e2012
JK
625%attr(755,root,root) %{_bindir}/mythzmserver
626%attr(755,root,root) %{_libdir}/mythtv/plugins/libmythzoneminder.so
6c7adef8 627%dir %{_datadir}/mythtv/zonemindermenu.xml
445e2012
JK
628%{_datadir}/mythtv/themes/default/zoneminder-ui.xml
629%{_datadir}/mythtv/themes/default-wide/zoneminder-ui.xml
6c7adef8 630%{_datadir}/mythtv/themes/default/mz_*png
98f7401a 631%{_datadir}/mythtv/i18n/mythzoneminder_*.qm
445e2012 632%endif
This page took 0.153202 seconds and 4 git commands to generate.