From: Elan Ruusamäe Date: Sun, 17 May 2015 21:31:56 +0000 (+0300) Subject: qt ver X-Git-Tag: auto/th/photoqt-1.2-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=8f48f60a0e4cec75f892e1dc7b4d2a632b006afd;p=packages%2Fphotoqt.git qt ver --- diff --git a/photoqt.spec b/photoqt.spec index 6d73501..a78cb01 100644 --- a/photoqt.spec +++ b/photoqt.spec @@ -1,6 +1,10 @@ # TODO # - with GM? +# - optional (runtime) deps: +# - XCFtools - https://github.com/j-jorge/xcftools +# - libqpsd - https://github.com/Code-ReaQtor/libqpsd +%define qtver 5.1 Summary: Simple but powerful Qt-based image viewer Name: photoqt Version: 1.2 @@ -11,11 +15,12 @@ Source0: http://photoqt.org/pkgs/%{name}-%{version}.tar.gz # Source0-md5: bc0233279c86db39dc2482583697c9b3 URL: http://photoqt.org/ BuildRequires: GraphicsMagick-devel -BuildRequires: Qt5Core-devel -BuildRequires: Qt5Gui-devel -BuildRequires: Qt5Multimedia-devel -BuildRequires: Qt5Svg-devel -BuildRequires: qt5-linguist +BuildRequires: Qt5Core-devel >= %{qtver} +BuildRequires: Qt5Gui-devel >= %{qtver} +BuildRequires: Qt5Multimedia-devel >= %{qtver} +BuildRequires: Qt5Svg-devel >= %{qtver} +BuildRequires: qt5-linguist >= %{qtver} +BuildRequires: cmake BuildRequires: rpmbuild(macros) >= 1.596 Requires: desktop-file-utils Requires: gtk-update-icon-cache