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