%undefine with_mythweather
%endif
-%include /usr/lib/rpm/macros.perl
Summary: Main MythTV plugins
Summary(pl.UTF-8): Główne wtyczki MythTV
Name: mythplugins
-Version: 0.26.0
-Release: 6
+Version: 0.26.1
+Release: 10
License: GPL v2
Group: Applications/Multimedia
Source0: ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2
-# Source0-md5: 15bd7b2f4173488966f3d761e0eacffa
+# Source0-md5: d896d9f9313ba5dd95e2e977bf9c0f8f
Source1: mythweb-apache.conf
Source2: mythweb_lighttpd.conf
Source3: htdigest.sh
Source5: mythweb-httpd.conf
Patch0: mythweb-chdir.patch
Patch1: system-zmq.patch
+Patch2: cxx11.patch
+Patch3: gcc11.patch
Patch10: %{name}-compile_fixes_for_qt_4_7.patch
Patch20: %{name}-mytharchive-INT64.patch
URL: http://www.mythtv.org/
%if %{with binary}
-%if %{with mythgallery} || %{with myhtmusic}
+%if %{with mythgallery} || %{with mythmusic}
BuildRequires: OpenGL-devel
%endif
BuildRequires: Qt3Support-devel
Obsoletes: mythdvd < %{version}-%{release}
Obsoletes: mythmovies < %{version}-%{release}
Obsoletes: mythvideo
-ExclusiveArch: %{ix86} %{x8664} ppc
+ExclusiveArch: %{ix86} %{x8664} x32 ppc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define myth_api_version %(awk -vFS=. '/^LIBVERSION/{sub("LIBVERSION = ", ""); printf ("%s.%s", $1, $2)}' %{_datadir}/mythtv/build/settings.pro 2>/dev/null || echo ERROR)
%description -n mythzoneminder
MythTV security TV manager.
-
%description -n mythzoneminder -l pl.UTF-8
Obsługa kamer przemysłowych dla MythTV.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
#%patch10 -p1
%patch20 -p1
# lib64 fix - enable to update patch
-%if %{_lib} != "lib" && 0
+%if "%{_lib}" != "lib" && 0
find '(' -name '*.[ch]' -o -name '*.cpp' -o -name '*.pro' ')' | \
xargs grep -l /lib/ . | xargs sed -i -e '
s,%{_prefix}/lib/,/%{_lib}/,g