1 | # |
---|
2 | # Specfile for building MythTV and MythPlugins RPMs from a git checkout. |
---|
3 | # |
---|
4 | # by: Chris Petersen <rpm@forevermore.net> |
---|
5 | # Jarod Wilson <jarod@wilsonet.com> |
---|
6 | # |
---|
7 | # Modified/Extended from the great (non-svn based) work of: |
---|
8 | # Axel Thimm <Axel.Thimm@ATrpms.net> |
---|
9 | # David Bussenschutt <buzz@oska.com> |
---|
10 | # and others; see changelog at bottom for details. |
---|
11 | # |
---|
12 | # The latest canonical upstream version of this file can be found at: |
---|
13 | # |
---|
14 | # https://github.com/MythTV/packaging/tree/fixes/0.24/rpm |
---|
15 | # |
---|
16 | # The latest RPM Fusion version can be found at: |
---|
17 | # |
---|
18 | # http://cvs.rpmfusion.org/viewvc/rpms/mythtv/devel/?root=free |
---|
19 | # |
---|
20 | # Note: |
---|
21 | # |
---|
22 | # This spec relies upon several files included in the RPM Fusion mythtv |
---|
23 | # src.rpm file. Please install it into your build tree before trying to |
---|
24 | # build anything with this spec. |
---|
25 | # |
---|
26 | # Explanation of options: |
---|
27 | # |
---|
28 | # --with proc_opt Enable MythTV's optimized processor detection code |
---|
29 | # and override RPM's defaults. |
---|
30 | # --with debug Enable debug mode |
---|
31 | # |
---|
32 | # The following options are disabled by default. Use these options to enable: |
---|
33 | # |
---|
34 | # --with directfb Enable directfb support |
---|
35 | # |
---|
36 | # The following options are enabled by default. Use these options to disable: |
---|
37 | # |
---|
38 | # --without vdpau Disable VDPAU support |
---|
39 | # --without crystalhd Disable Crystal HD support |
---|
40 | # --without xvmc Disable XvMC support |
---|
41 | # --without perl Disable building of the perl bindings |
---|
42 | # --without python Disable building of the python bindings |
---|
43 | # |
---|
44 | # # All plugins get built by default, but you can disable them as you wish: |
---|
45 | # |
---|
46 | # --without mytharchive |
---|
47 | # --without mythbrowser |
---|
48 | # --without mythgallery |
---|
49 | # --without mythgame |
---|
50 | # --without mythmusic |
---|
51 | # --without mythnetvision |
---|
52 | # --without mythnews |
---|
53 | # --without mythvideo |
---|
54 | # --without mythweather |
---|
55 | # --without mythzoneminder |
---|
56 | # |
---|
57 | |
---|
58 | ################################################################################ |
---|
59 | |
---|
60 | # A list of which applications we want to put into the desktop menu system |
---|
61 | %define desktop_applications mythfrontend mythtv-setup |
---|
62 | |
---|
63 | # The vendor name we should attribute the aforementioned entries to |
---|
64 | %define desktop_vendor xris |
---|
65 | |
---|
66 | # MythTV Version string -- preferably the output from git --describe |
---|
67 | %define vers_string v0.24-93-g2f3a2f8 |
---|
68 | |
---|
69 | # Git Revision number and branch ID |
---|
70 | %define _gitrev 1 |
---|
71 | %define branch master |
---|
72 | |
---|
73 | # |
---|
74 | # Basic descriptive tags for this package: |
---|
75 | # |
---|
76 | Name: mythtv |
---|
77 | Summary: A digital video recorder (DVR) application |
---|
78 | URL: http://www.mythtv.org/ |
---|
79 | Group: Applications/Multimedia |
---|
80 | |
---|
81 | # Version/Release info |
---|
82 | Version: 0.24 |
---|
83 | %if "%{branch}" == "master" |
---|
84 | Release: 0.1.git.%{_gitrev}%{?dist} |
---|
85 | %else |
---|
86 | Release: 1%{?dist} |
---|
87 | %endif |
---|
88 | |
---|
89 | # The primary license is GPLv2+, but bits are borrowed from a number of |
---|
90 | # projects... For a breakdown of the licensing, see PACKAGE-LICENSING. |
---|
91 | License: GPLv2+ and LGPLv2+ and LGPLv2 and (GPLv2 or QPL) and (GPLv2+ or LGPLv2+) |
---|
92 | |
---|
93 | ################################################################################ |
---|
94 | |
---|
95 | # Set "--with proc_opt" to let mythtv autodetect your CPU and run its |
---|
96 | # processor-specific optimizations. It seems to cause compile problems on many |
---|
97 | # systems (particularly x86_64), so it is classified by the MythTV developers |
---|
98 | # as "use at your own risk." |
---|
99 | %define with_proc_opt %{?_with_proc_opt: 1} %{!?_with_proc_opt: 0} |
---|
100 | |
---|
101 | # Set "--with debug" to enable MythTV debug compile mode |
---|
102 | %define with_debug %{?_with_debug: 1} %{?!_with_debug: 0} |
---|
103 | |
---|
104 | # The following options are enabled by default. Use --without to disable them |
---|
105 | %define with_vdpau %{?_without_vdpau: 0} %{?!_without_vdpau: 1} |
---|
106 | %define with_crystalhd %{?_without_crystalhd: 0} %{?!_without_crystalhd: 1} |
---|
107 | %define with_xvmc %{?_without_xvmc: 0} %{?!_without_xvmc: 1} |
---|
108 | %define with_perl %{?_without_perl: 0} %{!?_without_perl: 1} |
---|
109 | %define with_python %{?_without_python: 0} %{!?_without_python: 1} |
---|
110 | %define with_pulseaudio %{?_without_pulseaudio: 0} %{!?_without_pulseaudio: 1} |
---|
111 | |
---|
112 | # The following options are disabled by default. Use --with to enable them |
---|
113 | %define with_directfb %{?_with_directfb: 1} %{!?_with_directfb: 0} |
---|
114 | |
---|
115 | # All plugins get built by default, but you can disable them as you wish |
---|
116 | %define with_plugins %{?_without_plugins: 0} %{!?_without_plugins: 1} |
---|
117 | %define with_mytharchive %{?_without_mytharchive: 0} %{!?_without_mytharchive: 1} |
---|
118 | %define with_mythbrowser %{?_without_mythbrowser: 0} %{!?_without_mythbrowser: 1} |
---|
119 | %define with_mythgallery %{?_without_mythgallery: 0} %{!?_without_mythgallery: 1} |
---|
120 | %define with_mythgame %{?_without_mythgame: 0} %{!?_without_mythgame: 1} |
---|
121 | %define with_mythmusic %{?_without_mythmusic: 0} %{!?_without_mythmusic: 1} |
---|
122 | %define with_mythnews %{?_without_mythnews: 0} %{!?_without_mythnews: 1} |
---|
123 | %define with_mythvideo %{?_without_mythvideo: 0} %{!?_without_mythvideo: 1} |
---|
124 | %define with_mythweather %{?_without_mythweather: 0} %{!?_without_mythweather: 1} |
---|
125 | %define with_mythzoneminder %{?_without_mythzoneminder: 0} %{!?_without_mythzoneminder: 1} |
---|
126 | %define with_mythnetvision %{?_without_mythnetvision: 0} %{!?_without_mythnetvision: 1} |
---|
127 | |
---|
128 | ################################################################################ |
---|
129 | |
---|
130 | Source0: http://www.mythtv.org/mc/mythtv-%{version}.tar.bz2 |
---|
131 | Source1: http://www.mythtv.org/mc/mythplugins-%{version}.tar.bz2 |
---|
132 | Source10: PACKAGE-LICENSING |
---|
133 | Source101: mythbackend.sysconfig |
---|
134 | Source102: mythbackend.init |
---|
135 | Source103: mythbackend.logrotate |
---|
136 | Source106: mythfrontend.png |
---|
137 | Source107: mythfrontend.desktop |
---|
138 | Source108: mythtv-setup.png |
---|
139 | Source109: mythtv-setup.desktop |
---|
140 | Source110: mysql.txt |
---|
141 | |
---|
142 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
143 | |
---|
144 | ################################################################################ |
---|
145 | # Python setup |
---|
146 | |
---|
147 | %if %{with_python} |
---|
148 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
149 | %{!?python_version: %define python_version %(%{__python} -c 'import sys; print sys.version.split(" ")[0]')} |
---|
150 | %endif |
---|
151 | |
---|
152 | ################################################################################ |
---|
153 | |
---|
154 | # Global MythTV and Shared Build Requirements |
---|
155 | |
---|
156 | BuildRequires: desktop-file-utils |
---|
157 | BuildRequires: freetype-devel >= 2 |
---|
158 | BuildRequires: gcc-c++ |
---|
159 | BuildRequires: mysql-devel >= 5 |
---|
160 | %if 0%{?fedora} >= 14 |
---|
161 | BuildRequires: qt-webkit-devel |
---|
162 | BuildRequires: qt-devel >= 4.4 |
---|
163 | %else |
---|
164 | BuildRequires: qt4-devel >= 4.4 |
---|
165 | %endif |
---|
166 | BuildRequires: phonon-devel |
---|
167 | |
---|
168 | BuildRequires: lm_sensors-devel |
---|
169 | BuildRequires: lirc-devel |
---|
170 | BuildRequires: nasm, yasm-devel |
---|
171 | |
---|
172 | # X, and Xv video support |
---|
173 | BuildRequires: libXmu-devel |
---|
174 | BuildRequires: libXv-devel |
---|
175 | BuildRequires: libXvMC-devel |
---|
176 | BuildRequires: libXxf86vm-devel |
---|
177 | BuildRequires: mesa-libGLU-devel |
---|
178 | BuildRequires: xorg-x11-proto-devel |
---|
179 | %ifarch %{ix86} x86_64 |
---|
180 | BuildRequires: xorg-x11-drv-intel-devel |
---|
181 | BuildRequires: xorg-x11-drv-openchrome-devel |
---|
182 | %endif |
---|
183 | |
---|
184 | # OpenGL video output and vsync support |
---|
185 | BuildRequires: libGL-devel, libGLU-devel |
---|
186 | |
---|
187 | # Misc A/V format support |
---|
188 | BuildRequires: fftw-devel >= 3 |
---|
189 | BuildRequires: flac-devel >= 1.0.4 |
---|
190 | BuildRequires: gsm-devel |
---|
191 | BuildRequires: lame-devel |
---|
192 | BuildRequires: libdca-devel |
---|
193 | BuildRequires: libdvdnav-devel |
---|
194 | BuildRequires: libdvdread-devel >= 0.9.4 |
---|
195 | # nb: libdvdcss will be dynamically loaded if installed |
---|
196 | BuildRequires: libfame-devel >= 0.9.0 |
---|
197 | BuildRequires: libogg-devel |
---|
198 | BuildRequires: libtheora-devel |
---|
199 | BuildRequires: libvorbis-devel >= 1.0 |
---|
200 | BuildRequires: mjpegtools-devel >= 1.6.1 |
---|
201 | BuildRequires: taglib-devel >= 1.5 |
---|
202 | BuildRequires: x264-devel |
---|
203 | BuildRequires: xvidcore-devel >= 0.9.1 |
---|
204 | |
---|
205 | # Audio framework support |
---|
206 | BuildRequires: alsa-lib-devel |
---|
207 | BuildRequires: arts-devel |
---|
208 | BuildRequires: jack-audio-connection-kit-devel |
---|
209 | %if %{with_pulseaudio} |
---|
210 | BuildRequires: pulseaudio-libs-devel |
---|
211 | %endif |
---|
212 | |
---|
213 | # Need dvb headers to build in dvb support |
---|
214 | BuildRequires: kernel-headers |
---|
215 | |
---|
216 | # FireWire cable box support |
---|
217 | BuildRequires: libavc1394-devel |
---|
218 | BuildRequires: libiec61883-devel |
---|
219 | BuildRequires: libraw1394-devel |
---|
220 | |
---|
221 | %if %{with_directfb} |
---|
222 | BuildRequires: directfb-devel |
---|
223 | %endif |
---|
224 | |
---|
225 | %if %{with_vdpau} |
---|
226 | BuildRequires: libvdpau-devel |
---|
227 | %endif |
---|
228 | |
---|
229 | %if %{with_crystalhd} |
---|
230 | BuildRequires: libcrystalhd-devel |
---|
231 | %endif |
---|
232 | |
---|
233 | # API Build Requirements |
---|
234 | |
---|
235 | %if %{with_perl} |
---|
236 | BuildRequires: perl |
---|
237 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
238 | BuildRequires: perl(Config) |
---|
239 | BuildRequires: perl(Exporter) |
---|
240 | BuildRequires: perl(Fcntl) |
---|
241 | BuildRequires: perl(File::Copy) |
---|
242 | BuildRequires: perl(Sys::Hostname) |
---|
243 | BuildRequires: perl(DBI) |
---|
244 | BuildRequires: perl(HTTP::Request) |
---|
245 | BuildRequires: perl(Net::UPnP::QueryResponse) |
---|
246 | BuildRequires: perl(Net::UPnP::ControlPoint) |
---|
247 | %endif |
---|
248 | |
---|
249 | %if %{with_python} |
---|
250 | BuildRequires: python-devel |
---|
251 | BuildRequires: MySQL-python |
---|
252 | %endif |
---|
253 | |
---|
254 | # Plugin Build Requirements |
---|
255 | |
---|
256 | %if %{with_plugins} |
---|
257 | |
---|
258 | %if %{with_mythgallery} |
---|
259 | BuildRequires: libexif-devel >= 0.6.9 |
---|
260 | %endif |
---|
261 | |
---|
262 | %if %{with_mythgame} |
---|
263 | BuildRequires: zlib-devel |
---|
264 | %endif |
---|
265 | |
---|
266 | %if %{with_mythmusic} |
---|
267 | BuildRequires: libcdaudio-devel >= 0.99.6 |
---|
268 | BuildRequires: cdparanoia-devel |
---|
269 | BuildRequires: libvisual-devel |
---|
270 | BuildRequires: SDL-devel |
---|
271 | %endif |
---|
272 | |
---|
273 | %if %{with_mythnews} |
---|
274 | %endif |
---|
275 | |
---|
276 | %if 0%{?fedora} >= 9 |
---|
277 | BuildRequires: ncurses-devel |
---|
278 | %else |
---|
279 | BuildRequires: libtermcap-devel |
---|
280 | %endif |
---|
281 | |
---|
282 | %if %{with_mythvideo} |
---|
283 | Requires: perl(XML::Simple) |
---|
284 | %endif |
---|
285 | |
---|
286 | %if %{with_mythweather} |
---|
287 | Requires: mythweather >= %{version} |
---|
288 | BuildRequires: perl(XML::Simple) |
---|
289 | Requires: perl(XML::Simple) |
---|
290 | Requires: perl(LWP::Simple) |
---|
291 | BuildRequires: perl(DateTime::Format::ISO8601) |
---|
292 | Requires: perl(DateTime::Format::ISO8601) |
---|
293 | BuildRequires: perl(XML::XPath) |
---|
294 | Requires: perl(XML::XPath) |
---|
295 | BuildRequires: perl(Date::Manip) |
---|
296 | Requires: perl(Date::Manip) |
---|
297 | BuildRequires: perl(Image::Size) |
---|
298 | Requires: perl(Image::Size) |
---|
299 | BuildRequires: perl(SOAP::Lite) |
---|
300 | Requires: perl(SOAP::Lite) |
---|
301 | %endif |
---|
302 | |
---|
303 | %if %{with_mythzoneminder} |
---|
304 | %endif |
---|
305 | |
---|
306 | %if %{with_mythnetvision} |
---|
307 | BuildRequires: python-pycurl |
---|
308 | BuildRequires: python-lxml |
---|
309 | BuildRequires: python-oauth |
---|
310 | %endif |
---|
311 | |
---|
312 | %endif |
---|
313 | |
---|
314 | ################################################################################ |
---|
315 | # Requirements for the mythtv meta package |
---|
316 | |
---|
317 | Requires: mythtv-libs = %{version}-%{release} |
---|
318 | Requires: mythtv-backend = %{version}-%{release} |
---|
319 | Requires: mythtv-base-themes = %{version}-%{release} |
---|
320 | Requires: mythtv-common = %{version}-%{release} |
---|
321 | Requires: mythtv-docs = %{version}-%{release} |
---|
322 | Requires: mythtv-frontend = %{version}-%{release} |
---|
323 | Requires: mythtv-setup = %{version}-%{release} |
---|
324 | Requires: perl-MythTV = %{version}-%{release} |
---|
325 | Requires: python-MythTV = %{version}-%{release} |
---|
326 | |
---|
327 | Requires: mythplugins = %{version}-%{release} |
---|
328 | Requires: mythtv-themes = %{version} |
---|
329 | |
---|
330 | Requires: mysql-server >= 5, mysql >= 5 |
---|
331 | # XMLTV is not yet packaged for rpmfusion |
---|
332 | #Requires: xmltv |
---|
333 | |
---|
334 | # Generate the required mythtv-frontend-api version string here so we only |
---|
335 | # have to do it once. |
---|
336 | %define mythfeapiver %(echo %{version} | awk -F. '{print $1 "." $2}') |
---|
337 | |
---|
338 | ################################################################################ |
---|
339 | |
---|
340 | %description |
---|
341 | MythTV provides a unified graphical interface for recording and viewing |
---|
342 | television programs. Refer to the mythtv package for more information. |
---|
343 | |
---|
344 | There are also several add-ons and themes available. In order to facilitate |
---|
345 | installations with smart/apt-get/yum and other related package |
---|
346 | resolvers this meta-package can be used to install all in one sweep. |
---|
347 | |
---|
348 | MythTV implements the following DVR features, and more, with a |
---|
349 | unified graphical interface: |
---|
350 | |
---|
351 | - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV. |
---|
352 | - Video compression using RTjpeg or MPEG-4, and support for DVB and |
---|
353 | hardware encoder cards/devices. |
---|
354 | - Program listing retrieval using XMLTV |
---|
355 | - Themable, semi-transparent on-screen display |
---|
356 | - Electronic program guide |
---|
357 | - Scheduled recording of TV programs |
---|
358 | - Resolution of conflicts between scheduled recordings |
---|
359 | - Basic video editing |
---|
360 | |
---|
361 | ################################################################################ |
---|
362 | |
---|
363 | %package docs |
---|
364 | Summary: MythTV documentation |
---|
365 | Group: Documentation |
---|
366 | |
---|
367 | %description docs |
---|
368 | The MythTV documentation, contrib files, database initialization file |
---|
369 | and miscellaneous other bits and pieces. |
---|
370 | |
---|
371 | ################################################################################ |
---|
372 | |
---|
373 | %package libs |
---|
374 | Summary: Library providing mythtv support |
---|
375 | Group: System Environment/Libraries |
---|
376 | Provides: libmyth = %{version}-%{release} |
---|
377 | Obsoletes: libmyth < %{version}-%{release} |
---|
378 | |
---|
379 | Requires: freetype >= 2 |
---|
380 | Requires: lame |
---|
381 | Requires: qt4 >= 4.4 |
---|
382 | Requires: qt4-MySQL |
---|
383 | |
---|
384 | %description libs |
---|
385 | Common library code for MythTV and add-on modules (development) |
---|
386 | MythTV provides a unified graphical interface for recording and viewing |
---|
387 | television programs. Refer to the mythtv package for more information. |
---|
388 | |
---|
389 | ################################################################################ |
---|
390 | |
---|
391 | %package devel |
---|
392 | Summary: Development files for mythtv |
---|
393 | Group: Development/Libraries |
---|
394 | Provides: libmyth-devel = %{version}-%{release} |
---|
395 | Obsoletes: libmyth-devel < %{version}-%{release} |
---|
396 | |
---|
397 | Requires: mythtv-libs = %{version}-%{release} |
---|
398 | |
---|
399 | Requires: freetype-devel >= 2 |
---|
400 | Requires: mysql-devel >= 5 |
---|
401 | Requires: qt4-devel >= 4.4 |
---|
402 | Requires: lm_sensors-devel |
---|
403 | Requires: lirc-devel |
---|
404 | |
---|
405 | # X, and Xv video support |
---|
406 | Requires: libXmu-devel |
---|
407 | Requires: libXv-devel |
---|
408 | Requires: libXvMC-devel |
---|
409 | Requires: libXxf86vm-devel |
---|
410 | Requires: mesa-libGLU-devel |
---|
411 | Requires: xorg-x11-proto-devel |
---|
412 | %ifarch %{ix86} x86_64 |
---|
413 | Requires: xorg-x11-drv-i810-devel |
---|
414 | Requires: xorg-x11-drv-openchrome-devel |
---|
415 | %endif |
---|
416 | |
---|
417 | # OpenGL video output and vsync support |
---|
418 | Requires: libGL-devel, libGLU-devel |
---|
419 | |
---|
420 | # Misc A/V format support |
---|
421 | Requires: fftw-devel >= 3 |
---|
422 | Requires: flac-devel >= 1.0.4 |
---|
423 | Requires: gsm-devel |
---|
424 | Requires: lame-devel |
---|
425 | Requires: libdca-devel |
---|
426 | Requires: libdvdnav-devel |
---|
427 | Requires: libdvdread-devel >= 0.9.4 |
---|
428 | Requires: libfame-devel >= 0.9.0 |
---|
429 | Requires: libogg-devel |
---|
430 | Requires: libtheora-devel |
---|
431 | Requires: libvorbis-devel >= 1.0 |
---|
432 | Requires: mjpegtools-devel >= 1.6.1 |
---|
433 | Requires: taglib-devel >= 1.5 |
---|
434 | Requires: x264-devel |
---|
435 | Requires: xvidcore-devel >= 0.9.1 |
---|
436 | |
---|
437 | # Audio framework support |
---|
438 | Requires: alsa-lib-devel |
---|
439 | Requires: arts-devel |
---|
440 | Requires: jack-audio-connection-kit-devel |
---|
441 | %if %{with_pulseaudio} |
---|
442 | Requires: pulseaudio-libs-devel |
---|
443 | %endif |
---|
444 | |
---|
445 | # Need dvb headers for dvb support |
---|
446 | Requires: kernel-headers |
---|
447 | |
---|
448 | # FireWire cable box support |
---|
449 | Requires: libavc1394-devel |
---|
450 | Requires: libiec61883-devel |
---|
451 | Requires: libraw1394-devel |
---|
452 | |
---|
453 | %if %{with_directfb} |
---|
454 | Requires: directfb-devel |
---|
455 | %endif |
---|
456 | |
---|
457 | %if %{with_vdpau} |
---|
458 | Requires: libvdpau-devel |
---|
459 | %endif |
---|
460 | |
---|
461 | %if %{with_crystalhd} |
---|
462 | Requires: libcrystalhd-devel |
---|
463 | %endif |
---|
464 | |
---|
465 | %description devel |
---|
466 | This package contains the header files and libraries for developing |
---|
467 | add-ons for mythtv. |
---|
468 | |
---|
469 | ################################################################################ |
---|
470 | |
---|
471 | %package base-themes |
---|
472 | Summary: Core user interface themes for mythtv |
---|
473 | Group: Applications/Multimedia |
---|
474 | |
---|
475 | # Replace an old ATRMS package |
---|
476 | Provides: mythtv-theme-gant |
---|
477 | Obsoletes: mythtv-theme-gant |
---|
478 | |
---|
479 | %description base-themes |
---|
480 | MythTV provides a unified graphical interface for recording and viewing |
---|
481 | television programs. Refer to the mythtv-docs package for more information. |
---|
482 | |
---|
483 | This package contains the base themes for the mythtv user interface. |
---|
484 | |
---|
485 | ################################################################################ |
---|
486 | |
---|
487 | %package frontend |
---|
488 | Summary: Client component of mythtv (a DVR) |
---|
489 | Group: Applications/Multimedia |
---|
490 | Requires: freetype, lame |
---|
491 | Requires: mythtv-common = %{version}-%{release} |
---|
492 | Requires: mythtv-base-themes = %{version} |
---|
493 | Provides: mythtv-frontend-api = %{mythfeapiver} |
---|
494 | Obsoletes: mythcontrols < %{version}-%{release} |
---|
495 | Provides: mythcontrols = %{version}-%{release} |
---|
496 | |
---|
497 | %description frontend |
---|
498 | MythTV provides a unified graphical interface for recording and viewing |
---|
499 | television programs. Refer to the mythtv package for more information. |
---|
500 | |
---|
501 | This package contains only the client software, which provides a |
---|
502 | front-end for playback and configuration. It requires access to a |
---|
503 | mythtv-backend installation, either on the same system or one |
---|
504 | reachable via the network. |
---|
505 | |
---|
506 | ################################################################################ |
---|
507 | |
---|
508 | %package backend |
---|
509 | Summary: Server component of mythtv (a DVR) |
---|
510 | Group: Applications/Multimedia |
---|
511 | Requires: lame |
---|
512 | Requires: mythtv-common = %{version}-%{release} |
---|
513 | Requires: wget |
---|
514 | Conflicts: xmltv-grabbers < 0.5.37 |
---|
515 | |
---|
516 | %description backend |
---|
517 | MythTV provides a unified graphical interface for recording and viewing |
---|
518 | television programs. Refer to the mythtv package for more information. |
---|
519 | |
---|
520 | This package contains only the server software, which provides video |
---|
521 | and audio capture and encoding services. In order to be useful, it |
---|
522 | requires a mythtv-frontend installation, either on the same system or |
---|
523 | one reachable via the network. |
---|
524 | |
---|
525 | ################################################################################ |
---|
526 | |
---|
527 | %package setup |
---|
528 | Summary: Setup the mythtv backend |
---|
529 | Group: Applications/Multimedia |
---|
530 | Requires: freetype |
---|
531 | Requires: mythtv-backend = %{version}-%{release} |
---|
532 | Requires: mythtv-base-themes = %{version} |
---|
533 | Requires: wget |
---|
534 | |
---|
535 | %description setup |
---|
536 | MythTV provides a unified graphical interface for recording and viewing |
---|
537 | television programs. Refer to the mythtv package for more information. |
---|
538 | |
---|
539 | This package contains only the setup software for configuring the |
---|
540 | mythtv backend. |
---|
541 | |
---|
542 | ################################################################################ |
---|
543 | |
---|
544 | %package common |
---|
545 | Summary: Common components needed by multiple other MythTV components |
---|
546 | Group: Applications/Multimedia |
---|
547 | # mythphone is now DOA, but we need this for upgrade path preservation. |
---|
548 | Provides: mythphone = %{version}-%{release} |
---|
549 | Obsoletes: mythphone < %{version}-%{release} |
---|
550 | # same deal for mythflix |
---|
551 | Provides: mythflix = %{version}-%{release} |
---|
552 | Obsoletes: mythflix < %{version}-%{release} |
---|
553 | |
---|
554 | %description common |
---|
555 | MythTV provides a unified graphical interface for recording and viewing |
---|
556 | television programs. Refer to the mythtv package for more information. |
---|
557 | |
---|
558 | This package contains components needed by multiple other MythTV components. |
---|
559 | |
---|
560 | ################################################################################ |
---|
561 | |
---|
562 | %if %{with_perl} |
---|
563 | |
---|
564 | %package -n perl-MythTV |
---|
565 | Summary: Perl bindings for MythTV |
---|
566 | Group: Development/Languages |
---|
567 | # Wish we could do this: |
---|
568 | #BuildArch: noarch |
---|
569 | |
---|
570 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
571 | Requires: perl(DBD::mysql) |
---|
572 | Requires: perl(Net::UPnP) |
---|
573 | Requires: perl(Net::UPnP::ControlPoint) |
---|
574 | |
---|
575 | %description -n perl-MythTV |
---|
576 | Provides a perl-based interface to interacting with MythTV. |
---|
577 | |
---|
578 | %endif |
---|
579 | |
---|
580 | ################################################################################ |
---|
581 | |
---|
582 | %if %{with_python} |
---|
583 | |
---|
584 | %package -n python-MythTV |
---|
585 | Summary: Python bindings for MythTV |
---|
586 | Group: Development/Languages |
---|
587 | # Wish we could do this: |
---|
588 | #BuildArch: noarch |
---|
589 | |
---|
590 | Requires: MySQL-python |
---|
591 | |
---|
592 | %description -n python-MythTV |
---|
593 | Provides a python-based interface to interacting with MythTV. |
---|
594 | |
---|
595 | %endif |
---|
596 | |
---|
597 | ################################################################################ |
---|
598 | |
---|
599 | %if %{with_plugins} |
---|
600 | |
---|
601 | # Meta package for all mythtv plugins |
---|
602 | %package -n mythplugins |
---|
603 | |
---|
604 | Summary: Main MythTV plugins |
---|
605 | Group: Applications/Multimedia |
---|
606 | |
---|
607 | Requires: mythmusic = %{version}-%{release} |
---|
608 | Requires: mythvideo = %{version}-%{release} |
---|
609 | Requires: mythweather = %{version}-%{release} |
---|
610 | Requires: mythgallery = %{version}-%{release} |
---|
611 | Requires: mythgame = %{version}-%{release} |
---|
612 | Requires: mythnews = %{version}-%{release} |
---|
613 | Requires: mythbrowser = %{version}-%{release} |
---|
614 | Requires: mytharchive = %{version}-%{release} |
---|
615 | Requires: mythzoneminder = %{version}-%{release} |
---|
616 | Requires: mythnetvision = %{version}-%{release} |
---|
617 | |
---|
618 | %description -n mythplugins |
---|
619 | This is a consolidation of all the official MythTV plugins that used to be |
---|
620 | distributed as separate downloads from mythtv.org. |
---|
621 | |
---|
622 | ################################################################################ |
---|
623 | %if %{with_mytharchive} |
---|
624 | |
---|
625 | %package -n mytharchive |
---|
626 | Summary: A module for MythTV for creating and burning DVDs |
---|
627 | Group: Applications/Multimedia |
---|
628 | |
---|
629 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
630 | Requires: MySQL-python |
---|
631 | Requires: cdrecord >= 2.01 |
---|
632 | Requires: dvd+rw-tools >= 5.21.4.10.8 |
---|
633 | Requires: dvdauthor >= 0.6.11 |
---|
634 | Requires: ffmpeg >= 0.4.9 |
---|
635 | Requires: mjpegtools >= 1.6.2 |
---|
636 | Requires: mkisofs >= 2.01 |
---|
637 | Requires: python >= 2.3.5 |
---|
638 | Requires: python-imaging |
---|
639 | |
---|
640 | %description -n mytharchive |
---|
641 | MythArchive is a new plugin for MythTV that lets you create DVDs from |
---|
642 | your recorded shows, MythVideo files and any video files available on |
---|
643 | your system. |
---|
644 | |
---|
645 | %endif |
---|
646 | ################################################################################ |
---|
647 | %if %{with_mythbrowser} |
---|
648 | |
---|
649 | %package -n mythbrowser |
---|
650 | Summary: A small web browser module for MythTV |
---|
651 | Group: Applications/Multimedia |
---|
652 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
653 | |
---|
654 | %description -n mythbrowser |
---|
655 | MythBrowser is a full fledged web-browser (multiple tabs) to display |
---|
656 | webpages in full-screen mode. Simple page navigation is possible. |
---|
657 | Starting with version 0.13 it also has full support for mouse driven |
---|
658 | navigation (right mouse opens and clos es the popup menu). |
---|
659 | |
---|
660 | MythBrowser also contains a BookmarkManager to manage the website |
---|
661 | links in a simple mythplugin. |
---|
662 | |
---|
663 | %endif |
---|
664 | ################################################################################ |
---|
665 | %if %{with_mythgallery} |
---|
666 | |
---|
667 | %package -n mythgallery |
---|
668 | Summary: A gallery/slideshow module for MythTV |
---|
669 | Group: Applications/Multimedia |
---|
670 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
671 | |
---|
672 | %description -n mythgallery |
---|
673 | A gallery/slideshow module for MythTV. |
---|
674 | |
---|
675 | %endif |
---|
676 | ################################################################################ |
---|
677 | %if %{with_mythgame} |
---|
678 | |
---|
679 | %package -n mythgame |
---|
680 | Summary: A game frontend (xmame, nes, snes, pc) for MythTV |
---|
681 | Group: Applications/Multimedia |
---|
682 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
683 | |
---|
684 | %description -n mythgame |
---|
685 | A game frontend (xmame, nes, snes, pc) for MythTV. |
---|
686 | |
---|
687 | ################################################################################ |
---|
688 | #package -n mythgame-emulators |
---|
689 | #Summary: Meta-package requiring emulators for game types mythgame knows about |
---|
690 | #Group: Applications/Multimedia |
---|
691 | #Requires: mythgame = %{version}-%{release} |
---|
692 | # Multi Arcade Machine Emulator, Amiga, Atari 2600 |
---|
693 | #Requires: sdlmame |
---|
694 | #Requires: e-uae |
---|
695 | #Requires: stella |
---|
696 | # Nintendo, Super Nintendo, Nintendo 64 |
---|
697 | #Requires: fceultra |
---|
698 | #Requires: zsnes |
---|
699 | #Requires: mupen64, mupen64-ricevideo |
---|
700 | # Sega Genesis, Sega Master System, Game Gear |
---|
701 | #Requires: gens |
---|
702 | #Requires: dega-sdl |
---|
703 | #Requires: osmose |
---|
704 | # TurboGraphx 16 (and others) |
---|
705 | #Requires: mednafen |
---|
706 | |
---|
707 | #description -n mythgame-emulators |
---|
708 | #Meta-package requiring emulators for game types mythgame knows about. |
---|
709 | |
---|
710 | %endif |
---|
711 | ################################################################################ |
---|
712 | %if %{with_mythmusic} |
---|
713 | |
---|
714 | %package -n mythmusic |
---|
715 | Summary: The music player add-on module for MythTV |
---|
716 | Group: Applications/Multimedia |
---|
717 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
718 | |
---|
719 | %description -n mythmusic |
---|
720 | Music add-on for mythtv. |
---|
721 | |
---|
722 | %endif |
---|
723 | ################################################################################ |
---|
724 | %if %{with_mythnews} |
---|
725 | |
---|
726 | %package -n mythnews |
---|
727 | Summary: An RSS news feed plugin for MythTV |
---|
728 | Group: Applications/Multimedia |
---|
729 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
730 | |
---|
731 | %description -n mythnews |
---|
732 | An RSS news feed reader plugin for MythTV. |
---|
733 | |
---|
734 | %endif |
---|
735 | ################################################################################ |
---|
736 | %if %{with_mythvideo} |
---|
737 | |
---|
738 | %package -n mythvideo |
---|
739 | Summary: A generic video player frontend module for MythTV |
---|
740 | Group: Applications/Multimedia |
---|
741 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
742 | Requires: mplayer |
---|
743 | Requires: python-imdb |
---|
744 | Requires: python-MythTV = %{version}-%{release} |
---|
745 | |
---|
746 | Provides: mythdvd = %{version}-%{release} |
---|
747 | Obsoletes: mythdvd < %{version}-%{release} |
---|
748 | |
---|
749 | %description -n mythvideo |
---|
750 | MythVideo is a MythTV module that allows you to play videos, DVDs and |
---|
751 | (optionally) VCDs. It can also be configured to let you rip DVDs and |
---|
752 | transcode their video and audio content to other (generally smaller) |
---|
753 | formats. The player can either use the MythTV internal software (which |
---|
754 | now supports DVD menus), or simply to invoke your favorite DVD/XVCD |
---|
755 | playing software (mplayer, ogle, xine, etc) as an external |
---|
756 | command. |
---|
757 | |
---|
758 | %endif |
---|
759 | ################################################################################ |
---|
760 | %if %{with_mythweather} |
---|
761 | |
---|
762 | %package -n mythweather |
---|
763 | Summary: A MythTV module that displays a weather forecast |
---|
764 | Group: Applications/Multimedia |
---|
765 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
766 | Requires: perl(XML::SAX::Base) |
---|
767 | |
---|
768 | %description -n mythweather |
---|
769 | A MythTV module that displays a weather forecast. |
---|
770 | |
---|
771 | %endif |
---|
772 | ################################################################################ |
---|
773 | %if %{with_mythzoneminder} |
---|
774 | |
---|
775 | %package -n mythzoneminder |
---|
776 | Summary: A module for MythTV for camera security and surveillance |
---|
777 | Group: Applications/Multimedia |
---|
778 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
779 | |
---|
780 | %description -n mythzoneminder |
---|
781 | MythZoneMinder is a plugin to interface to some of the features of |
---|
782 | ZoneMinder. You can use it to view a status window similar to the |
---|
783 | console window in ZM. Also there are screens to view live camera shots |
---|
784 | and replay recorded events. |
---|
785 | |
---|
786 | %endif |
---|
787 | ################################################################################ |
---|
788 | %if %{with_mythnetvision} |
---|
789 | |
---|
790 | %package -n mythnetvision |
---|
791 | Summary: A MythTV module for Internet video on demand |
---|
792 | Group: Applications/Multimedia |
---|
793 | Requires: mythtv-frontend-api = %{mythfeapiver} |
---|
794 | Requires: mythbrowser = %{version}-%{release} |
---|
795 | Requires: python-MythTV = %{version}-%{release} |
---|
796 | Requires: python-pycurl |
---|
797 | Requires: python >= 2.5 |
---|
798 | # This is packaged in adobe's yum repo |
---|
799 | Requires: flash-plugin |
---|
800 | |
---|
801 | %description -n mythnetvision |
---|
802 | A MythTV module that supports searching and browsing of Internet video |
---|
803 | on demand content. |
---|
804 | |
---|
805 | %endif |
---|
806 | ################################################################################ |
---|
807 | |
---|
808 | # End of plugins |
---|
809 | %endif |
---|
810 | |
---|
811 | ################################################################################ |
---|
812 | |
---|
813 | %prep |
---|
814 | %setup -q -c -a 1 |
---|
815 | |
---|
816 | # Replace static lib paths with %{_lib} so we build properly on x86_64 |
---|
817 | # systems, where the libs are actually in lib64. |
---|
818 | if [ "%{_lib}" != "lib" ]; then |
---|
819 | grep -rlZ '/lib/' . | xargs -r0 sed -i -e 's,/lib/,/%{_lib}/,g' |
---|
820 | grep -rlZ '/lib$' . | xargs -r0 sed -i -e 's,/lib$,/%{_lib},' |
---|
821 | grep -rlZ '/lib ' . | xargs -r0 sed -i -e 's,/lib ,/%{_lib} ,g' |
---|
822 | fi |
---|
823 | |
---|
824 | ##### MythTV |
---|
825 | |
---|
826 | cd mythtv |
---|
827 | |
---|
828 | # Set the mythtv --version string |
---|
829 | cat > VERSION <<EOF |
---|
830 | SOURCE_VERSION=%{vers_string} |
---|
831 | BRANCH=%{branch} |
---|
832 | EOF |
---|
833 | |
---|
834 | # Drop execute permissions on contrib bits, since they'll be %doc |
---|
835 | find contrib/ -type f -exec chmod -x "{}" \; |
---|
836 | # And drop execute bit on theme html files |
---|
837 | chmod -x themes/default/htmls/*.html |
---|
838 | |
---|
839 | # Nuke Windows and Mac OS X build scripts |
---|
840 | rm -rf contrib/Win32 contrib/OSX |
---|
841 | |
---|
842 | # Put perl bits in the right place and set opt flags |
---|
843 | sed -i -e 's#perl Makefile.PL#%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"#' \ |
---|
844 | bindings/perl/Makefile |
---|
845 | |
---|
846 | # Install other source files |
---|
847 | cp -a %{SOURCE10} %{SOURCE101} %{SOURCE102} %{SOURCE103} . |
---|
848 | cp -a %{SOURCE106} %{SOURCE107} %{SOURCE108} %{SOURCE109} . |
---|
849 | |
---|
850 | # Prevent all of those nasty installs to ../../../../../bin/whatever |
---|
851 | # echo "QMAKE_PROJECT_DEPTH = 0" >> mythtv.pro |
---|
852 | # echo "QMAKE_PROJECT_DEPTH = 0" >> settings.pro |
---|
853 | # chmod 644 settings.pro |
---|
854 | |
---|
855 | # We also need Xv libs to build XvMCNVIDIA |
---|
856 | sed -i -e 's,VENDOR_XVMC_LIBS="-lXvMCNVIDIA",VENDOR_XVMC_LIBS="-lXvMCNVIDIA -lXv",' configure |
---|
857 | |
---|
858 | # On to mythplugins |
---|
859 | cd .. |
---|
860 | |
---|
861 | ##### MythPlugins |
---|
862 | %if %{with_plugins} |
---|
863 | |
---|
864 | cd mythplugins |
---|
865 | |
---|
866 | # Fix /mnt/store -> /var/lib/mythmusic |
---|
867 | cd mythmusic |
---|
868 | sed -i -e's,/mnt/store/music,%{_localstatedir}/lib/mythmusic,' mythmusic/globalsettings.cpp |
---|
869 | cd .. |
---|
870 | |
---|
871 | # Fix /mnt/store -> /var/lib/mythvideo |
---|
872 | cd mythvideo |
---|
873 | sed -i -e 's,/share/Movies/dvd,%{_localstatedir}/lib/mythvideo,' mythvideo/globalsettings.cpp |
---|
874 | cd .. |
---|
875 | |
---|
876 | # Add execute bits to mythvideo python helper scripts |
---|
877 | find mythvideo/mythvideo/scripts/ -name '*.py' -exec chmod +x "{}" \; |
---|
878 | |
---|
879 | # And back to the compile root |
---|
880 | cd .. |
---|
881 | |
---|
882 | %endif |
---|
883 | |
---|
884 | ################################################################################ |
---|
885 | |
---|
886 | %build |
---|
887 | |
---|
888 | # First, we build MythTV |
---|
889 | cd mythtv |
---|
890 | |
---|
891 | # Similar to 'percent' configure, but without {_target_platform} and |
---|
892 | # {_exec_prefix} etc... MythTV no longer accepts the parameters that the |
---|
893 | # configure macro passes, so we do this manually. |
---|
894 | ./configure \ |
---|
895 | --prefix=%{_prefix} \ |
---|
896 | --libdir=%{_libdir} \ |
---|
897 | --libdir-name=%{_lib} \ |
---|
898 | --mandir=%{_mandir} \ |
---|
899 | --enable-iptv \ |
---|
900 | --enable-pthreads \ |
---|
901 | --enable-ffmpeg-pthreads \ |
---|
902 | --enable-joystick-menu \ |
---|
903 | --enable-audio-alsa \ |
---|
904 | --enable-audio-oss \ |
---|
905 | --enable-audio-jack \ |
---|
906 | --enable-libfftw3 \ |
---|
907 | --enable-x11 --x11-path=%{_includedir} \ |
---|
908 | --enable-xv \ |
---|
909 | --enable-xvmc-vld \ |
---|
910 | --enable-opengl-video --enable-opengl-vsync \ |
---|
911 | --enable-xrandr \ |
---|
912 | --enable-lirc \ |
---|
913 | --enable-ivtv \ |
---|
914 | --enable-firewire \ |
---|
915 | --enable-dvb \ |
---|
916 | --enable-libmp3lame \ |
---|
917 | --enable-libtheora --enable-libvorbis \ |
---|
918 | --enable-libxvid \ |
---|
919 | %if %{with_vdpau} |
---|
920 | --enable-vdpau \ |
---|
921 | %endif |
---|
922 | %if %{with_crystalhd} |
---|
923 | --enable-crystalhd \ |
---|
924 | %endif |
---|
925 | %if !%{with_xvmc} |
---|
926 | --disable-xvmcw \ |
---|
927 | %endif |
---|
928 | %if %{with_directfb} |
---|
929 | --enable-directfb \ |
---|
930 | %else |
---|
931 | --disable-directfb \ |
---|
932 | %endif |
---|
933 | %if !%{with_perl} |
---|
934 | --without-bindings=perl \ |
---|
935 | %endif |
---|
936 | %if !%{with_python} |
---|
937 | --without-bindings=python \ |
---|
938 | %endif |
---|
939 | %ifarch ppc |
---|
940 | --extra-cflags="%{optflags} -maltivec -fomit-frame-pointer" \ |
---|
941 | --extra-cxxflags="%{optflags} -maltivec -fomit-frame-pointer" \ |
---|
942 | %else |
---|
943 | --extra-cflags="%{optflags} -fomit-frame-pointer" \ |
---|
944 | --extra-cxxflags="%{optflags} -fomit-frame-pointer" \ |
---|
945 | %endif |
---|
946 | %ifarch %{ix86} |
---|
947 | --cpu=i686 --tune=i686 --enable-mmx \ |
---|
948 | %endif |
---|
949 | %if %{with_proc_opt} |
---|
950 | --enable-proc-opt \ |
---|
951 | %endif |
---|
952 | %if %{with_debug} |
---|
953 | --compile-type=debug \ |
---|
954 | %else |
---|
955 | --compile-type=release \ |
---|
956 | %endif |
---|
957 | --enable-debug |
---|
958 | |
---|
959 | # Insert rpm version-release for mythbackend --version output |
---|
960 | sed -i -e 's,###SOURCE_VERSION###,%{version}-%{release} (%_gitrev),' version.sh |
---|
961 | |
---|
962 | # Make |
---|
963 | make %{?_smp_mflags} |
---|
964 | |
---|
965 | # Prepare to build the plugins |
---|
966 | cd .. |
---|
967 | mkdir temp |
---|
968 | temp=`pwd`/temp |
---|
969 | make -C mythtv install INSTALL_ROOT=$temp |
---|
970 | export LD_LIBRARY_PATH=$temp%{_libdir}:$LD_LIBRARY_PATH |
---|
971 | |
---|
972 | # Next, we build the plugins |
---|
973 | %if %{with_plugins} |
---|
974 | cd mythplugins |
---|
975 | |
---|
976 | # Fix things up so they can find our "temp" install location for mythtv-libs |
---|
977 | echo "QMAKE_PROJECT_DEPTH = 0" >> settings.pro |
---|
978 | find . -name \*.pro \ |
---|
979 | -exec sed -i -e "s,INCLUDEPATH += .\+/include/mythtv,INCLUDEPATH += $temp%{_includedir}/mythtv," {} \; \ |
---|
980 | -exec sed -i -e "s,DEPLIBS = \$\${LIBDIR},DEPLIBS = $temp%{_libdir}," {} \; \ |
---|
981 | -exec sed -i -e "s,\$\${PREFIX}/include/mythtv,$temp%{_includedir}/mythtv," {} \; |
---|
982 | echo "INCLUDEPATH -= \$\${PREFIX}/include" >> settings.pro |
---|
983 | echo "INCLUDEPATH -= %{_includedir}" >> settings.pro |
---|
984 | echo "INCLUDEPATH += $temp%{_includedir}" >> settings.pro |
---|
985 | echo "INCLUDEPATH += %{_includedir}" >> settings.pro |
---|
986 | echo "LIBS *= -L$temp%{_libdir}" >> settings.pro |
---|
987 | echo "QMAKE_LIBDIR += $temp%{_libdir}" >> targetdep.pro |
---|
988 | |
---|
989 | ./configure \ |
---|
990 | --prefix=${temp}%{_prefix} \ |
---|
991 | --libdir=%{_libdir} \ |
---|
992 | --libdir-name=%{_lib} \ |
---|
993 | %if %{with_mytharchive} |
---|
994 | --enable-mytharchive \ |
---|
995 | %else |
---|
996 | --disable-mytharchive \ |
---|
997 | %endif |
---|
998 | %if %{with_mythbrowser} |
---|
999 | --enable-mythbrowser \ |
---|
1000 | %else |
---|
1001 | --disable-mythbrowser \ |
---|
1002 | %endif |
---|
1003 | %if %{with_mythgallery} |
---|
1004 | --enable-mythgallery \ |
---|
1005 | --enable-exif \ |
---|
1006 | --enable-new-exif \ |
---|
1007 | %else |
---|
1008 | --disable-mythgallery \ |
---|
1009 | %endif |
---|
1010 | %if %{with_mythgame} |
---|
1011 | --enable-mythgame \ |
---|
1012 | %else |
---|
1013 | --disable-mythgame \ |
---|
1014 | %endif |
---|
1015 | %if %{with_mythmusic} |
---|
1016 | --enable-mythmusic \ |
---|
1017 | %else |
---|
1018 | --disable-mythmusic \ |
---|
1019 | %endif |
---|
1020 | %if %{with_mythnews} |
---|
1021 | --enable-mythnews \ |
---|
1022 | %else |
---|
1023 | --disable-mythnews \ |
---|
1024 | %endif |
---|
1025 | %if %{with_mythvideo} |
---|
1026 | --enable-mythvideo \ |
---|
1027 | %else |
---|
1028 | --disable-mythvideo \ |
---|
1029 | %endif |
---|
1030 | %if %{with_mythweather} |
---|
1031 | --enable-mythweather \ |
---|
1032 | %else |
---|
1033 | --disable-mythweather \ |
---|
1034 | %endif |
---|
1035 | %if %{with_mythzoneminder} |
---|
1036 | --enable-mythzoneminder \ |
---|
1037 | %else |
---|
1038 | --disable-mythzoneminder \ |
---|
1039 | %endif |
---|
1040 | %if %{with_mythnetvision} |
---|
1041 | --enable-mythnetvision \ |
---|
1042 | %else |
---|
1043 | --disable-mythnetvision \ |
---|
1044 | %endif |
---|
1045 | --enable-opengl \ |
---|
1046 | --enable-libvisual \ |
---|
1047 | --enable-fftw \ |
---|
1048 | --enable-sdl |
---|
1049 | |
---|
1050 | make %{?_smp_mflags} |
---|
1051 | |
---|
1052 | cd .. |
---|
1053 | %endif |
---|
1054 | |
---|
1055 | ################################################################################ |
---|
1056 | |
---|
1057 | %install |
---|
1058 | |
---|
1059 | # Clean |
---|
1060 | rm -rf %{buildroot} |
---|
1061 | |
---|
1062 | # First, install MythTV |
---|
1063 | cd mythtv |
---|
1064 | |
---|
1065 | make install INSTALL_ROOT=%{buildroot} |
---|
1066 | |
---|
1067 | ln -s mythtv-setup %{buildroot}%{_bindir}/mythtvsetup |
---|
1068 | mkdir -p %{buildroot}%{_localstatedir}/lib/mythtv |
---|
1069 | mkdir -p %{buildroot}%{_localstatedir}/cache/mythtv |
---|
1070 | mkdir -p %{buildroot}%{_localstatedir}/log/mythtv |
---|
1071 | mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d |
---|
1072 | mkdir -p %{buildroot}%{_sysconfdir}/init.d |
---|
1073 | mkdir -p %{buildroot}%{_sysconfdir}/sysconfig |
---|
1074 | mkdir -p %{buildroot}%{_sysconfdir}/mythtv |
---|
1075 | |
---|
1076 | # Fix permissions on executable python bindings |
---|
1077 | # chmod +x %{buildroot}%{python_sitelib}/MythTV/Myth*.py |
---|
1078 | |
---|
1079 | # mysql.txt and other config/init files |
---|
1080 | install -m 644 %{SOURCE110} %{buildroot}%{_sysconfdir}/mythtv/ |
---|
1081 | echo "# to be filled in by mythtv-setup" > %{buildroot}%{_sysconfdir}/mythtv/config.xml |
---|
1082 | install -p -m 755 mythbackend.init %{buildroot}%{_sysconfdir}/init.d/mythbackend |
---|
1083 | install -p -m 644 mythbackend.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/mythbackend |
---|
1084 | install -p -m 644 mythbackend.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/mythbackend |
---|
1085 | |
---|
1086 | # Desktop entries |
---|
1087 | mkdir -p %{buildroot}%{_datadir}/pixmaps |
---|
1088 | mkdir -p %{buildroot}%{_datadir}/applications |
---|
1089 | for file in %{desktop_applications}; do |
---|
1090 | install -p $file.png %{buildroot}%{_datadir}/pixmaps/$file.png |
---|
1091 | desktop-file-install --vendor %{desktop_vendor} \ |
---|
1092 | --dir %{buildroot}%{_datadir}/applications \ |
---|
1093 | --add-category X-Fedora-Extra \ |
---|
1094 | --add-category Application \ |
---|
1095 | --add-category AudioVideo \ |
---|
1096 | $file.desktop |
---|
1097 | done |
---|
1098 | |
---|
1099 | mkdir -p %{buildroot}%{_libdir}/mythtv/plugins |
---|
1100 | |
---|
1101 | mkdir -p %{buildroot}%{_datadir}/mythtv/build/ |
---|
1102 | install -p -m 644 settings.pro %{buildroot}%{_datadir}/mythtv/build/ |
---|
1103 | |
---|
1104 | cd .. |
---|
1105 | |
---|
1106 | # MythPlugins |
---|
1107 | %if %{with_plugins} |
---|
1108 | cd mythplugins |
---|
1109 | |
---|
1110 | make install INSTALL_ROOT=%{buildroot} |
---|
1111 | |
---|
1112 | %if %{with_mythmusic} |
---|
1113 | mkdir -p %{buildroot}%{_localstatedir}/lib/mythmusic |
---|
1114 | %endif |
---|
1115 | %if %{with_mythvideo} |
---|
1116 | mkdir -p %{buildroot}%{_localstatedir}/lib/mythvideo |
---|
1117 | %endif |
---|
1118 | %if %{with_mythgallery} |
---|
1119 | mkdir -p %{buildroot}%{_localstatedir}/lib/pictures |
---|
1120 | %endif |
---|
1121 | %if %{with_mythgame} |
---|
1122 | mkdir -p %{buildroot}%{_datadir}/mythtv/games/nes/{roms,screens} |
---|
1123 | mkdir -p %{buildroot}%{_datadir}/mythtv/games/snes/{roms,screens} |
---|
1124 | # mkdir -p %{buildroot}%{_datadir}/mythtv/games/mame/{roms,screens,flyers,cabs} |
---|
1125 | mkdir -p %{buildroot}%{_datadir}/mythtv/games/PC/screens |
---|
1126 | mkdir -p %{buildroot}%{_datadir}/mame |
---|
1127 | ln -s ../../mame %{buildroot}%{_datadir}/mythtv/games/xmame |
---|
1128 | mkdir -p %{buildroot}%{_datadir}/mame/flyers |
---|
1129 | ln -s snap %{buildroot}%{_datadir}/mythtv/games/xmame/screens |
---|
1130 | mkdir -p %{buildroot}%{_sysconfdir}/mythgame |
---|
1131 | cp -a mythgame/gamelist.xml %{buildroot}%{_sysconfdir}/mythgame/ |
---|
1132 | ln -s ../../../../../%{_sysconfdir}/mythgame/ \ |
---|
1133 | %{buildroot}%{_datadir}/mythtv/games/PC/gamelist.xml |
---|
1134 | %endif |
---|
1135 | |
---|
1136 | # And back to the build/install root |
---|
1137 | cd .. |
---|
1138 | %endif |
---|
1139 | |
---|
1140 | ################################################################################ |
---|
1141 | |
---|
1142 | %clean |
---|
1143 | rm -rf %{buildroot} |
---|
1144 | |
---|
1145 | ################################################################################ |
---|
1146 | |
---|
1147 | %post libs -p /sbin/ldconfig |
---|
1148 | |
---|
1149 | %postun libs -p /sbin/ldconfig |
---|
1150 | |
---|
1151 | %pre backend |
---|
1152 | # Add the "mythtv" user, with membership in the video group |
---|
1153 | /usr/sbin/useradd -c "mythtvbackend User" \ |
---|
1154 | -s /sbin/nologin -r -d %{_localstatedir}/lib/mythtv -G video mythtv 2> /dev/null || : |
---|
1155 | |
---|
1156 | %post backend |
---|
1157 | /sbin/chkconfig --add mythbackend |
---|
1158 | |
---|
1159 | %preun backend |
---|
1160 | if [ $1 = 0 ]; then |
---|
1161 | /sbin/service mythbackend stop > /dev/null 2>&1 |
---|
1162 | /sbin/chkconfig --del mythbackend |
---|
1163 | fi |
---|
1164 | |
---|
1165 | ################################################################################ |
---|
1166 | |
---|
1167 | %files |
---|
1168 | %defattr(-,root,root,-) |
---|
1169 | |
---|
1170 | %files docs |
---|
1171 | %defattr(-,root,root,-) |
---|
1172 | %doc mythtv/README* mythtv/UPGRADING |
---|
1173 | %doc mythtv-%{version}/AUTHORS mythtv/COPYING mythtv/FAQ |
---|
1174 | %doc mythtv/database mythtv/keys.txt |
---|
1175 | %doc mythtv/docs/*.html mythtv/docs/*.png |
---|
1176 | %doc mythtv/docs/*.txt mythtv/contrib |
---|
1177 | %doc mythtv/PACKAGE-LICENSING |
---|
1178 | |
---|
1179 | %files common |
---|
1180 | %defattr(-,root,root,-) |
---|
1181 | %dir %{_sysconfdir}/mythtv |
---|
1182 | %dir %{_datadir}/mythtv |
---|
1183 | %config(noreplace) %{_sysconfdir}/mythtv/mysql.txt |
---|
1184 | %config(noreplace) %{_sysconfdir}/mythtv/config.xml |
---|
1185 | %{_bindir}/mythcommflag |
---|
1186 | %{_bindir}/mythpreviewgen |
---|
1187 | %{_bindir}/mythtranscode |
---|
1188 | %{_bindir}/mythwikiscripts |
---|
1189 | %{_datadir}/mythtv/mythconverg*.pl |
---|
1190 | %dir %{_datadir}/mythtv/locales |
---|
1191 | %{_datadir}/mythtv/locales/* |
---|
1192 | |
---|
1193 | %files backend |
---|
1194 | %defattr(-,root,root,-) |
---|
1195 | %{_bindir}/mythbackend |
---|
1196 | %{_bindir}/mythfilldatabase |
---|
1197 | %{_bindir}/mythjobqueue |
---|
1198 | %{_bindir}/mythreplex |
---|
1199 | %{_datadir}/mythtv/MXML_scpd.xml |
---|
1200 | %attr(-,mythtv,mythtv) %dir %{_localstatedir}/lib/mythtv |
---|
1201 | %attr(-,mythtv,mythtv) %dir %{_localstatedir}/cache/mythtv |
---|
1202 | %{_sysconfdir}/init.d/mythbackend |
---|
1203 | %config(noreplace) %{_sysconfdir}/sysconfig/mythbackend |
---|
1204 | %config(noreplace) %{_sysconfdir}/logrotate.d/mythbackend |
---|
1205 | %attr(-,mythtv,mythtv) %dir %{_localstatedir}/log/mythtv |
---|
1206 | %dir %{_datadir}/mythtv/internetcontent |
---|
1207 | %{_datadir}/mythtv/internetcontent/* |
---|
1208 | |
---|
1209 | %files setup |
---|
1210 | %defattr(-,root,root,-) |
---|
1211 | %{_bindir}/mythtv-setup |
---|
1212 | %{_bindir}/mythtvsetup |
---|
1213 | %{_datadir}/mythtv/setup.xml |
---|
1214 | %{_datadir}/applications/*mythtv-setup.desktop |
---|
1215 | |
---|
1216 | %files frontend |
---|
1217 | %defattr(-,root,root,-) |
---|
1218 | %{_datadir}/mythtv/CDS_scpd.xml |
---|
1219 | %{_datadir}/mythtv/CMGR_scpd.xml |
---|
1220 | %{_datadir}/mythtv/MFEXML_scpd.xml |
---|
1221 | %{_datadir}/mythtv/MSRR_scpd.xml |
---|
1222 | %{_datadir}/mythtv/devicemaster.xml |
---|
1223 | %{_datadir}/mythtv/deviceslave.xml |
---|
1224 | %{_datadir}/mythtv/setup.xml |
---|
1225 | %{_bindir}/mythavtest |
---|
1226 | %{_bindir}/mythfrontend |
---|
1227 | %{_bindir}/mythtvosd |
---|
1228 | %{_bindir}/mythlcdserver |
---|
1229 | %{_bindir}/mythshutdown |
---|
1230 | %{_bindir}/mythwelcome |
---|
1231 | %dir %{_libdir}/mythtv |
---|
1232 | %dir %{_libdir}/mythtv/filters |
---|
1233 | %{_libdir}/mythtv/filters/* |
---|
1234 | %dir %{_libdir}/mythtv/plugins |
---|
1235 | %dir %{_datadir}/mythtv/i18n |
---|
1236 | %dir %{_datadir}/mythtv/fonts |
---|
1237 | %{_datadir}/mythtv/fonts/*.ttf |
---|
1238 | %{_datadir}/mythtv/i18n/mythfrontend_*.qm |
---|
1239 | %{_datadir}/applications/*mythfrontend.desktop |
---|
1240 | %{_datadir}/pixmaps/myth*.png |
---|
1241 | %dir %{_datadir}/mythtv/metadata |
---|
1242 | %{_datadir}/mythtv/metadata/* |
---|
1243 | |
---|
1244 | %files base-themes |
---|
1245 | %defattr(-,root,root,-) |
---|
1246 | %dir %{_datadir}/mythtv/themes |
---|
1247 | %{_datadir}/mythtv/themes/* |
---|
1248 | |
---|
1249 | %files libs |
---|
1250 | %defattr(-,root,root,-) |
---|
1251 | %{_libdir}/*.so.* |
---|
1252 | |
---|
1253 | %files devel |
---|
1254 | %defattr(-,root,root,-) |
---|
1255 | %{_includedir}/* |
---|
1256 | %{_libdir}/*.so |
---|
1257 | %exclude %{_libdir}/*.a |
---|
1258 | %dir %{_datadir}/mythtv/build |
---|
1259 | %{_datadir}/mythtv/build/settings.pro |
---|
1260 | |
---|
1261 | %if %{with_perl} |
---|
1262 | %files -n perl-MythTV |
---|
1263 | %defattr(-,root,root,-) |
---|
1264 | %{perl_vendorlib}/MythTV.pm |
---|
1265 | %dir %{perl_vendorlib}/MythTV |
---|
1266 | %{perl_vendorlib}/MythTV/*.pm |
---|
1267 | %dir %{perl_vendorlib}/IO/Socket |
---|
1268 | %dir %{perl_vendorlib}/IO/Socket/INET |
---|
1269 | %{perl_vendorlib}/IO/Socket/INET/MythTV.pm |
---|
1270 | %exclude %{perl_vendorarch}/auto/MythTV/.packlist |
---|
1271 | %endif |
---|
1272 | |
---|
1273 | %if %{with_python} |
---|
1274 | %files -n python-MythTV |
---|
1275 | %defattr(-,root,root,-) |
---|
1276 | %dir %{python_sitelib}/MythTV/ |
---|
1277 | %{_bindir}/mythpython |
---|
1278 | %{python_sitelib}/MythTV/* |
---|
1279 | %{python_sitelib}/MythTV-*.egg-info |
---|
1280 | %endif |
---|
1281 | |
---|
1282 | %if %{with_plugins} |
---|
1283 | %files -n mythplugins |
---|
1284 | %defattr(-,root,root,-) |
---|
1285 | %doc mythplugins-%{version}/COPYING |
---|
1286 | |
---|
1287 | %if %{with_mytharchive} |
---|
1288 | %files -n mytharchive |
---|
1289 | %defattr(-,root,root,-) |
---|
1290 | %doc mythplugins-%{version}/mytharchive/AUTHORS |
---|
1291 | %doc mythplugins-%{version}/mytharchive/COPYING |
---|
1292 | %doc mythplugins-%{version}/mytharchive/README |
---|
1293 | %doc mythplugins-%{version}/mytharchive/TODO |
---|
1294 | %{_bindir}/mytharchivehelper |
---|
1295 | %{_libdir}/mythtv/plugins/libmytharchive.so |
---|
1296 | %{_datadir}/mythtv/archivemenu.xml |
---|
1297 | %{_datadir}/mythtv/archiveutils.xml |
---|
1298 | %{_datadir}/mythtv/mytharchive |
---|
1299 | %{_datadir}/mythtv/i18n/mytharchive_*.qm |
---|
1300 | %endif |
---|
1301 | |
---|
1302 | %if %{with_mythbrowser} |
---|
1303 | %files -n mythbrowser |
---|
1304 | %defattr(-,root,root,-) |
---|
1305 | %doc mythplugins-%{version}/mythbrowser/AUTHORS |
---|
1306 | %doc mythplugins-%{version}/mythbrowser/COPYING |
---|
1307 | %doc mythplugins-%{version}/mythbrowser/README |
---|
1308 | %{_libdir}/mythtv/plugins/libmythbrowser.so |
---|
1309 | %{_datadir}/mythtv/i18n/mythbrowser_*.qm |
---|
1310 | %endif |
---|
1311 | |
---|
1312 | %if %{with_mythgallery} |
---|
1313 | %files -n mythgallery |
---|
1314 | %defattr(-,root,root,-) |
---|
1315 | %doc mythplugins-%{version}/mythgallery/AUTHORS |
---|
1316 | %doc mythplugins-%{version}/mythgallery/COPYING |
---|
1317 | %doc mythplugins-%{version}/mythgallery/README |
---|
1318 | %{_libdir}/mythtv/plugins/libmythgallery.so |
---|
1319 | %{_datadir}/mythtv/i18n/mythgallery_*.qm |
---|
1320 | %{_localstatedir}/lib/pictures |
---|
1321 | %endif |
---|
1322 | |
---|
1323 | %if %{with_mythgame} |
---|
1324 | %files -n mythgame |
---|
1325 | %defattr(-,root,root,-) |
---|
1326 | %dir %{_sysconfdir}/mythgame |
---|
1327 | %config(noreplace) %{_sysconfdir}/mythgame/gamelist.xml |
---|
1328 | %{_libdir}/mythtv/plugins/libmythgame.so |
---|
1329 | %dir %{_datadir}/mythtv/games |
---|
1330 | %{_datadir}/mythtv/games/* |
---|
1331 | %dir %{_datadir}/mame/screens |
---|
1332 | %dir %{_datadir}/mame/flyers |
---|
1333 | %{_datadir}/mythtv/game_settings.xml |
---|
1334 | %{_datadir}/mythtv/i18n/mythgame_*.qm |
---|
1335 | |
---|
1336 | #files -n mythgame-emulators |
---|
1337 | #defattr(-,root,root,-) |
---|
1338 | #{_datadir}/mythtv/games/xmame |
---|
1339 | #{_datadir}/mame/screens |
---|
1340 | #{_datadir}/mame/flyers |
---|
1341 | %endif |
---|
1342 | |
---|
1343 | %if %{with_mythmusic} |
---|
1344 | %files -n mythmusic |
---|
1345 | %defattr(-,root,root,-) |
---|
1346 | %doc mythplugins-%{version}/mythmusic/AUTHORS |
---|
1347 | %doc mythplugins-%{version}/mythmusic/COPYING |
---|
1348 | %doc mythplugins-%{version}/mythmusic/README |
---|
1349 | %{_libdir}/mythtv/plugins/libmythmusic.so |
---|
1350 | %{_localstatedir}/lib/mythmusic |
---|
1351 | %{_datadir}/mythtv/musicmenu.xml |
---|
1352 | %{_datadir}/mythtv/music_settings.xml |
---|
1353 | %{_datadir}/mythtv/i18n/mythmusic_*.qm |
---|
1354 | %endif |
---|
1355 | |
---|
1356 | %if %{with_mythnews} |
---|
1357 | %files -n mythnews |
---|
1358 | %defattr(-,root,root,-) |
---|
1359 | %doc mythplugins-%{version}/mythnews/AUTHORS |
---|
1360 | %doc mythplugins-%{version}/mythnews/COPYING |
---|
1361 | %doc mythplugins-%{version}/mythnews/README |
---|
1362 | %{_libdir}/mythtv/plugins/libmythnews.so |
---|
1363 | %{_datadir}/mythtv/mythnews |
---|
1364 | %{_datadir}/mythtv/i18n/mythnews_*.qm |
---|
1365 | %endif |
---|
1366 | |
---|
1367 | %if %{with_mythvideo} |
---|
1368 | %files -n mythvideo |
---|
1369 | %defattr(-,root,root,-) |
---|
1370 | %doc mythplugins-%{version}/mythvideo/COPYING |
---|
1371 | %doc mythplugins-%{version}/mythvideo/README* |
---|
1372 | %{_libdir}/mythtv/plugins/libmythvideo.so |
---|
1373 | %{_datadir}/mythtv/mythvideo |
---|
1374 | %{_datadir}/mythtv/i18n/mythvideo_*.qm |
---|
1375 | %{_datadir}/mythtv/video_settings.xml |
---|
1376 | %{_datadir}/mythtv/videomenu.xml |
---|
1377 | %{_localstatedir}/lib/mythvideo |
---|
1378 | %endif |
---|
1379 | |
---|
1380 | %if %{with_mythweather} |
---|
1381 | %files -n mythweather |
---|
1382 | %defattr(-,root,root,-) |
---|
1383 | %doc mythplugins-%{version}/mythweather/AUTHORS |
---|
1384 | %doc mythplugins-%{version}/mythweather/COPYING |
---|
1385 | %doc mythplugins-%{version}/mythweather/README |
---|
1386 | %{_libdir}/mythtv/plugins/libmythweather.so |
---|
1387 | %{_datadir}/mythtv/i18n/mythweather_*.qm |
---|
1388 | %{_datadir}/mythtv/weather_settings.xml |
---|
1389 | %dir %{_datadir}/mythtv/mythweather |
---|
1390 | %{_datadir}/mythtv/mythweather/* |
---|
1391 | %endif |
---|
1392 | |
---|
1393 | %if %{with_mythzoneminder} |
---|
1394 | %files -n mythzoneminder |
---|
1395 | %defattr(-,root,root,-) |
---|
1396 | %{_libdir}/mythtv/plugins/libmythzoneminder.so |
---|
1397 | %{_datadir}/mythtv/zonemindermenu.xml |
---|
1398 | %{_bindir}/mythzmserver |
---|
1399 | %{_datadir}/mythtv/i18n/mythzoneminder_*.qm |
---|
1400 | %endif |
---|
1401 | |
---|
1402 | %if %{with_mythnetvision} |
---|
1403 | %files -n mythnetvision |
---|
1404 | %defattr(-,root,root,-) |
---|
1405 | %doc mythplugins-%{version}/mythnetvision/AUTHORS |
---|
1406 | %doc mythplugins-%{version}/mythnetvision/ChangeLog |
---|
1407 | %doc mythplugins-%{version}/mythnetvision/README |
---|
1408 | %{_bindir}/mythfillnetvision |
---|
1409 | %{_libdir}/mythtv/plugins/libmythnetvision.so |
---|
1410 | %{_datadir}/mythtv/mythnetvision |
---|
1411 | %{_datadir}/mythtv/netvisionmenu.xml |
---|
1412 | %{_datadir}/mythtv/i18n/mythnetvision_*.qm |
---|
1413 | %endif |
---|
1414 | |
---|
1415 | %endif |
---|
1416 | |
---|
1417 | ################################################################################ |
---|
1418 | |
---|
1419 | %changelog |
---|
1420 | * Thu Jan 06 2011 David Knight <dlknight@sdf.lonestar.org> 0.24-0.1.git |
---|
1421 | - Split out mythweb |
---|
1422 | - Update for Git |
---|
1423 | |
---|
1424 | * Sat Aug 28 2010 Jarod Wilson <jarod@wilsonet.com> 0.24-0.1.svn |
---|
1425 | - Fix up perl bindings |
---|
1426 | - Enable crystalhd support |
---|
1427 | - Remove obsolete libfaad2 bits |
---|
1428 | |
---|
1429 | * Sat Aug 14 2010 Jarod Wilson <jarod@wilsonet.com> 0.24-0.1.svn |
---|
1430 | - Resync with RPM Fusion spec, now builds cleanly again on a |
---|
1431 | Fedora 13 host as of svn revision 25638 |
---|
1432 | |
---|
1433 | * Thu Aug 05 2010 Chris Petersen <rpm@forevermore.net> 0.24-0.1.svn |
---|
1434 | - Add mythpreviewgen |
---|
1435 | |
---|
1436 | * Sun Jun 20 2010 Chris Petersen <rpm@forevermore.net> 0.24-0.1.svn |
---|
1437 | - Add new MythWeather perl dep |
---|
1438 | - Rearrange file lists for new/deleted/moved installed files |
---|
1439 | |
---|
1440 | * Sun Jun 06 2010 Chris Petersen <rpm@forevermore.net> 0.24-0.1.svn |
---|
1441 | - Remove deprecated MythMovies |
---|
1442 | - Add support for some new files |
---|
1443 | - Move share/internetcontent to the backend subpackage |
---|
1444 | |
---|
1445 | * Sun May 23 2010 Chris Petersen <rpm@forevermore.net> 0.24-0.1.svn |
---|
1446 | - Bump version number |
---|
1447 | - Remove legacy --enable-x configure flags |
---|
1448 | - Add python builddeps for mythnetvision |
---|
1449 | - Add new mythnetvision files |
---|
1450 | - Rename libmyth to mythtv-libs |
---|
1451 | - Add perl build deps |
---|
1452 | |
---|
1453 | * Sat Jan 23 2010 Chris Petersen <rpm@forevermore.net> 0.23-0.1.svn |
---|
1454 | - Add MythNetVision requirement for MythBrowser |
---|
1455 | |
---|
1456 | * Wed Jan 13 2010 Harry Orenstein <hospam@verizon.net> 0.23-0.1.svn |
---|
1457 | - Add MythNetVision |
---|
1458 | |
---|
1459 | * Sat Dec 05 2009 Chris Petersen <rpm@forevermore.net> 0.23-0.1.svn |
---|
1460 | - Remove MythFlix |
---|
1461 | |
---|
1462 | * Sat Nov 07 2009 Chris Petersen <rpm@forevermore.net> 0.23-0.1.svn |
---|
1463 | - New tags for trunk |
---|
1464 | |
---|
1465 | * Mon Nov 02 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.6.svn |
---|
1466 | - Compensate for moved tvdb script directory |
---|
1467 | - Make php chmod fix more robust |
---|
1468 | - Remove --enable-audio-arts because it doesn't exist anymore |
---|
1469 | |
---|
1470 | * Tue Oct 06 2009 Jarod Wilson <jarod@wilsonet.com> 0.22-0.5.svn |
---|
1471 | - Remove more obsolete BR |
---|
1472 | - Switch from fftw v2 to fftw v3 |
---|
1473 | - Add mythmovies and mythzoneminder i18n files |
---|
1474 | - Bump taglib version requires to >= 1.5 |
---|
1475 | |
---|
1476 | * Fri Oct 02 2009 Jarod Wilson <jarod@wilsonet.com> 0.22-0.5.svn |
---|
1477 | - Remove libmad BR, its not used at all any longer |
---|
1478 | |
---|
1479 | * Sat Sep 19 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.5.svn |
---|
1480 | - Re-remove non-GPL libfaac options (not really used by MythTV anyway) |
---|
1481 | |
---|
1482 | * Fri Sep 18 2009 Jarod Wilson <jarod@wilsonet.com> 0.22-0.4.svn |
---|
1483 | - Resync with build fixes from RPM Fusion |
---|
1484 | - Remove BR: on xorg-x11-drv-nvidia-devel, just use XvMC wrapper |
---|
1485 | - Rename option to build VDPAU support, since its not nVidia-specific |
---|
1486 | - Add assorted cleanups from James Twyford (via trac ticket #7090) |
---|
1487 | |
---|
1488 | * Thu Aug 13 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1489 | - Add XML::Simple requirement for mythvideo (for tmdb.pl) |
---|
1490 | - Remove now-deprecated call for XvMCNVIDIA_dynamic |
---|
1491 | |
---|
1492 | * Mon Jul 27 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1493 | - Rename xvmcnvidia stuff to just nvidia, and add vdpau options to it |
---|
1494 | |
---|
1495 | * Sat Jul 25 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1496 | - Remove all a52 references because ./configure no longer accepts even "disable" |
---|
1497 | - Remove non-GPL libfaac options (not really used by MythTV anyway) |
---|
1498 | |
---|
1499 | * Sun Jun 28 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1500 | - Remove xvmc-opengl references that were removed in r20723 |
---|
1501 | - Add requirement for pulseaudio-libs-devel now that some distros are requiring it |
---|
1502 | |
---|
1503 | * Sat Jun 20 2009 Jarod Wilson <jarod@wilsonet.com> 0.22-0.1.svn |
---|
1504 | - Drop kdelibs3-devel BR for MythBrowser, its been ported to qt4 now |
---|
1505 | - Add Requires: php-process (needed for posix_get*() functions) |
---|
1506 | |
---|
1507 | * Mon May 04 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1508 | - Require Qt >= 4.4 |
---|
1509 | |
---|
1510 | * Fri Apr 10 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1511 | - Disable liba52 options because they seem to cause no end of trouble |
---|
1512 | with AC3 recordings from hdhomerun/firewire. |
---|
1513 | |
---|
1514 | * Wed Mar 04 2009 Jarod Wilson <jarod@wilsonet.com> 0.22-0.1.svn |
---|
1515 | - Resync with RPM Fusion spec to pick up packaging fix-ups and |
---|
1516 | kill off the defunct mythphone plugin |
---|
1517 | |
---|
1518 | * Wed Jan 21 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1519 | - Remove mythcontrols, which no longer exists |
---|
1520 | |
---|
1521 | * Sat Nov 01 2008 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1522 | - Add a --without plugins option to disable all plugin builds |
---|
1523 | |
---|
1524 | * Tue Oct 28 2008 Chris Petersen <rpm@forevermore.net> 0.22-0.1.svn |
---|
1525 | - Update to compile for pre-0.22 svn trunk, including new files and qt4 deps |
---|
1526 | - Major cleanup and porting from my personal spec (which was a combination |
---|
1527 | of works from atrpms and some of Jarod's earlier works). |
---|
1528 | - Add a few more --with and --without options, including the ability to |
---|
1529 | disable specific mythplugins. |
---|
1530 | |
---|
1531 | * Wed Sep 10 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.21-8 |
---|
1532 | - rebuild for new libraw1394 |
---|
1533 | |
---|
1534 | * Sun Jul 20 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-7 |
---|
1535 | - Disable XvMC VLD and Pro support on ppc due to lack of |
---|
1536 | openchrome driver. |
---|
1537 | |
---|
1538 | * Sat Jul 19 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-6 |
---|
1539 | - Fix spec typo |
---|
1540 | - Disable mythstream patch for now, too much fuzz, revisit later |
---|
1541 | |
---|
1542 | * Fri Jul 18 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-5 |
---|
1543 | - Update release-0-21-fixes patches (r17859) |
---|
1544 | - Don't use %%bcond, breaks on some older buildsystems |
---|
1545 | - Put several bits in -common sub-package, as both backend |
---|
1546 | and frontend may need them for one reason or another |
---|
1547 | |
---|
1548 | * Fri May 16 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-4 |
---|
1549 | - Add BR: xorg-x11-drv-i810-devel, xorg-x11-drv-openchrome-devel |
---|
1550 | - Make building with nVidia XvMC an available custom option, fix up |
---|
1551 | conflict between it and other XvMC implementations |
---|
1552 | - Update release-0-21-fixes patches (r17338) |
---|
1553 | |
---|
1554 | * Sat Apr 05 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-3 |
---|
1555 | - Fix up PACKAGE-LICENSING inclusion |
---|
1556 | |
---|
1557 | * Sat Apr 05 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-2 |
---|
1558 | - RPMFusion package review cleanups |
---|
1559 | - Put mythtv-setup.desktop in mythtv-setup package |
---|
1560 | - Fix up initscript to start properly |
---|
1561 | - Drop unused %%ghostattr define |
---|
1562 | - Attempt to clarify licensing |
---|
1563 | - Clean up assorted Requires and BuildRequires |
---|
1564 | - Update release-0-21-fixes patches (r16965) |
---|
1565 | |
---|
1566 | * Sun Mar 09 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-1 |
---|
1567 | - MythTV 0.21 (r16468) |
---|
1568 | - Add release-0-21-fixes for DVD menu display fix (r16486) |
---|
1569 | |
---|
1570 | * Tue Mar 04 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.17.r16394 |
---|
1571 | - Update to latest release-0-21-fixes pre-release branch code (16394). |
---|
1572 | |
---|
1573 | * Fri Feb 29 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.16.r16316 |
---|
1574 | - Update to latest release-0-21-fixes pre-release branch code (16316). |
---|
1575 | - Add mythgame-emulators meta-package that requires a bunch of |
---|
1576 | emulators for roms mythgame knows about. |
---|
1577 | - Account for python egg on f9+ |
---|
1578 | - Enable gsm support by default |
---|
1579 | |
---|
1580 | * Wed Feb 27 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.15.r16307 |
---|
1581 | - Update to latest release-0-21-fixes pre-release branch code (16307). |
---|
1582 | - Try to fix up a bunch of rpmlint warnings and errors. |
---|
1583 | |
---|
1584 | * Sat Feb 23 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.14.r16238 |
---|
1585 | - Update to latest svn trunk (16238). |
---|
1586 | - Package up python bits. |
---|
1587 | |
---|
1588 | * Thu Feb 14 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.13.r16019 |
---|
1589 | - Update to latest svn trunk (16019). |
---|
1590 | |
---|
1591 | * Mon Feb 11 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.12.r15914 |
---|
1592 | - Update to latest svn trunk (15914). |
---|
1593 | - Turn on multi-threaded video decoding. |
---|
1594 | |
---|
1595 | * Thu Jan 31 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.11.r15699 |
---|
1596 | - More spec file overhauling, make it build in Fedora 9 |
---|
1597 | |
---|
1598 | * Thu Jan 31 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.10.r15699 |
---|
1599 | - Update to latest svn trunk (15699). |
---|
1600 | - Misc spec reformatting. |
---|
1601 | |
---|
1602 | * Sat Jan 26 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.9.r15614 |
---|
1603 | - Update to latest svn trunk (15614). |
---|
1604 | |
---|
1605 | * Tue Jan 01 2008 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.8.r15281 |
---|
1606 | - Update to latest svn trunk (15281). |
---|
1607 | - Fix up version-release insertion in mythbackend --version output |
---|
1608 | |
---|
1609 | * Fri Dec 07 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.7.r15081 |
---|
1610 | - Update to latest svn trunk (15081). |
---|
1611 | |
---|
1612 | * Sat Nov 17 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.6.r14888 |
---|
1613 | - Update to latest svn trunk (14888). |
---|
1614 | |
---|
1615 | * Wed Oct 17 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.6.r14695 |
---|
1616 | - Update to latest svn trunk (14695). |
---|
1617 | |
---|
1618 | * Fri Oct 12 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.6.r14667 |
---|
1619 | - Update to latest svn trunk (14667). |
---|
1620 | - Build dvb support against kernel-headers instead |
---|
1621 | - Drop unnecessary patches |
---|
1622 | - Tweak BR: to not use any file deps (I only care about recent distros) |
---|
1623 | - Rework mythweb bits to be compliant w/Fedora packaging guidelines |
---|
1624 | - Enable OpenGL video output support |
---|
1625 | - Make dvb and opengl bits non-conditional (always enabled) |
---|
1626 | |
---|
1627 | * Wed Oct 10 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.5.r14658 |
---|
1628 | - Update to latest svn trunk (14658). |
---|
1629 | - Tweak configure options a bit more |
---|
1630 | |
---|
1631 | * Tue Oct 02 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.4.r14589 |
---|
1632 | - Update to latest svn trunk (14589). |
---|
1633 | - Restructure how optflags are passed into build |
---|
1634 | - Nuke some extra non-standard macros |
---|
1635 | - Drop ancient dvb tarball, create with_dvb option, always using v4l-devel |
---|
1636 | |
---|
1637 | * Wed Sep 12 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.4.r14488 |
---|
1638 | - Update to latest svn trunk (14488). |
---|
1639 | |
---|
1640 | * Tue Aug 28 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.3.r14346 |
---|
1641 | - Update to latest svn trunk (14346). |
---|
1642 | |
---|
1643 | * Mon Aug 27 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.3.r14337 |
---|
1644 | - Update to latest svn trunk (14337). |
---|
1645 | |
---|
1646 | * Tue May 22 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.2.r13492 |
---|
1647 | - Update to latest svn trunk (13492). |
---|
1648 | - More non-standard macro nuking |
---|
1649 | |
---|
1650 | * Mon May 21 2007 Jarod Wilson <jarod@wilsonet.com> - 0.21-0.1.r13487 |
---|
1651 | - Update to latest svn trunk (13487). |
---|
1652 | - Reshuffle theme files |
---|
1653 | - Credit where credit is due: forking this off the current ATrpms spec |
---|