# TODO where to put files and docs of KF5
-%define _state stable
-%define orgname extra-cmake-modules
-%define qt5ver 5.2.0
+%define orgname extra-cmake-modules
+%define qt5ver 5.2.0
Summary: Extra Cmake Modules for KF5
Name: kde5-extra-cmake-modules
Release: 0.1
License: See COPYING-CMAKE-SCRIPTS
Group: X11/Libraries
-Source0: ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/5.0.0/%{orgname}-%{version}.tar.xz
+Source0: ftp://ftp.kde.org/pub/kde/stable/frameworks/5.0.0/%{orgname}-%{version}.tar.xz
# Source0-md5: a7b9e8756fdc2b3a8518ad9f9d21dfd5
URL: http://www.kde.org/
BuildRequires: cmake >= 2.8.12
%package doc
Summary: Documentation for ECM
Group: Documentation
+%if "%{_rpmversion}" >= "5"
BuildArch: noarch
+%endif
%description doc
Documentation for ECM.