Hrvoje Senjan 2014-02-08 02:31:40 +00:00 committed by Git OBS Bridge
parent 5090a65eb7
commit 4cd8893190

View File

@ -1,7 +1,7 @@
# #
# spec file for package extra-cmake-modules # spec file for package extra-cmake-modules
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@ Name: extra-cmake-modules
Summary: CMake modules Summary: CMake modules
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Tools/Other Group: Development/Tools/Other
URL: https://projects.kde.org/projects/kdesupport/extra-cmake-modules Url: https://projects.kde.org/projects/kdesupport/extra-cmake-modules
Version: 0.0.10 Version: 0.0.10
Release: 0 Release: 0
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
@ -28,8 +28,9 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake >= 2.8.11 BuildRequires: cmake >= 2.8.11
BuildRequires: gcc-c++ BuildRequires: gcc-c++
Requires: kf5-filesystem BuildRequires: kf5-filesystem
Requires: cmake >= 2.8.11 Requires: cmake >= 2.8.11
Requires: kf5-filesystem
%description %description
Extra modules and scripts for CMake. Extra modules and scripts for CMake.
@ -37,13 +38,15 @@ Extra modules and scripts for CMake.
For more information see http://community.kde.org/KDE_Core/Platform_11/Buildsystem/FindFilesSurvey For more information see http://community.kde.org/KDE_Core/Platform_11/Buildsystem/FindFilesSurvey
%prep %prep
%setup -q -n %{name}-%{version} %setup -q
%build %build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} %cmake_kf5 -d build
%make_jobs
%install %install
%makeinstall %kf5_makeinstall -C build
%fdupes -s %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -51,4 +54,3 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix}
%{_datadir}/ECM/* %{_datadir}/ECM/*
%changelog %changelog