diff --git a/klettres.spec b/klettres.spec index feafe93..2ee77f1 100644 --- a/klettres.spec +++ b/klettres.spec @@ -1,5 +1,5 @@ Name: klettres -Version: 4.14.3 +Version: 16.04.0 Release: 1mamba Summary: Learn The Alphabet Group: Graphical Desktop/Applications/Educational @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org/applications/education/klettres/ -Source: http://download.kde.org/stable/%{version}/src/klettres-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/klettres-%{version}.tar.xz License: GPL BuildRequires: cmake ## AUTOBUILDREQ-BEGIN @@ -19,7 +19,7 @@ BuildRequires: libphonon-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END -Requires: kde-workspace +#Requires: kde-workspace Provides: klettres4 = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: klettres4 BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -39,7 +39,7 @@ Features: %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -50,36 +50,76 @@ Features: [ "%{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} -%config %{_kde4_configdir}/%{name}.knsrc -%{_kde4_datadir}/%{name} -%{_kde4_icondir}/hicolor/*/apps/%{name}.png -%{_kde4_icondir}/hicolor/scalable/apps/%{name}.svgz -%{_kde4_kcfgdir}/%{name}.kcfg -%{_kde4_sharedir}/appdata/klettres.appdata.xml -%{_kde4_xdgappsdir}/%{name}.desktop -%doc %lang(en) %{_kde4_htmldir}/en/%{name} -%doc AUTHORS COPYING COPYING.DOC COPYING.LIB ChangeLog README_packagers TODO +%{_sysconfdir}/xdg/klettres.knsrc +%{_kde5_bindir}/%{name} +%{_kde5_datadir}/%{name} +%{_kde5_icondir}/hicolor/*/apps/%{name}.png +%{_kde5_kcfgdir}/%{name}.kcfg +%{_kde5_sharedir}/appdata/org.kde.klettres.appdata.xml +%{_datadir}/applications/org.kde.klettres.desktop +%{_datadir}/kxmlgui5/klettres/klettresui.rc +%doc %lang(en) %{_kde5_htmldir}/en/%{name} +%doc AUTHORS COPYING COPYING.DOC COPYING.LIB +#ChangeLog README_packagers TODO %changelog +* Sat Apr 23 2016 Automatic Build System 16.04.0-1mamba +- automatic version update by autodist + +* Wed Mar 16 2016 Automatic Build System 15.12.3-1mamba +- automatic version update by autodist + +* Tue Feb 16 2016 Automatic Build System 15.12.2-1mamba +- automatic version update by autodist + +* Sat Jan 16 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 + +* 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