Projects
Multimedia
mythtv
mythtv.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mythtv.spec of Package mythtv (Revision 7)
Currently displaying revision
7
,
Show latest
# # spec file for package mythtv # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010,2011,2012,2013 Herbert Graeber <herbert@links2linux.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.links2linux.org # %define frontend mythfrontend %define backend mythbackend %define soname libmyth %define sover 0_28-0 %define USER mythtv %define GROUP video %define OGROUP audio Name: mythtv Version: 0.28.1+git.20170227.e9be5e0ece Release: 0 Summary: A personal video recorder (PVR/DVR) application License: GPL-2.0+ Group: Productivity/Multimedia/Video/Players Url: http://mythtv.org/ Source0: https://www.mythtv.org/download/mythtv/%{version}#/%{name}-fixes-%{version}.tar.gz Source93: mythbackend.sysconfig.in Source94: mythbackend.service.in Source95: mythbackend.rules.in Source96: mythbackend.SuSEfirewall2 Source97: mythbackend.logrotate.in Source98: mythtv-session.desktop Source99: mythfrontend.svg Source100: mythtv.rpmlintrc Patch0: mythtv-perl-install.patch BuildRequires: avahi-compat-mDNSResponder-devel BuildRequires: dcraw BuildRequires: fdupes BuildRequires: fftw3 BuildRequires: fftw3-threads-devel BuildRequires: hicolor-icon-theme BuildRequires: libdvdcss-devel BuildRequires: libfaac-devel BuildRequires: libfame-devel BuildRequires: libgsm-devel BuildRequires: libmp3lame-devel BuildRequires: libmysqlclient-devel BuildRequires: libsensors4-devel BuildRequires: libtool BuildRequires: libxvidcore-devel BuildRequires: lirc-devel BuildRequires: nasm BuildRequires: ncurses-devel BuildRequires: perl-libwww-perl BuildRequires: pkgconfig BuildRequires: python-curl BuildRequires: python-devel BuildRequires: python-lxml BuildRequires: python-mysql BuildRequires: python-oauth BuildRequires: python-urlgrabber BuildRequires: python-xml BuildRequires: transcode BuildRequires: update-desktop-files BuildRequires: yasm BuildRequires: perl(Config) BuildRequires: perl(DBD::mysql) BuildRequires: perl(DBI) BuildRequires: perl(Date::Manip) BuildRequires: perl(DateTime::Format::ISO8601) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Fcntl) BuildRequires: perl(File::Copy) BuildRequires: perl(HTTP::Request) BuildRequires: perl(IO::Socket::INET6) BuildRequires: perl(Image::Size) BuildRequires: perl(JSON) BuildRequires: perl(LWP::Simple) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Net::UPnP::ControlPoint) BuildRequires: perl(Net::UPnP::QueryResponse) BuildRequires: perl(SOAP::Lite) BuildRequires: perl(Sys::Hostname) BuildRequires: perl(XML::Simple) BuildRequires: perl(XML::XPath) BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5WebKit) BuildRequires: pkgconfig(Qt5WebKitWidgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(dvdnav) BuildRequires: pkgconfig(dvdread) BuildRequires: pkgconfig(exiv2) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(fribidi) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(liba52) BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libavc1394) BuildRequires: pkgconfig(libcdaudio) >= 0.99.6 BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcdio_cdda) BuildRequires: pkgconfig(libcec) >= 1.7.0 BuildRequires: pkgconfig(libdca) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libiec61883) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libraw1394) BuildRequires: pkgconfig(libva) BuildRequires: pkgconfig(libva-glx) BuildRequires: pkgconfig(libvisual-0.4) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(mad) BuildRequires: pkgconfig(mjpegtools) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(taglib) >= 1.7.0 BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(vdpau) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vpx) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x264) BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xmu) BuildRequires: pkgconfig(xproto) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xv) BuildRequires: pkgconfig(zlib) # FIXME: use proper Requires(pre/post/preun/...) PreReq: coreutils Provides: %{name}-0_27 = %{version} Obsoletes: %{name}-0_27 < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} %ifarch %ix86 x86_64 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: xf86-video-intel %endif %ifarch %arm BuildRequires: pkgconfig(glesv2) BuildRequires: -Mesa-libGL-devel %endif %description MythTV provides a unified graphical interface for recording and viewing television programs. Refer to the mythtv package for more information. There are also several add-ons and themes available. In order to facilitate installations with smart/apt-get/yum and other related package resolvers this meta-package can be used to install all in one sweep. MythTV implements the following DVR features, and more, with a unified graphical interface: - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV. - Video compression using RTjpeg or MPEG-4, and support for DVB and hardware encoder cards/devices. - Program listing retrieval using XMLTV - Themable, semi-transparent on-screen display - Electronic program guide - Scheduled recording of TV programs - Resolution of conflicts between scheduled recordings - Basic video editing %package docs Summary: MythTV documentation Group: Documentation/HTML Provides: %{name}-0_27-docs = %{version} Obsoletes: %{name}-0_27-docs < %{version} BuildArch: noarch %description docs A personal video recorder (PVR/DVR) application. This package contains the %{name} documentation files. %package -n %{soname}-%{sover} Summary: Library providing %{name} support Group: Development/Libraries/C and C++ Requires: libQt5Sql5-mysql Provides: lib%{name}-%{sover} = %{version} Provides: %{name}-frontend-api = %{version} Provides: %{soname}-0_27 = %{version} Obsoletes: %{soname}-0_27 < %{version} %description -n %{soname}-%{sover} A personal video recorder (PVR/DVR) application. Common library code for %{name} and add-on modules (development). %package devel Summary: Development files for %{soname} Group: Development/Libraries/C and C++ Requires: lib%{name}-%{sover} = %{version} Provides: %{soname}-0_27-devel = %{version} Obsoletes: %{soname}-0_27-devel < %{version} %description devel A personal video recorder (PVR/DVR) application. This package contains the header files and libraries for developing add-ons for %{name}. %package base-themes Summary: Core user interface themes for %{name} Group: Productivity/Multimedia/Video/Players Recommends: droid-fonts Provides: %{name}-0_27-base-themes = %{version} Obsoletes: %{name}-0_27-base-themes < %{version} BuildArch: noarch %description base-themes A personal video recorder (PVR/DVR) application. This package contains the base themes for the %{name} user interface. %package common Summary: Common components needed by %{name} Group: Productivity/Multimedia/Video/Players Provides: %{name}-0_27-common = %{version} Obsoletes: %{name}-0_27-common < %{version} %description common A personal video recorder (PVR/DVR) application. This package contains components needed by multiple other %{name} components. %package frontend Summary: Client component of %{name} (a PVR) Group: Productivity/Multimedia/Video/Players Requires: %{name}-base-themes = %{version} Requires: %{name}-common = %{version} Requires: %{name}-frontend-api = %{version} Requires: %(rpm -qf $(readlink -qne %{_libdir}/libcec.so) --qf '%{NAME} >= %{VERSION}') Provides: %{name}-0_27-frontend = %{version} Obsoletes: %{name}-0_27-frontend < %{version} Provides: mythvideo = %{version} %description frontend MythTV provides a unified graphical interface for recording and viewing television programs. This package contains only the client software, which provides a front-end for playback and configuration. It requires access to a %{name}-backend installation, either on the same system or one reachable via the network. %package backend Summary: Server component of %{name} (a DVR) Group: Productivity/Multimedia/Video/Players Requires: %{name}-common = %{version} Requires(pre): %fillup_prereq Requires(pre): coreutils Requires(pre): shadow %if 0%{?suse_version} > 1320 Requires(pre): system-group-hardware %endif Requires(pre): util-linux-systemd Provides: %{name}-0_27-backend = %{version} Obsoletes: %{name}-0_27-backend < %{version} Recommends: logrotate %description backend MythTV provides a unified graphical interface for recording and viewing television programs. This package contains only the server software, which provides video and audio capture and encoding services. In order to be useful, it requires a %{name}-frontend installation, either on the same system or one reachable via the network. %package setup Summary: Setup the %{name} backend Group: Productivity/Multimedia/Video/Players Requires: %{name}-backend = %{version} Requires: %{name}-base-themes = %{version} Provides: %{name}-0_27-setup = %{version} Obsoletes: %{name}-0_27-setup < %{version} %description setup A personal video recorder (PVR/DVR) application. This package contains the program which sets up the database to use a machine as a backend server. %package -n perl-%{name} Summary: Perl bindings for %{name} Group: Development/Libraries/Perl Requires: perl(DBD::mysql) Requires: perl(Net::UPnP) Requires: perl(Net::UPnP::ControlPoint) Provides: perl-MythTV-0_27 = %{version} Obsoletes: perl-MythTV-0_27 < %{version} BuildArch: noarch %{perl_requires} %description -n perl-%{name} A personal video recorder (PVR/DVR) application. Provides a perl-based interface to interacting with %{name}. %package -n python-%{name} Summary: Python bindings for %{name} Group: Development/Libraries/Python Requires: python-lxml Requires: python-mysql Provides: python-MythTV-0_27 = %{version} Obsoletes: python-MythTV-0_27 < %{version} BuildArch: noarch %py_requires %description -n python-%{name} A personal video recorder (PVR/DVR) application. Provides a python-based interface to interacting with %{name}. %package -n php-%{name} Summary: PHP bindings for %{name} Group: Development/Libraries/Other Requires: perl-%{name} Provides: php-MythTV-0_27 = %{version} Obsoletes: php-MythTV-0_27 < %{version} BuildArch: noarch %description -n php-%{name} A personal video recorder (PVR/DVR) application. Provides a php-based interface to interacting with MythTV. %package -n mytharchive Summary: A module for %{name} for creating and burning DVDs Group: Productivity/Multimedia/Video/Players Requires: %{_bindir}/cdrecord Requires: %{_bindir}/mkisofs Requires: dvd+rw-tools Requires: dvdauthor Requires: ffmpeg Requires: mjpegtools Requires: python-imaging Requires: python-mysql Requires: transcode Provides: mytharchive-0_27 = %{version} Obsoletes: mytharchive-0_27 < %{version} %py_requires %description -n mytharchive A personal video recorder (PVR/DVR) application. MythArchive is a new plugin for MythTV that lets you create DVDs from your recorded shows, MythVideo files and any video files available on your system. %package -n mythbrowser Summary: A small web browser module for %{name} Group: Productivity/Multimedia/Video/Players Provides: mythbrowser-0_27 = %{version} Obsoletes: mythbrowser-0_27 < %{version} %description -n mythbrowser A personal video recorder (PVR/DVR) application. MythBrowser is a full fledged web-browser (multiple tabs) to display webpages in full-screen mode. Simple page navigation is possible. Starting with version 0.13 it also has full support for mouse driven navigation (right mouse opens and clos es the popup menu). MythBrowser also contains a BookmarkManager to manage the website links in a simple mythplugin. %package -n mythgallery Summary: Image gallery plugin for %{name} Group: Productivity/Multimedia/Video/Players Requires: %{name}-frontend-api = %{version} Requires: dcraw Provides: mythgallery-0_27 = %{version} Obsoletes: mythgallery-0_27 < %{version} %description -n mythgallery A personal video recorder (PVR/DVR) application. The MythGallery plug-in allows you to view all your photos as well as short movies from your digital camera. Myth Gallery will show your photos as they are organised in your file system. Myth will generate thumbnails of both folders as well as individual photos. %package -n mythgame Summary: A game frontend (xmame, nes, snes, pc) for %{name} Group: Productivity/Multimedia/Video/Players Requires: %{name}-frontend-api = %{version} Provides: mythgame-0_27 = %{version} Obsoletes: mythgame-0_27 < %{version} %description -n mythgame A personal video recorder (PVR/DVR) application. MythGame is a starter for games and emulators, so they can be run from within %{name}. %package -n mythmusic Summary: The music player add-on module for %{name} Group: Productivity/Multimedia/Video/Players Requires: %{name}-frontend-api = %{version} Provides: mythmusic-0_27 = %{version} Obsoletes: mythmusic-0_27 < %{version} %description -n mythmusic A personal video recorder (PVR/DVR) application. MythMusic is a sophisticated MythTV plugin that allows you to play and manage music and audio files .i.e MP3, Ogg, FLAC, wav etc and play radio streams from the likes of Icecast, Sky FM, Digitally Imported and Radionomy. %package -n mythnetvision Summary: MythTV Plugin for watching internet content Group: Productivity/Multimedia/Video/Players Requires: perl Requires: python-%{name} = %{version} Requires: python-curl Requires: python-oauth Requires: python-xml Provides: mythnetvision-0_27 = %{version} Obsoletes: mythnetvision-0_27 < %{version} %description -n mythnetvision A personal video recorder (PVR/DVR) application. MythNetvision is a plugin designed to make adding Internet video sources to MythTV fun and easy. MythNetvision consists of two components-- a search screen and a site/RSS browser screen. When installed, MythNetvision appears on the Media Library screen as the options "Search Internet Video" and "Browse Internet Video." %package -n mythnews Summary: An RSS news feed plugin for %{name} Group: Productivity/Multimedia/Video/Players Requires: %{name}-frontend-api = %{version} Provides: mythnews-0_27 = %{version} Obsoletes: mythnews-0_27 < %{version} %description -n mythnews A personal video recorder (PVR/DVR) application. MythNews is a module which permits the user to follow their favorite news sources, available in RSS format. %package -n mythweather Summary: A %{name} module that displays a weather forcast Group: Productivity/Multimedia/Video/Players Requires: %{name}-frontend-api = %{version} Requires: perl(DateTime::Format::ISO8601) Requires: perl(Image::Size) Requires: perl(SOAP::Lite) Requires: perl(XML::SAX::Base) Requires: perl(XML::XPath) Provides: mythweather-0_27 = %{version} Obsoletes: mythweather-0_27 < %{version} %description -n mythweather A personal video recorder (PVR/DVR) application. MythWeather is a plugin that downloads and displays weather information. %package -n mythzoneminder Summary: A module for %{name} for camera security and surveillance Group: Productivity/Multimedia/Video/Players Requires: %{name}-frontend-api = %{version} Provides: mythzoneminder-0_27 = %{version} Obsoletes: mythzoneminder-0_27 < %{version} %description -n mythzoneminder A personal video recorder (PVR/DVR) application. MythZoneMinder is a plugin to interface to some of the features of ZoneMinder. You can use it to view a status window similar to the console window in ZM. Also there are screens to view live camera shots and replay recorded events. %prep %setup -q -n %{name}-fixes-%{version} # Fix build gcc6 # Don't use -isystem /usr/include find . -type f -name \*.pro | while read file; do echo "QMAKE_CFLAGS_ISYSTEM =" >> "$file" done if [ "%{_lib}" != "lib" ]; then find \( -name 'configure' -o -name '*pro' -o -name 'Makefile*' \) \ -exec sed -r -i -e 's,/lib\b,/%{_lib},g' {} \+ fi sed -e 's|^\#\!.*python$|\#\!%{_bindir}/python2|' \ -i $(grep -rl 'env\ python') find -regex ".*\.\(html\|js\|xsl\)" -type f -executable -exec chmod 644 {} \; || : pushd %{name} %patch0 -p1 sed -i 's/\-ldconfig//;s/\-O3//' $(grep -rl '\-ldconfig\|\-O3') cp -a %{SOURCE93} %{SOURCE94} %{SOURCE95} %{SOURCE96} %{SOURCE97} %{SOURCE98} %{SOURCE99} . for file in %{backend}.service.in %{backend}.logrotate.in; do sed -e's|@USER@|%{USER}|g' \ -e's|@GROUP@|%{GROUP}|g' \ -i $file done FAKE_BUILDDATE=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%b %e %Y') FAKE_BUILDTIME=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%H:%M:%S') sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" \ -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" \ -i $(grep -rl '__DATE__\|__TIME__') || : popd %build export CFLAGS="%{optflags} -fomit-frame-pointer -fno-strict-aliasing" export CXXFLAGS="$CFLAGS" pushd %{name} ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --libdir-name=%{_lib} \ --mandir=%{_mandir} \ --enable-pthreads \ --enable-ffmpeg-pthreads \ --enable-joystick-menu \ --enable-audio-alsa \ --enable-audio-oss \ --enable-audio-jack \ --enable-libfftw3 \ --enable-x11 \ --x11-path=%{_includedir} \ --enable-xv \ --enable-opengl-video \ --enable-xrandr \ --enable-lirc \ --enable-ivtv \ --enable-firewire \ --enable-dvb \ --enable-libmp3lame \ --enable-libtheora --enable-libvorbis \ --enable-libxvid \ --enable-vdpau \ --enable-vaapi \ --enable-libfaac \ --enable-libx264 \ --enable-libvpx \ --enable-libxvid \ --enable-libdns-sd \ --enable-nonfree \ --extra-cflags="$CFLAGS" \ --extra-cxxflags="$CXXFLAGS" \ --extra-libs="-ldl" \ --compile-type=release \ --disable-stripping \ --enable-symbol-visibility \ --enable-pic \ --python=python2 %make_jobs OPTFLAGS="%{optflags}" popd mkdir temp temp=`pwd`/temp mkdir -p $temp%{perl_vendorlib} make %{?_smp_mflags} -C %{name} install INSTALL_ROOT=$temp if [ "%{_libdir}" != "%{_prefix}/lib" ]; then mv $temp/usr/lib{,64}/%{soname}zmq.* $temp%{_libdir} || : fi export LD_LIBRARY_PATH=$temp%{_libdir}:$LD_LIBRARY_PATH pushd mythplugins echo "QMAKE_PROJECT_DEPTH = 0" >> settings.pro find . -name \*.pro \ -exec sed -i -e "s,INCLUDEPATH += .\+/include/%{name},INCLUDEPATH += $temp%{_includedir}/%{name}," {} \; \ -exec sed -i -e "s,DEPLIBS = \$\${LIBDIR},DEPLIBS = $temp%{_libdir}," {} \; \ -exec sed -i -e "s,\$\${PREFIX}/include/%{name},$temp%{_includedir}/%{name}," {} \; cat >> settings.pro << EOF INCLUDEPATH -= \$\${PREFIX}/include INCLUDEPATH -= %{_includedir} INCLUDEPATH += $temp%{_includedir} INCLUDEPATH += %{_includedir} LIBS *= -L$temp%{_libdir} QMAKE_LIBDIR += $temp%{_libdir} EOF ./configure \ --prefix=${temp}%{_prefix} \ --libdir=%{_libdir} \ --libdir-name=%{_lib} \ --enable-exif \ --enable-new-exif \ --enable-dcraw \ --enable-opengl \ --enable-fftw \ --enable-cdio \ --compile-type=release \ --enable-mytharchive \ --enable-mythbrowser \ --enable-mythgallery \ --enable-mythgame \ --enable-mythmusic \ --enable-mythnetvision \ --enable-mythnews \ --enable-mythweather \ --enable-mythzoneminder \ --python=python2 %make_jobs popd %install pushd %{name} %qmake5_install install -d %{buildroot}{%{_sbindir},%{_libdir}/%{name}/plugins,%{_sysconfdir}/%{name}} if [ "%{_libdir}" != "%{_prefix}/lib" ]; then mv %{buildroot}%{_prefix}/lib{,64}/%{soname}zmq.* %{buildroot}%{_libdir} || : fi ln -sf %{name}-setup %{buildroot}%{_bindir}/%{name}setup echo "# to be filled in by %{name}-setup" > %{buildroot}%{_sysconfdir}/%{name}/config.xml install -Dm0644 {./,%{buildroot}%{_datadir}/icons/hicolor/scalable/apps}/%{frontend}.svg install -Dm0644 %{backend}.sysconfig.in %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{backend} install -Dm0644 %{backend}.service.in %{buildroot}%{_unitdir}/%{backend}.service ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{backend} install -Dm0644 %{backend}.rules.in %{buildroot}/%{_udevrulesdir}/99-%{backend}.rules install -Dm0644 {./,%{buildroot}%{_datadir}/%{name}/build/}settings.pro install -Dm0644 %{backend}.SuSEfirewall2 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{backend} install -Dm0644 %{backend}.logrotate.in %{buildroot}%{_sysconfdir}/logrotate.d/%{name} %{suse_update_desktop_file -c \ %{frontend} MythTV "PVR/DVR" %{frontend} %{frontend} Qt AudioVideo Video TV} %{suse_update_desktop_file -c %{frontend}-1024x576 \ "MythTV 1024x576" "PVR/DVR (medium window size)" "%{frontend} -w -geometry 1024x576" %{frontend} Qt AudioVideo Video TV} %{suse_update_desktop_file -c %{frontend}-800x450 \ "MythTV 800x450" "PVR/DVR (small window size)" "%{frontend} -w -geometry 800x450" %{frontend} Qt AudioVideo Video TV} %{suse_update_desktop_file -c \ %{name}-setup "MythTV Setup" "MythTV - Sets up the database" %{name}-setup %{frontend} Qt Settings Qt Utility Settings} install -Dm0644 %{name}-session.desktop %{buildroot}%{_datadir}/xsessions/%{name}.desktop popd install -d %{buildroot}%{_localstatedir}/{lib/%{name},log/%{name},cache/%{name}} pushd mythplugins %qmake5_install install -d %{buildroot}%{_localstatedir}/{lib/mythmusic,lib/pictures} install -d %{buildroot}%{_datadir}/%{name}/games/nes/{roms,screens} install -d %{buildroot}%{_datadir}/%{name}/games/snes/{roms,screens} install -d %{buildroot}%{_datadir}/{%{name}/games/PC/screens,mame,mame/flyers} install -d %{buildroot}%{_sysconfdir}/mythgame ln -s ../../mame %{buildroot}%{_datadir}/%{name}/games/xmame ln -s snap %{buildroot}%{_datadir}/%{name}/games/xmame/screens cp -a mythgame/gamelist.xml %{buildroot}%{_sysconfdir}/mythgame/ ln -s ../../../../../%{_sysconfdir}/mythgame/ \ %{buildroot}%{_datadir}/%{name}/games/PC/gamelist.xml popd find %{buildroot} -type f -name \*.py | while read py; do byte=$(dirname $py) %py_compile $byte done pushd %{buildroot} find . -path .%{_includedir}/%{name} -prune -o \ -iregex ".*\.\(la\|a\|pc\|hpp\|h\|.*/\..*\)" -print -exec rm {} \; popd %fdupes %{buildroot}%{_docdir} %fdupes %{buildroot}%{_datadir}/%{name} %fdupes %{buildroot}%{_includedir}/%{name} %post -n %{soname}-%{sover} -p /sbin/ldconfig %postun -n %{soname}-%{sover} -p /sbin/ldconfig %pre backend if [ $1 -eq 1 ]; then if ! %{_bindir}/id %{USER} &>/dev/null; then %{_sbindir}/useradd -r -c "MythTV Backend User" -g %{GROUP} -G %{OGROUP} \ -s /sbin/nologin -d %{_localstatedir}/lib/%{name} %{USER} 2> /dev/null || : fi fi %service_add_pre %{backend}.service %post backend %{fillup_and_insserv -i -n %{backend}} %service_add_post %{backend}.service %udev_rules_update %preun backend %service_del_preun %{backend}.service %postun backend if [ $1 -eq 0 ]; then userdel %{USER} || logger "User \"%{USER}\" could not be deleted." rm -rf %{_localstatedir}/{lib/%{name},log/%{name},cache/%{name}} %udev_rules_update fi %service_del_postun %{backend}.service %post frontend %icon_theme_cache_post %desktop_database_post %postun frontend %icon_theme_cache_postun %desktop_database_postun %files docs %defattr(-,root,root,-) %doc %{name}/README* %doc %{name}/UPGRADING %doc %{name}/AUTHORS %doc %{name}/COPYING %doc %{name}/FAQ %doc %{name}/database %doc %{name}/keys.txt %doc %{name}/docs %doc %{name}/contrib %files common %defattr(-,root,root,-) %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/config.xml %{_bindir}/mythcommflag %{_bindir}/mythtranscode %{_bindir}/mythffmpeg %{_bindir}/mythreplex %{_bindir}/mythccextractor %{_bindir}/mythmetadatalookup %{_bindir}/mythutil %{_bindir}/mythpreviewgen %{_bindir}/mythffprobe %{_bindir}/mythffserver %{_bindir}/mythhdhomerun_config %{_bindir}/mythscreenwizard %{_bindir}/mythfilerecorder %dir %{_datadir}/%{name} %{_datadir}/%{name}/mythconverg*.pl %dir %{_datadir}/%{name}/locales %{_datadir}/%{name}/locales/* %dir %{_datadir}/%{name}/metadata %{_datadir}/%{name}/metadata/* %dir %{_datadir}/%{name}/hardwareprofile %{_datadir}/%{name}/hardwareprofile/* %{_bindir}/mythwikiscripts %{_datadir}/%{name}/CDS_scpd.xml %{_datadir}/%{name}/CMGR_scpd.xml %{_datadir}/%{name}/MFEXML_scpd.xml %{_datadir}/%{name}/MSRR_scpd.xml %{_datadir}/%{name}/devicemaster.xml %{_datadir}/%{name}/deviceslave.xml %files backend %defattr(-,root,root,-) %{_bindir}/%{backend} %{_bindir}/mythfilldatabase %{_bindir}/mythjobqueue %{_bindir}/mythmediaserver %{_datadir}/%{name}/html/ %{_datadir}/%{name}/backend-config %{_datadir}/%{name}/MXML_scpd.xml %attr(0750,%{USER},%{GROUP}) %dir %{_localstatedir}/lib/mythtv %attr(0750,%{USER},%{GROUP}) %dir %{_localstatedir}/cache/mythtv %{_localstatedir}/adm/fillup-templates/sysconfig.%{backend} %attr(0750,%{USER},%{GROUP}) %dir %{_localstatedir}/log/mythtv %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{backend} %config %{_sysconfdir}/logrotate.d/%{name} %{_sbindir}/rc%{backend} %{_unitdir}/%{backend}.service %{_udevrulesdir}/99-%{backend}.rules %files setup %defattr(-,root,root,-) %{_bindir}/%{name}-setup %{_bindir}/%{name}setup %{_datadir}/%{name}/setup.xml %{_datadir}/applications/*%{name}-setup.desktop %files frontend %defattr(-,root,root,-) %{_bindir}/mythavtest %{_bindir}/%{frontend} %{_bindir}/mythlcdserver %{_bindir}/mythshutdown %{_bindir}/mythwelcome %{_libdir}/%{name}/filters %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %dir %{_datadir}/%{name}/i18n %{_datadir}/%{name}/i18n/%{frontend}_*.qm %{_datadir}/applications/%{frontend}*.desktop %{_datadir}/icons/hicolor/*/apps/%{frontend}.svg %{_datadir}/xsessions/%{name}.desktop %dir %{_datadir}/%{name}/fonts %{_datadir}/%{name}/fonts/*.ttf %{_datadir}/%{name}/fonts/*.otf %{_datadir}/%{name}/fonts/tiresias_gpl3.txt %files base-themes %defattr(-,root,root,-) %dir %{_datadir}/%{name}/themes %{_datadir}/%{name}/themes/* %files -n %{soname}-%{sover} %defattr(-,root,root,-) %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/%{name} %{_libdir}/*.so %dir %{_datadir}/%{name}/build %{_datadir}/%{name}/build/settings.pro %files -n perl-%{name} %defattr(-,root,root,-) %{perl_vendorlib}/MythTV.pm %dir %{perl_vendorlib}/MythTV %{perl_vendorlib}/MythTV/*.pm %dir %{perl_vendorlib}/IO %dir %{perl_vendorlib}/IO/Socket %dir %{perl_vendorlib}/IO/Socket/INET %{perl_vendorlib}/IO/Socket/INET/MythTV.pm %files -n python-%{name} %defattr(-,root,root,-) %dir %{python_sitelib}/MythTV/ %{_bindir}/mythpython %{python_sitelib}/MythTV/* %{python_sitelib}/MythTV-*.egg-info %files -n php-%{name} %defattr(-,root,root,-) %dir %{_datadir}/%{name}/bindings %{_datadir}/%{name}/bindings/php %files -n mytharchive %defattr(-,root,root,-) %{_bindir}/mytharchivehelper %{_libdir}/%{name}/plugins/%{soname}archive.so %{_datadir}/%{name}/archivemenu.xml %{_datadir}/%{name}/archiveutils.xml %{_datadir}/%{name}/mytharchive %{_datadir}/%{name}/i18n/mytharchive_*.qm %files -n mythbrowser %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/%{soname}browser.so %{_datadir}/%{name}/i18n/mythbrowser_*.qm %files -n mythgallery %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/%{soname}gallery.so %{_datadir}/%{name}/i18n/mythgallery_*.qm %{_localstatedir}/lib/pictures %files -n mythgame %defattr(-,root,root,-) %dir %{_sysconfdir}/mythgame %config(noreplace) %{_sysconfdir}/mythgame/gamelist.xml %{_libdir}/%{name}/plugins/%{soname}game.so %dir %{_datadir}/%{name}/games %dir %{_datadir}/%{name}/games/PC %{_datadir}/%{name}/games/PC/gamelist.xml %{_datadir}/%{name}/games/xmame %dir %{_datadir}/mame %{_datadir}/mame/screens %dir %{_datadir}/mame/flyers %{_datadir}/%{name}/game_settings.xml %{_datadir}/%{name}/i18n/mythgame_*.qm %files -n mythmusic %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/%{soname}music.so %{_localstatedir}/lib/mythmusic %{_datadir}/%{name}/musicmenu.xml %{_datadir}/%{name}/music_settings.xml %{_datadir}/%{name}/i18n/mythmusic_*.qm %files -n mythnetvision %defattr(-,root,root,-) %{_bindir}/mythfillnetvision %{_libdir}/%{name}/plugins/%{soname}netvision.so %{_datadir}/%{name}/mythnetvision %{_datadir}/%{name}/netvisionmenu.xml %{_datadir}/%{name}/i18n/mythnetvision_*.qm %{_datadir}/%{name}/internetcontent %files -n mythnews %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/%{soname}news.so %{_datadir}/%{name}/mythnews %{_datadir}/%{name}/i18n/mythnews_*.qm %files -n mythweather %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/%{soname}weather.so %{_datadir}/%{name}/i18n/mythweather_*.qm %{_datadir}/%{name}/weather_settings.xml %{_datadir}/%{name}/mythweather %files -n mythzoneminder %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/%{soname}zoneminder.so %{_datadir}/%{name}/zonemindermenu.xml %{_bindir}/mythzmserver %{_datadir}/%{name}/i18n/mythzoneminder_*.qm %exclude %{_datadir}/%{name}/fonts/README-TeX-Gyre-Chorus.txt %exclude %{_datadir}/%{name}/fonts/README-droid.txt %exclude %{_datadir}/%{name}/fonts/README-freefont-20120503.txt %exclude %{_datadir}/%{name}/fonts/README-purisa.txt %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.