ExclusiveArch: %{ix86} %{x8664} ppc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define myth_api_version %%(awk '/LIBVERSION/{print $3}' %{_datadir}/mythtv/build/settings.pro | cut -d. -f1,2 2>/dev/null || echo ERROR)
+%define myth_api_version %(awk -vFS=. '/^LIBVERSION/{sub("LIBVERSION = ", ""); printf ("%s.%s\n", $1, $2)}' %{_datadir}/mythtv/build/settings.pro 2>/dev/null || echo ERROR)
%define _webapps /etc/webapps
%define _webapp mythweb
Group: Applications/Multimedia
Requires: dvdauthor
Requires: mjpegtools
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
Requires: python-MySQLdb
Requires: python-PIL
Suggests: dvdrtools-mkisofs
Summary(pl.UTF-8): Moduł odtwarzacza muzyki dla MythTV
Group: Applications/Multimedia
BuildRequires: libvisual-devel
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythmusic
Music add-on for MythTV. Support playlists, visualisations, tag editing
Summary(pl.UTF-8): Moduł ogólnego interfejsu do odtwarzania obrazu dla MythTV
Group: Applications/Multimedia
Requires: mplayer
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythvideo
A generic video and dvd player frontend module for MythTV.
Summary: A MythTV module that displays a weather forcast
Summary(pl.UTF-8): Moduł MythTV wyświetlający prognozę pogody
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythweather
A MythTV module that displays a weather forcast.
Summary: A gallery/slideshow module for MythTV
Summary(pl.UTF-8): Moduł galerii/pokazu slajdów dla MythTV
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythgallery
A gallery/slideshow module for MythTV.
Summary: A game frontend (xmame, nes, snes, pc) for MythTV
Summary(pl.UTF-8): Interfejs do gier (xmame, nes, snes, pc) dla MythTV
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythgame
A game frontend (xmame, nes, snes, pc) for MythTV.
Summary: A DVD ripper module for MythTV
Summary(pl.UTF-8): Moduł rippujący DVD dla MythTV
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
Requires: mythvideo
Requires: transcode >= 0.6.8
Summary: A RSS News Feed plugin for MythTV
Summary(pl.UTF-8): Wtyczka czytnika nowinek RSS dla MythTV
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythnews
A RSS News Feed plugin for MythTV.
Summary: A small web browser module for MythTV
Summary(pl.UTF-8): Moduł małej przeglądarki WWW dla MythTV
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythbrowser
MythBrowser is a full fledged web-browser (multiple tabs) to display
Summary: Mythtv extension to watch network movie shows
Summary(pl.UTF-8): Dodatek do MythTV do oglądania sieciowych transmisji
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
Requires: mythbrowser
%description -n mythnetvision
Summary: MythTV cinemas timetable
Summary(pl.UTF-8): Moduł MythTV do repertuaru kinowego
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythmovies
MythTV cinemas timetable.
Summary: MythTV security TV manager
Summary(pl.UTF-8): Obsługa kamer przemysłowych dla MythTV
Group: Applications/Multimedia
-Requires: mythtv-frontend-api = %{expand:myth_api_version}
+Requires: mythtv-frontend-api = %{myth_api_version}
%description -n mythzoneminder
MythTV security TV manager.