Use Qt5 for gui
This commit is contained in:
parent
5c90ef161a
commit
0209ed3149
12
cmake.spec
12
cmake.spec
@ -7,13 +7,13 @@
|
||||
%define rcver %{nil}
|
||||
|
||||
%define rpm_macros_dir %{_sysconfdir}/rpm
|
||||
%if 0%{?fedora} || %0{?rhel} >= 7
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||
%define rpm_macros_dir %{_rpmconfigdir}/macros.d
|
||||
%endif
|
||||
|
||||
Name: cmake
|
||||
Version: 3.4.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Cross-platform make system
|
||||
|
||||
Group: Development/Tools
|
||||
@ -53,13 +53,14 @@ BuildRequires: emacs
|
||||
#BuildRequires: xmlrpc-c-devel
|
||||
%endif
|
||||
%if %{with gui}
|
||||
BuildRequires: qt4-devel, desktop-file-utils
|
||||
BuildRequires: pkgconfig(Qt5)
|
||||
BuildRequires: desktop-file-utils
|
||||
%define qt_gui --qt-gui
|
||||
%endif
|
||||
|
||||
Requires: rpm
|
||||
|
||||
%if 0%{?fedora} || %0{?rhel} >= 7
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||
Requires: emacs-filesystem >= %{_emacs_version}
|
||||
%endif
|
||||
|
||||
@ -274,6 +275,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 8 2015 Orion Poplawski <orion@cora.nwra.com> - 3.4.1-3
|
||||
- Use Qt5 for gui
|
||||
|
||||
* Mon Dec 7 2015 Orion Poplawski <orion@cora.nwra.com> - 3.4.1-2
|
||||
- Fixup some conditionals for RHEL7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user