Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/rocs?expand=0&rev=59
This commit is contained in:
parent
90be58b728
commit
a9ec3c2f18
14
rocs.spec
14
rocs.spec
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_without lang
|
||||
|
||||
Name: rocs
|
||||
Version: 17.03.90
|
||||
@ -95,6 +96,10 @@ Requires: librocsgraphtheory0 = %{version}
|
||||
This package provides development files and headers needed
|
||||
to build software using Rocs.
|
||||
|
||||
%if %{with lang}
|
||||
%lang_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if 0%{?suse_version} < 1330
|
||||
@ -110,6 +115,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%find_lang %{name} --with-man --all-name
|
||||
%kf5_find_htmldocs
|
||||
%endif
|
||||
%suse_update_desktop_file org.kde.%{name} Math
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
@ -141,4 +150,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%doc COPYING*
|
||||
%{_kf5_libdir}/librocsgraphtheory.so.*
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%doc COPYING*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user