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
|
||||
|
||||
%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
|
||||
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%endif
|
||||
%cmake_kf5 -d build
|
||||
%cmake_build
|
||||
%cmake_kf5 -d build
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%find_lang %{name} --with-man --all-name
|
||||
%{kf5_find_htmldocs}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license COPYING*
|
||||
|
Loading…
Reference in New Issue
Block a user