diff --git a/kturtle.spec b/kturtle.spec index 582aab2..ea0c15d 100644 --- a/kturtle.spec +++ b/kturtle.spec @@ -1,5 +1,5 @@ Name: kturtle -Version: 4.14.3 +Version: 15.12.0 Release: 1mamba Summary: KTurtle - Educational Programming Environment Group: Graphical Desktop/Applications/Educational @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org/applications/education/kturtle -Source: http://download.kde.org/stable/%{version}/src/kturtle-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/kturtle-%{version}.tar.xz License: GPL BuildRequires: cmake ## AUTOBUILDREQ-BEGIN @@ -32,7 +32,7 @@ The programming language used is TurtleScript which allows its commands to be tr %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -43,36 +43,62 @@ The programming language used is TurtleScript which allows its commands to be tr [ "%{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 %files %defattr(-,root,root) -%{_kde4_bindir}/%{name} -%{_kde4_datadir}/%{name} -%{_kde4_icondir}/hicolor/*/apps/%{name}.png -%{_kde4_icondir}/hicolor/scalable/apps/%{name}.svgz -%{_kde4_sharedir}/appdata/kturtle.appdata.xml -%{_kde4_xdgappsdir}/%{name}.desktop -%config %{_kde4_configdir}/%{name}.knsrc -%doc %lang(en) %{_kde4_htmldir}/en/%{name} +%{_sysconfdir}/xdg/kturtle.knsrc +%{_kde5_bindir}/%{name} +%{_kde5_icondir}/hicolor/*/apps/%{name}.png +%{_datadir}/kxmlgui5/kturtle/kturtleui.rc +%{_kde5_sharedir}/appdata/org.kde.kturtle.appdata.xml +%{_kde5_xdgappsdir}/org.kde.%{name}.desktop +%doc %lang(en) %{_kde5_htmldir}/en/%{name} %doc AUTHORS COPYING COPYING.DOC #README TODO %changelog +* Wed Dec 23 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + +* Tue Nov 10 2015 Automatic Build System 15.08.3-1mamba +- automatic version update by autodist + +* Tue Oct 13 2015 Automatic Build System 15.08.2-1mamba +- automatic version update by autodist + +* Sun Sep 20 2015 Automatic Build System 15.08.1-1mamba +- automatic version update by autodist + +* Sun Aug 23 2015 Automatic Build System 15.08.0-1mamba +- automatic version update by autodist + +* Thu Jul 02 2015 Automatic Build System 15.04.3-1mamba +- automatic version update by autodist + +* Wed Jun 03 2015 Automatic Build System 15.04.2-1mamba +- automatic version update by autodist + +* Tue May 12 2015 Automatic Build System 15.04.1-1mamba +- automatic version update by autodist + +* Sun Apr 26 2015 Automatic Build System 15.04.0-1mamba +- automatic version update by autodist + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist