]> git.pld-linux.org Git - packages/owncloudclient.git/commitdiff
dolphin bcond, requires kf5 >= 5.16 not available in pld
authorElan Ruusamäe <glen@delfi.ee>
Tue, 12 Apr 2016 21:12:55 +0000 (00:12 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 12 Apr 2016 21:14:02 +0000 (00:14 +0300)
owncloudclient.spec

index a63d46e41a7c15c0be1cbd6e89b189e6ccdaba3d..2a5193dfe57674a738a380a5baa1c44b9ebfa91c 100644 (file)
@@ -1,20 +1,20 @@
-# TODO
-# - kf5 >= 5.16
 #
 # Conditional build:
 %bcond_without nautilus        # build Nautilus extension
+%bcond_with    dolphin         # build dolphin extension
 %bcond_without doc             # build docs
 %bcond_without gui             # build only libraries
 
 %if %{without gui}
 %undefine      with_nautilus
+%undefine      with_dolphin
 %undefine      with_doc
 %endif
 
 Summary:       The ownCloud client
 Name:          owncloudclient
 Version:       2.1.1
-Release:       0.15
+Release:       0.16
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       https://download.owncloud.com/desktop/stable/%{name}-%{version}.tar.xz
@@ -29,8 +29,6 @@ BuildRequires:        QtSql-devel
 BuildRequires: QtWebKit-devel
 BuildRequires: QtXmlPatterns-devel
 BuildRequires: cmake >= 2.8.11
-BuildRequires: kf5-kconfig-devel
-BuildRequires: kf5-ki18n-devel
 BuildRequires: libstdc++-devel
 BuildRequires: openssl-devel >= 1.0.0
 BuildRequires: pkgconfig
@@ -40,6 +38,13 @@ BuildRequires:       rpmbuild(macros) >= 1.596
 BuildRequires: sqlite3-devel >= 3.8.0
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
+%if %{with dolphin}
+BuildRequires: kf5-attica-devel >= 5.16
+BuildRequires: kf5-extra-cmake-modules >= 5.16
+BuildRequires: kf5-kconfig-devel >= 5.16
+BuildRequires: kf5-ki18n-devel >= 5.16
+BuildRequires: kf5-kio-devel >= 5.16
+%endif
 %if %{with doc}
 BuildRequires: doxygen
 BuildRequires: sphinx-pdg-2
@@ -139,6 +144,9 @@ cd build
        -DWITH_DOC=NO \
        -DSPHINX_FOUND=NO \
        -DDOXYGEN_FOUND=NO \
+%endif
+%if %{without dolphin}
+       -DKF5_FOUND=NO \
 %endif
        %{!?with_gui:-DBUILD_LIBRARIES_ONLY=ON} \
        ..
This page took 0.0329390000000001 seconds and 4 git commands to generate.