diff --git a/kstars.spec b/kstars.spec index c52fd90..db15b79 100644 --- a/kstars.spec +++ b/kstars.spec @@ -1,5 +1,5 @@ Name: kstars -Version: 4.14.3 +Version: 15.12.2 Release: 1mamba Summary: Desktop Planetarium Group: Graphical Desktop/Applications/Educational @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org/applications/education/kstars/ -Source: http://download.kde.org/stable/%{version}/src/kstars-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/kstars-%{version}.tar.xz License: GPL BuildRequires: cmake BuildRequires: libqt4-devel @@ -68,7 +68,7 @@ Features %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -79,37 +79,53 @@ 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_libdir}/libhtmesh.a -%{_kde4_sharedir}/appdata/kstars.appdata.xml -%{_kde4_xdgappsdir}/%{name}.desktop -%doc %lang(en) %{_kde4_htmldir}/en/%{name} -%doc AUTHORS COPYING COPYING.DOC ChangeLog README README.api README.customize README.ephemerides README.i18n README.images README.planetmath README.timekeeping TODO +%{_kde5_bindir}/%{name} +%config %{_kde5_configdir}/%{name}.knsrc +%{_kde5_datadir}/%{name} +%{_kde5_datadir}/icons/hicolor/*/actions/*.png +%{_kde5_icondir}/hicolor/*/apps/%{name}.png +%{_kde5_icondir}/hicolor/scalable/apps/%{name}.svgz +%{_kde5_kcfgdir}/%{name}.kcfg +%{_datadir}/knotifications5/kstars.notifyrc +%dir %{_datadir}/kxmlgui5/kstars +%{_datadir}/kxmlgui5/kstars/*.rc +%{_datadir}/sounds/KDE-KStars-*.ogg +%{_kde5_libdir}/libhtmesh.a +%{_kde5_sharedir}/appdata/org.kde.kstars.appdata.xml +%{_kde5_xdgappsdir}/org.kde.%{name}.desktop +%doc %lang(en) %{_kde5_htmldir}/en/%{name} + +%doc AUTHORS COPYING COPYING.DOC +#ChangeLog README README.api README.customize README.ephemerides README.i18n README.images README.planetmath README.timekeeping TODO %changelog +* 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 + +* Wed Dec 23 2015 Automatic Build System 15.12.0-1mamba +- automatic version update by autodist + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist