diff --git a/rocs.spec b/rocs.spec index 8a4de6f..5d94631 100644 --- a/rocs.spec +++ b/rocs.spec @@ -1,5 +1,5 @@ Name: rocs -Version: 4.14.3 +Version: 15.12.3 Release: 1mamba Summary: Graph Theory Tool for Professors and Students Group: Graphical Desktop/Applications/Educational @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org/applications/education/rocs -Source: http://download.kde.org/stable/%{version}/src/rocs-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/rocs-%{version}.tar.xz License: GPL BuildRequires: cmake ## AUTOBUILDREQ-BEGIN @@ -19,7 +19,7 @@ BuildRequires: libqt4-devel BuildRequires: libsoprano-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END -Requires: kde-workspace +#Requires: kde-workspace BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -49,7 +49,7 @@ Requires: librocs = %{?epoch:%epoch:}%{version}-%{release} %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make \ %ifarch arm -j1 @@ -63,19 +63,19 @@ Requires: librocs = %{?epoch:%epoch:}%{version}-%{release} [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -touch --no-create %{_kde4_icondir}/hicolor &>/dev/null +touch --no-create %{_kde5_icondir}/hicolor &>/dev/null exit 0 %posttrans update-desktop-database -q &>/dev/null -gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null +gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null exit 0 %postun if [ $1 -eq 0 ]; then update-desktop-database -q &>/dev/null - touch --no-create %{_kde4_icondir}/hicolor &>/dev/null - gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null + touch --no-create %{_kde5_icondir}/hicolor &>/dev/null + gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null fi exit 0 @@ -84,36 +84,58 @@ exit 0 %files %defattr(-,root,root) -%{_kde4_bindir}/%{name} -%config %{_kde4_configdir}/%{name}.knsrc -%{_kde4_datadir}/%{name} -%dir %{_kde4_datadir}/rocs_rootedtree -%{_kde4_datadir}/rocs_rootedtree/RootedTreeui.rc -%{_kde4_kcfgdir}/%{name}.kcfg -%{_kde4_icondir}/hicolor/scalable/apps/rocs.svgz -%{_kde4_libdir}/kde4/%{name}_*.so -%{_kde4_servicesdir}/%{name}_*.desktop -%{_kde4_servicetypesdir}/Rocs*.desktop -%{_kde4_sharedir}/appdata/rocs.appdata.xml -%{_kde4_xdgappsdir}/%{name}.desktop -%{_kde4_icondir}/hicolor/*/apps/rocs.png -%doc %lang(en) %{_kde4_htmldir}/en/%{name} +%{_kde5_bindir}/%{name} +%{_kde5_datadir}/%{name} +%{_datadir}/applications/org.kde.rocs.desktop +%{_datadir}/icons/hicolor/scalable/actions/*.svgz +%{_datadir}/kxmlgui5/rocs/rocsui.rc +%dir %{_datadir}/rocsgraphtheory +%dir %{_datadir}/rocsgraphtheory/qml +%{_datadir}/rocsgraphtheory/qml/*.qml +%{_kde5_kcfgdir}/%{name}.kcfg +%{_kde5_icondir}/hicolor/scalable/apps/rocs.svgz +%{_kde5_sharedir}/appdata/org.kde.rocs.appdata.xml +%{_kde5_icondir}/hicolor/*/apps/rocs.png +%doc %lang(en) %{_kde5_htmldir}/en/%{name} %files -n lib%{name} %defattr(-,root,root) -%{_kde4_libdir}/librocscore.so.* -%{_kde4_libdir}/librocsvisualeditor.so.* -%doc AUTHORS COPYING COPYING.DOC +%{_libdir}/librocsgraphtheory.so.* +%dir %{_libdir}/qt5/plugins/rocs/editorplugins +%{_libdir}/qt5/plugins/rocs/editorplugins/* +%dir %{_libdir}/qt5/plugins/rocs/fileformats +%{_libdir}/qt5/plugins/rocs/fileformats/*.so +%doc AUTHORS COPYING.DOC %files -n lib%{name}-devel %defattr(-,root,root) -%{_kde4_libdir}/librocscore.so -%{_kde4_libdir}/librocsvisualeditor.so -%dir %{_kde4_includedir}/%{name} -%{_kde4_includedir}/%{name}/* -%doc NEWS README +%dir %{_includedir}/rocs +%{_includedir}/rocs/*.h +%{_libdir}/librocsgraphtheory.so +%doc README %changelog +* Wed Mar 16 2016 Automatic Build System 15.12.3-1mamba +- automatic version update by autodist + +* Wed Feb 17 2016 Automatic Build System 15.12.2-1mamba +- automatic version update by autodist + +* Wed Jan 13 2016 Automatic Build System 15.12.1-1mamba +- automatic version update by autodist + +* Sun Dec 20 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + +* Wed Nov 11 2015 Automatic Build System 15.08.3-1mamba +- automatic version update by autodist + +* Wed Oct 14 2015 Automatic Build System 15.08.2-1mamba +- automatic version update by autodist + +* Sun Oct 11 2015 Automatic Build System 15.08.1-1mamba +- automatic version update by autodist + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist