forked from pool/kmplot
Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kmplot?expand=0&rev=47
This commit is contained in:
parent
88d78b5d5b
commit
f26407c39b
14
kmplot.spec
14
kmplot.spec
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%bcond_without lang
|
||||||
|
|
||||||
Name: kmplot
|
Name: kmplot
|
||||||
Version: 17.03.90
|
Version: 17.03.90
|
||||||
@ -47,6 +48,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%description
|
%description
|
||||||
Mathematical function plotter for KDE.
|
Mathematical function plotter for KDE.
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%lang_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -59,6 +64,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
|
%if %{with lang}
|
||||||
|
%find_lang %{name} --with-man --all-name
|
||||||
|
%kf5_find_htmldocs
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -77,4 +86,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
%{_kf5_htmldir}/en/kmplot
|
%{_kf5_htmldir}/en/kmplot
|
||||||
%{_mandir}/*/kmplot.1%{ext_man}
|
%{_mandir}/*/kmplot.1%{ext_man}
|
||||||
|
|
||||||
|
%if %{with lang}
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%doc COPYING*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user