diff --git a/kgeography.spec b/kgeography.spec index d7e989a..aea7fff 100644 --- a/kgeography.spec +++ b/kgeography.spec @@ -1,5 +1,5 @@ Name: kgeography -Version: 4.14.3 +Version: 16.04.0 Release: 1mamba Summary: Geography Trainer Group: Graphical Desktop/Applications/Educational @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/kgeography-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/kgeography-%{version}.tar.xz License: GPL BuildRequires: cmake BuildRequires: libqt4-devel @@ -20,7 +20,7 @@ BuildRequires: libgcc BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END -Requires: kde-workspace +#Requires: kde-workspace Provides: kgeography4 = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: kgeography4 BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -40,7 +40,7 @@ Features: %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -51,34 +51,74 @@ 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} -%{_kde4_datadir}/%{name} -%{_kde4_kcfgdir}/*.kcfg -%{_kde4_icondir}/hicolor/*/apps/%{name}.png -%{_kde4_icondir}/hicolor/scalable/apps/%{name}.svgz -%{_kde4_xdgappsdir}/%{name}.desktop -%doc %lang(en) %{_kde4_htmldir}/en/%{name} +%{_kde5_bindir}/%{name} +%{_kde5_datadir}/%{name} +%{_kde5_kcfgdir}/*.kcfg +%{_kde5_icondir}/hicolor/*/apps/%{name}.png +%{_kde5_icondir}/hicolor/scalable/apps/%{name}.svgz +%{_kde5_kxmlguidir}/kgeography/kgeographyui.rc +%{_kde5_xdgappsdir}/org.kde.%{name}.desktop +%doc %lang(en) %{_kde5_htmldir}/en/%{name} %doc AUTHORS COPYING COPYING.DOC README 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 + +* Tue Jan 12 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 + +* 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 + +* Thu Apr 30 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