2014-02-07 22:41:46 +01:00
|
|
|
#
|
|
|
|
# spec file for package extra-cmake-modules
|
|
|
|
#
|
2016-01-02 18:41:09 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-02-07 22:41:46 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-02-06 18:57:47 +01:00
|
|
|
%define _tar_path 5.19
|
2014-02-07 22:41:46 +01:00
|
|
|
Name: extra-cmake-modules
|
|
|
|
Summary: CMake modules
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Tools/Other
|
2014-02-08 03:31:40 +01:00
|
|
|
Url: https://projects.kde.org/projects/kdesupport/extra-cmake-modules
|
2016-02-06 18:57:47 +01:00
|
|
|
Version: 5.19.0
|
2014-02-07 22:41:46 +01:00
|
|
|
Release: 0
|
2015-04-05 13:38:52 +02:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
2014-02-07 22:41:46 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-03-01 19:56:17 +01:00
|
|
|
BuildRequires: cmake >= 2.8.12
|
2014-02-07 22:41:46 +01:00
|
|
|
BuildRequires: gcc-c++
|
2015-01-03 20:36:21 +01:00
|
|
|
BuildRequires: kf5-filesystem >= 5.6.0
|
2014-11-06 23:37:44 +01:00
|
|
|
%if %suse_version != 1315
|
2014-05-04 03:07:58 +02:00
|
|
|
BuildRequires: python-Sphinx
|
2014-11-03 18:53:55 +01:00
|
|
|
%endif
|
2014-03-01 19:56:17 +01:00
|
|
|
Requires: cmake >= 2.8.12
|
2014-08-08 00:34:51 +02:00
|
|
|
Requires: gcc-c++
|
2014-05-05 03:14:55 +02:00
|
|
|
Requires: kf5-filesystem
|
2014-05-04 03:07:58 +02:00
|
|
|
Provides: kf5umbrella = 4.99.0
|
|
|
|
Obsoletes: kf5umbrella < 4.99.0
|
2014-05-05 03:14:55 +02:00
|
|
|
Recommends: %{name}-doc
|
2014-02-07 22:41:46 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Extra modules and scripts for CMake.
|
|
|
|
|
|
|
|
For more information see http://community.kde.org/KDE_Core/Platform_11/Buildsystem/FindFilesSurvey
|
|
|
|
|
2014-05-05 03:14:55 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for extra-cmake-modules
|
|
|
|
Group: Documentation/Other
|
2014-06-01 20:31:36 +02:00
|
|
|
BuildArch: noarch
|
2014-05-05 03:14:55 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Extra modules and scripts for CMake.
|
|
|
|
|
|
|
|
For more information see http://community.kde.org/KDE_Core/Platform_11/Buildsystem/FindFilesSurvey
|
|
|
|
This package provides documentation for extra-cmake-modules
|
|
|
|
|
2014-02-07 22:41:46 +01:00
|
|
|
%prep
|
2014-02-08 03:31:40 +01:00
|
|
|
%setup -q
|
2014-02-07 22:41:46 +01:00
|
|
|
|
|
|
|
%build
|
2014-02-08 03:31:40 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
2014-02-07 22:41:46 +01:00
|
|
|
|
|
|
|
%install
|
2014-02-08 03:31:40 +01:00
|
|
|
%kf5_makeinstall -C build
|
2014-02-07 22:41:46 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2014-05-04 03:07:58 +02:00
|
|
|
%{_datadir}/ECM/
|
|
|
|
|
2014-11-06 23:37:44 +01:00
|
|
|
%if %suse_version != 1315
|
2014-05-04 03:07:58 +02:00
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc %{_datadir}/doc/ECM/
|
2014-11-03 19:11:06 +01:00
|
|
|
%doc %lang(en) %{_mandir}/man7/ecm*.7*
|
2014-11-03 18:53:55 +01:00
|
|
|
%endif
|
2014-02-07 22:41:46 +01:00
|
|
|
|
|
|
|
%changelog
|