diff --git a/gwenview.spec b/gwenview.spec index f7af9e2..86a626d 100644 --- a/gwenview.spec +++ b/gwenview.spec @@ -1,5 +1,5 @@ Name: gwenview -Version: 4.14.3 +Version: 15.12.3 Release: 1mamba Summary: A fast and easy to use image viewer application Group: Graphical Desktop/Applications/Graphics @@ -7,37 +7,54 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://gwenview.sourceforge.net/ -Source: http://download.kde.org/stable/%{version}/src/gwenview-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/gwenview-%{version}.tar.xz License: GPL -BuildRequires: cmake -BuildRequires: libqt4-devel -BuildRequires: kdelibs4-devel ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: kdebase4-devel -BuildRequires: kdelibs-devel -BuildRequires: kde-runtime-devel +BuildRequires: libX11-devel +BuildRequires: libbaloo5-devel BuildRequires: libexiv2-devel BuildRequires: libgcc BuildRequires: libjpeg-devel -BuildRequires: libkipi-devel -BuildRequires: libphonon-devel -BuildRequires: libqt4-devel -BuildRequires: libsoprano-devel +BuildRequires: libkactivities5-devel +BuildRequires: libkauth-devel +BuildRequires: libkbookmarks-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkcompletion-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkcrash-devel +BuildRequires: libkdelibs4support-devel +BuildRequires: libkfilemetadata-devel +BuildRequires: libkguiaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkiconthemes-devel +BuildRequires: libkio-devel +BuildRequires: libkitemmodels-devel +BuildRequires: libkitemviews-devel +BuildRequires: libkjobwidgets-devel +BuildRequires: libknotifications-devel +BuildRequires: libkparts-devel +BuildRequires: libkservice-devel +BuildRequires: libktextwidgets-devel +BuildRequires: libkunitconversion-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: libkxmlgui-devel +BuildRequires: liblcms2-devel +BuildRequires: libphonon-qt5-devel +BuildRequires: libpng-devel +BuildRequires: libqt5-devel +BuildRequires: libsolid-devel +BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel +BuildRequires: libz-devel ## AUTOBUILDREQ-END -BuildRequires: baloo-devel +BuildRequires: cmake BuildRequires: kfilemetadata-devel -Requires: kdelibs4 -Requires: kdebase-runtime -Provides: gwenview4 -Obsoletes: gwenview4 -Provides: libgwenview4 -Obsoletes: libgwenview4 -Provides: libgwenview -Obsoletes: libgwenview -Obsoletes: libgwenview-devel -Obsoletes: libgwenview4-devel +BuildRequires: kinit-devel +BuildRequires: libkdeclarative-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -47,67 +64,112 @@ Gwenview is a fast and easy to use image viewer for KDE. %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -rm -f %{buildroot}%{_kde4_libdir}/libgwenviewlib.so +#rm -f %{buildroot}%{_kde4_libdir}/libgwenviewlib.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig -touch --no-create %{_kde4_icondir}/hicolor &>/dev/null +touch --no-create %{_kde5_icondir}/hicolor &>/dev/null exit 0 %posttrans /sbin/ldconfig 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 /sbin/ldconfig 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}/gwenview -%{_kde4_bindir}/gwenview_importer -%{_kde4_datadir}/gvpart/gvpart.rc -%dir %{_kde4_datadir}/gwenview -%{_kde4_datadir}/gwenview/cursors/zoom.png -#%{_kde4_datadir}/gwenview/fullscreenthemes/blackglass/checked.png -#%{_kde4_datadir}/gwenview/fullscreenthemes/blackglass/scroll-left.png -#%{_kde4_datadir}/gwenview/fullscreenthemes/blackglass/scroll-right.png -#%{_kde4_datadir}/gwenview/fullscreenthemes/blackglass/style.css -%{_kde4_datadir}/gwenview/gwenviewui.rc -%{_kde4_datadir}/gwenview/color-schemes/fullscreen.colors -%{_kde4_datadir}/gwenview/images/background.png -%{_kde4_datadir}/solid/actions/gwenview_importer_camera.desktop -%{_kde4_datadir}/solid/actions/gwenview_importer.desktop -%doc %lang(en) %{_kde4_htmldir}/en/%{name} -%{_kde4_icondir}/hicolor/*/actions/document-share.png -%{_kde4_icondir}/hicolor/*/apps/gwenview.png -%{_kde4_icondir}/hicolor/scalable/actions/document-share.svgz -%{_kde4_icondir}/hicolor/scalable/apps/gwenview.svgz -%{_kde4_libdir}/kde4/gvpart.so -%{_kde4_libdir}/libgwenviewlib.so* -%{_kde4_servicesdir}/gvpart.desktop -%{_kde4_servicesdir}/ServiceMenus/slideshow.desktop -%{_kde4_xdgappsdir}/gwenview.desktop +%{_bindir}/gwenview +%{_libdir}/libgwenviewlib.so.* +%{_libdir}/qt5/plugins/gvpart.so +%{_datadir}/appdata/org.kde.gwenview.appdata.xml +%{_datadir}/applications/org.kde.gwenview.desktop +%dir %{_docdir}/HTML/en/gwenview +%{_docdir}/HTML/en/gwenview/* +#%{_datadir}/gvpart/gvpart.rc +%dir %{_datadir}/gwenview +%dir %{_datadir}/gwenview/color-schemes +%{_datadir}/gwenview/color-schemes/fullscreen.colors +%dir %{_datadir}/gwenview/cursors +%{_datadir}/gwenview/cursors/zoom.png +%dir %{_datadir}/gwenview/images +%{_datadir}/gwenview/images/background.png +%{_datadir}/icons/hicolor/*/actions/document-share.png +%{_datadir}/icons/hicolor/*/apps/gwenview.png +%{_datadir}/kservices5/ServiceMenus/slideshow.desktop +%{_datadir}/kservices5/gvpart.desktop +%{_datadir}/kxmlgui5/org.kde.gwenview/org.kde.gwenviewui.rc +%{_datadir}/kxmlgui5/gvpart/gvpart.rc %doc COPYING COPYING.DOC NEWS %changelog +* 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 Silvan Calarco 15.12.1-2mamba +- rebuilt with cmake_kde5 + +* Tue Jan 12 2016 Automatic Build System 15.12.1-1mamba +- automatic version update by autodist + +* Mon Dec 21 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 28 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 + +* Mon Apr 20 2015 Automatic Build System 15.04.0-1mamba +- automatic version update by autodist + +* Tue Mar 10 2015 Automatic Build System 14.12.3-1mamba +- automatic version update by autodist + +* Mon Feb 23 2015 Automatic Build System 14.12.2-1mamba +- automatic version update by autodist + +* Wed Jan 28 2015 Silvan Calarco 14.12.1-1mamba +- update to 14.12.1 + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist