forked from pool/kmplot
This commit is contained in:
parent
583b6ed722
commit
f68e0c637f
15
kmplot.spec
15
kmplot.spec
@ -57,23 +57,18 @@ Mathematical function plotter by KDE.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} < 1500
|
|
||||||
# the default gcc 4.8 is too old
|
|
||||||
export CC=gcc-7
|
|
||||||
export CXX=g++-7
|
|
||||||
%endif
|
|
||||||
%ifarch ppc ppc64
|
%ifarch ppc ppc64
|
||||||
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||||
%endif
|
%endif
|
||||||
%cmake_kf5 -d build
|
%cmake_kf5 -d build
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
%find_lang %{name} --with-man --all-name
|
%find_lang %{name} --with-man --all-name
|
||||||
%{kf5_find_htmldocs}
|
%{kf5_find_htmldocs}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING*
|
%license COPYING*
|
||||||
|
Loading…
Reference in New Issue
Block a user