Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-extra-cmake-modules
mingw32-cross-extra-cmake-modules.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-cross-extra-cmake-modules.spec of Package mingw32-extra-cmake-modules
# # spec file for package mingw32-cross-extra-cmake-modules # # Copyright (c) 2021 SUSE LLC # # 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. Group: Development/Tools/Other # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global _prefix %_mingw32_cross_prefix %global __cmake /usr/bin/cmake %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "doc" %global pkg_suffix -doc %endif %bcond_without doc %bcond_without released Name: mingw32-cross-extra-cmake-modules%{?pkg_suffix} Version: 5.103.0 Release: 0 Summary: CMake modules License: BSD-3-Clause Group: Development/Tools/Other URL: https://www.kde.org Source: extra-cmake-modules-%{version}.tar.xz %if %{with released} Source1: extra-cmake-modules-%{version}.tar.xz.sig Source2: frameworks.keyring %endif BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: mingw32-cross-filesystem %if "%{flavor}" != "doc" Recommends: extra-cmake-modules-doc %else BuildRequires: python3-Sphinx %endif Requires: cmake Requires: gcc-c++ Requires: mingw32-cross-filesystem BuildArch: noarch %description Extra modules and scripts for CMake. %if "%{flavor}" == "doc" This package provides documentation for extra-cmake-modules %endif %prep %autosetup -p1 -n extra-cmake-modules-%{version} %build %cmake %cmake_build %install %cmake_install %if "%{flavor}" == "doc" rm -r %{buildroot}%{_datadir}/ECM %else mkdir -p %{buildroot}%{_datadir}/licenses sed -i 's,/usr/bin/env bash,/usr/bin/bash,g' %{buildroot}%{_datadir}/ECM/kde-modules/kde-git-commit-hooks/clang-format.sh sed -i 's,/usr/bin/env bash,/usr/bin/bash,g' %{buildroot}%{_datadir}/ECM/kde-modules/kde-git-commit-hooks/pre-commit.in %endif %files %dir %{_prefix} %dir %{_datadir} %if "%{flavor}" != "doc" %dir %{_datadir}/licenses %license LICENSES/* %{_datadir}/ECM/ %else %dir %{_datadir}/doc %dir %{_datadir}/doc/ECM %doc %{_datadir}/doc/ECM/ %doc %lang(en) %{_mandir}/man7/ecm*.7* %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor