Репозиторий Sisyphus
Последнее обновление: 23 января 2021 | Пакетов: 17777 | Посещений: 20123674
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: extra-cmake-modules

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define rname extra-cmake-modules

%def_enable doc
%def_disable clang

%ifarch %e2k
%def_disable clang
%else
%def_disable clang
%endif

%if_disabled clang
%add_python3_req_skip clang
%add_python3_req_skip clang.cindex
%endif

AutoReq: yes, nopython
AutoProv: yes, nopython nopython3
%add_python3_path %_datadir/ECM/find-modules

Name: extra-cmake-modules
Version: 5.78.0
Release: alt1

Group: Development/Other
Summary: Additional modules for CMake build system
License: BSD
Url: http://community.kde.org/KDE_Core/Platform_11/Buildsystem/FindFilesSurvey

# unable to remove noarch for e2k

BuildArch: noarch

Requires: cmake
%if_enabled clang
Requires: clang-devel
%endif

Source: %name-%version.tar
Patch1: alt-find-qcollectiongenerator.patch
Patch2: alt-fix-python-install-dirs.patch
Patch3: alt-find-clang-library.patch
Patch4: alt-remove-c90.patch

# Automatically added by buildreq on Thu Nov 17 2016 (-bi)

# optimized out: bzr cmake-modules fontconfig libqt4-clucene libqt4-core libqt4-devel libqt4-gui libqt4-help libqt4-network libqt4-sql libqt4-sql-sqlite policycoreutils python-base python-module-4Suite-XML python-module-IPy python-module-PyStemmer python-module-Pygments python-module-babel python-module-cffi python-module-cssselect python-module-docutils python-module-enum34 python-module-google python-module-httplib2 python-module-imagesize python-module-jinja2 python-module-jinja2-tests python-module-markupsafe python-module-mimeparse python-module-numpy python-module-pyasn1 python-module-pygobject3 python-module-pytz python-module-serial python-module-setuptools python-module-six python-module-slip python-module-snowballstemmer python-module-sphinx python-module-twisted-core python-modules python-modules-compiler python-modules-ctypes python-modules-email python-modules-encodings python-modules-json python-modules-logging python-modules-multiprocessing python-modules-unittest python3 python3-base rpm-build-python3 ruby xz
#BuildRequires: cmake ctags dblatex gyp libicu56 openbabel python-module-BeautifulSoup python-module-Pillow python-module-Reportlab python-module-alabaster python-module-bzr-fastimport python-module-cups python-module-ecdsa python-module-ed25519 python-module-html5lib python-module-nss python-module-polib python-module-pyExcelerator python-module-pycrypto python-module-pygraphviz python-module-pyparsing python-module-sphinx_rtd_theme python-modules-tkinter python3-dev rpm-build-gir ruby-stdlibs time
BuildRequires(pre): rpm-build-python3
BuildRequires: cmake qt5-tools qt5-tools-devel
%if_enabled doc
BuildRequires: /usr/bin/sphinx-build
%endif


%description
Additional modules for CMake build system needed by KDE Frameworks.

%prep
%setup
%patch1 -p1
%patch2 -p1
#%patch3 -p1
%patch4 -p1

# can't do %%ifarch here becouse noarch build

if [ "$(arch)" = "e2k" ]; then
# kf5-kcoreaddons linking warning gets fatal otherwise (mcst#3675)
sed -i 's|-Wl,--fatal-warnings|-Wl,--no-warn-shared-textrel|' \
kde-modules/KDECompilerSettings.cmake
fi

%build
%cmake \
   -DBUILD_TESTING:BOOL=FALSE \
   #
#    -DBUILD_QTHELP_DOCS:BOOL=TRUE \
%cmake_build

%install
%cmakeinstall_std

%files
%_datadir/ECM
%doc README.rst LICENSES/* README.md
%if_enabled doc
%doc %_docdir/ECM
%doc %_man7dir/*
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin