automatic version update by autodist [release 16.12.1-1mamba;Fri Jan 13 2017]

This commit is contained in:
Automatic Build System 2024-01-06 08:07:41 +01:00
parent 18080465af
commit 80d0fe3048

View File

@ -1,5 +1,5 @@
Name: okular
Version: 4.14.3
Version: 16.12.1
Release: 1mamba
Summary: A document viewer that supports different kinds of documents
Group: Graphical Desktop/Applications/Graphics
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/%{version}/src/okular-%{version}.tar.xz
Source: http://download.kde.org/stable/applications/%{version}/src/okular-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -22,7 +22,7 @@ BuildRequires: libphonon-devel
BuildRequires: libpoppler-qt4-devel
BuildRequires: libqca-devel
BuildRequires: libqimageblitz-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libsoprano-devel
BuildRequires: libspectre-devel
BuildRequires: libstdc++6-devel
@ -57,7 +57,7 @@ Requires: libokular = %{?epoch:%epoch:}%{version}-%{release}
%setup -q
%build
%cmake_kde4 -d build
%cmake_kde5 -d build
%make
%install
@ -68,19 +68,19 @@ Requires: libokular = %{?epoch:%epoch:}%{version}-%{release}
[ "%{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
@ -89,50 +89,61 @@ exit 0
%files
%defattr(-,root,root)
%{_kde4_bindir}/active-documentviewer
%{_kde4_bindir}/okular
%{_kde4_datadir}/okular/
%dir %{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer
%dir %{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer/contents
%dir %{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer/contents/ui
%{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer/contents/ui/*
%{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer/metadata.desktop
%{_kde4_kcfgdir}/gssettings.kcfg
%{_kde4_kcfgdir}/okular.kcfg
%{_kde4_kcfgdir}/pdfsettings.kcfg
%{_kde4_libdir}/kde4/kio_msits.so
%{_kde4_libdir}/kde4/okularGenerator_*.so
%{_kde4_libdir}/kde4/okularpart.so
%dir %{_kde4_libdir}/kde4/imports/org/kde/okular
%{_kde4_libdir}/kde4/imports/org/kde/okular/libokularplugin.so
%{_kde4_libdir}/kde4/imports/org/kde/okular/qmldir
%{_kde4_servicesdir}/libokularGenerator_*.desktop
%{_kde4_servicesdir}/msits.protocol
%{_kde4_servicesdir}/okular*.desktop
%{_kde4_servicetypesdir}/okularGenerator.desktop
%{_kde4_xdgappsdir}/okularApplication_*.desktop
%{_kde4_xdgappsdir}/okular.desktop
%{_kde4_xdgappsdir}/active-documentviewer*.desktop
%{_kde4_kconfupdatedir}/okular.upd
%{_kde4_kcfgdir}/okular_core.kcfg
%{_kde4_icondir}/hicolor/*/apps/okular.png
%{_kde4_icondir}/hicolor/scalable/apps/okular.svgz
%doc %lang(en) %{_kde4_htmldir}/en/okular/
%{_mandir}/man1/okular.1.gz
%{_sysconfdir}/xdg/okular.categories
%{_kde5_bindir}/okular
%{_kde5_datadir}/okular/
%{_kde5_kcfgdir}/gssettings.kcfg
%{_kde5_kcfgdir}/okular.kcfg
%{_kde5_kcfgdir}/pdfsettings.kcfg
%{_datadir}/applications/okularApplication_*.desktop
%{_datadir}/applications/org.kde.mobile.okular*.desktop
%{_datadir}/applications/org.kde.okular.desktop
%{_datadir}/metainfo/org.kde.okular.appdata.xml
%{_datadir}/metainfo/org.kde.okular-*.xml
%{_datadir}/config.kcfg/okular_core.kcfg
%lang(en) %{_datadir}/doc/HTML/en/okular
%{_datadir}/icons/hicolor/*/apps/okular.png
%{_datadir}/kconf_update/okular.upd
%dir %{_datadir}/kpackage/genericqml/org.kde.mobile.okular
%{_datadir}/kpackage/genericqml/org.kde.mobile.okular/*
%{_datadir}/kservices5/ms-its.protocol
%{_datadir}/kservices5/okular*.desktop
%{_kde5_servicetypesdir}/okularGenerator.desktop
%dir %{_datadir}/kxmlgui5/okular
%{_datadir}/kxmlgui5/okular/*.rc
%{_mandir}/man1/okular.1*
%files -n libokular
%defattr(-,root,root)
%{_kde4_libdir}/libokularcore.so.*
%doc AUTHORS COPYING COPYING.DOC COPYING.LIB
%{_libdir}/libOkular5Core.so.*
%{_libdir}/qt5/plugins/kio_msits.so
%dir %{_libdir}/qt5/plugins/okular
%dir %{_libdir}/qt5/plugins/okular/generators
%{_libdir}/qt5/plugins/okular/generators/okularGenerator_*.so
%{_libdir}/qt5/plugins/okularpart.so
%dir %{_libdir}/qt5/qml/org/kde/okular
%{_libdir}/qt5/qml/org/kde/okular/*
#%doc AUTHORS COPYING COPYING.DOC COPYING.LIB
%files -n libokular-devel
%defattr(-,root,root)
%{_kde4_includedir}/okular/
%{_kde4_libdir}/cmake/Okular/Okular*.cmake
%{_kde4_libdir}/libokularcore.so
%doc README.internals.png TODO
%dir %{_includedir}/okular/core
%{_includedir}/okular/core/*.h
%dir %{_includedir}/okular/interfaces
%{_includedir}/okular/interfaces/*.h
%dir %{_libdir}/cmake/Okular5
%{_libdir}/cmake/Okular5/Okular5*.cmake
%{_libdir}/libOkular5Core.so
#%doc README.internals.png TODO
%changelog
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 16.12.1-1mamba
- automatic version update by autodist
* Fri Dec 23 2016 Automatic Build System <autodist@mambasoft.it> 16.12.0-1mamba
- automatic version update by autodist
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
- automatic version update by autodist