master
Marc Wäckerlin 9 years ago
parent 1eea44c38b
commit 50024f1c2f
  1. 12
      libpcscxx.spec.in

@ -9,18 +9,18 @@ BuildRequires: gnupg, subversion, automake, autoconf, doxygen, graphviz
BuildRequires: p11-kit-devel BuildRequires: p11-kit-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} %if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version}
BuildRequires: pkgconfig, redhat-lsb, qt5-qtbase-devel, qt5-qttools, qt5-qtwebkit-devel BuildRequires: pkgconfig, redhat-lsb
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} %if 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version}
BuildRequires: mscgen, qt5-qtbase-devel, qt5-qttools
%else
BuildRequires: qt-devel BuildRequires: qt-devel
%else
BuildRequires: mscgen, qt5-qtbase-devel, qt5-qttools, qt5-qtwebkit-devel
%endif %endif
%else%if 0%{?suse_version} || 0%{?sles_version} %else%if 0%{?suse_version} || 0%{?sles_version}
BuildRequires: pkg-config, lsb-release BuildRequires: pkg-config, lsb-release
%if 0%{?suse_version} < 1200 || 0%{?sles_version} < 1200 %if 0%{?suse_version} < 1200 || 0%{?sles_version} < 1200
BuildRequires: libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel BuildRequires: libqt4-devel, qt4-x11-tools, libQtWebKit-devel
%else %else
BuildRequires: libqt4-devel, qt4-x11-tools BuildRequires: libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel
%endif %endif
%endif%endif %endif%endif

Loading…
Cancel
Save