Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:messaging:amqp
cmake
cmake.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cmake.spec of Package cmake
# # spec file for package cmake # # 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. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: cmake Version: 3.0.2 Release: 0 Summary: Cross-platform, open-source make system License: BSD-3-Clause Group: Development/Tools/Building URL: http://www.cmake.org/ Source0: http://www.cmake.org/files/v3.0/%{name}-%{version}.tar.gz Source1: cmake.macros Source2: opensuse_rules.cmake Patch2: cmake-fix-ruby-test.patch # PATCH-FIX-UPSTREAM dvaleev@suse.com https://github.com/Kitware/CMake/pull/111.patch Patch3: cmake-ppc64le-jni.patch # PATCH-FIX-UPSTREAM: tchvatal@suse.com failing test due to include order Patch4: cmake-fix-module-loading-test.patch BuildRequires: curl-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libexpat-devel BuildRequires: ncurses-devel BuildRequires: zlib-devel Requires: make Recommends: cmake-mans BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1110 BuildRequires: libarchive-devel BuildRequires: libbz2-devel %endif %description CMake is a cross-platform, open-source build system %prep %setup -q %patch2 -p1 %patch3 -p1 %patch4 -p1 %build export CXXFLAGS="%{optflags}" export CFLAGS="$CXXFLAGS" ./configure \ --prefix=%{_prefix} \ --datadir=/share/%{name} \ --docdir=/share/doc/packages/%{name} \ --mandir=/share/man \ --system-libs \ %if 0%{?suse_version} <= 1110 --no-system-libarchive \ %endif --parallel=0%{jobs} \ --verbose \ --no-qt-gui make VERBOSE=1 %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} mkdir -p %{buildroot}%{_libdir}/cmake find %{buildroot}%{_datadir}/cmake -type f -print0 | xargs -0 chmod 644 # rpm macros install -m644 %{SOURCE1} -D %{buildroot}%{_sysconfdir}/rpm/macros.cmake # buildrules install -m644 %{SOURCE2} -D %{buildroot}%{_datadir}/cmake/Modules/opensuse_rules.cmake sed -i \ -e 's:OPTFLAGS:%{optflags}:g' \ %{buildroot}%{_datadir}/cmake/Modules/opensuse_rules.cmake %fdupes %{buildroot}%{_datadir}/cmake %files %defattr(-,root,root) %config %{_sysconfdir}/rpm/macros.cmake %{_bindir}/cpack %{_bindir}/cmake %{_bindir}/ctest %{_bindir}/ccmake %{_datadir}/cmake %{_libdir}/cmake %dir %{_datadir}/aclocal %{_datadir}/aclocal/cmake.m4 %doc %{_docdir}/%{name} %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