SHA256
1
0
forked from pool/rocs
2017-08-11 23:02:02 +00:00
committed by Git OBS Bridge
parent 0e3adb9c6f
commit c5a1050847
2 changed files with 23 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package rocs
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,13 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_without lang
Name: rocs
Version: 17.07.90
Release: 0
%define kf5_version 5.26.0
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
Summary: Graph Theory IDE
License: GPL-3.0+
@@ -65,7 +66,9 @@ BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5XmlPatterns)
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
%if %{with lang}
Recommends: %{name}-lang
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -130,19 +133,19 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%defattr(-,root,root)
%doc ChangeLog README COPYING*
%doc %lang(en) %{_kf5_htmldir}/en/rocs/
%dir %{_kf5_appstreamdir}
%{_kf5_applicationsdir}/org.kde.rocs.desktop
%{_kf5_sharedir}/rocs/
%{_kf5_appstreamdir}/org.kde.rocs.appdata.xml
%{_kf5_bindir}/rocs
%{_kf5_configkcfgdir}/
%dir %{_kf5_appstreamdir}
%{_kf5_appstreamdir}/org.kde.rocs.appdata.xml
%{_kf5_sharedir}/kxmlgui5/
%{_kf5_plugindir}/
%{_kf5_iconsdir}/hicolor/*/*/*
%{_kf5_kxmlguidir}/
%{_kf5_plugindir}/
%{_kf5_sharedir}/rocs/
%files devel
%defattr(-,root,root)
%doc TESTING
%doc COPYING* TESTING
%{_kf5_prefix}/include/rocs/
%{_kf5_libdir}/librocsgraphtheory.so