Репозиторий Sisyphus
Последнее обновление: 25 мая 2019 | Пакетов: 17693 | Посещений: 13594730
en ru br
Репозитории ALT

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

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

%define rname extra-cmake-modules

%def_enable doc
%ifarch %e2k
%add_python_req_skip clang
%endif

Name: extra-cmake-modules
Version: 5.57.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
%ifnarch %e2k
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

# 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-ubt
BuildRequires: cmake qt5-tools qt5-tools-devel
BuildRequires: rpm-build-python
%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

%ifarch %e2k
# unsupported as of lcc 1.23.12 (should be in 1.23.16)
sed -i 's|-fno-operator-names||' kde-modules/KDECompilerSettings.cmake
# lcc-1.23.12/binutils-2.29.0-alt2.E2K.23.018:
# kf5-kcoreaddons linking warning gets fatal otherwise
sed -i 's|-Wl,--fatal-warnings||' kde-modules/KDECompilerSettings.cmake
%endif

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

%install
%cmakeinstall_std

%files
%_datadir/ECM
%doc README.rst COPYING-CMAKE-SCRIPTS
%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