automatic version update by autodist [release 16.12.1-1mamba;Fri Jan 13 2017]
This commit is contained in:
parent
18080465af
commit
80d0fe3048
99
okular.spec
99
okular.spec
@ -1,5 +1,5 @@
|
|||||||
Name: okular
|
Name: okular
|
||||||
Version: 4.14.3
|
Version: 16.12.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A document viewer that supports different kinds of documents
|
Summary: A document viewer that supports different kinds of documents
|
||||||
Group: Graphical Desktop/Applications/Graphics
|
Group: Graphical Desktop/Applications/Graphics
|
||||||
@ -7,7 +7,7 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
URL: http://www.kde.org
|
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
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -22,7 +22,7 @@ BuildRequires: libphonon-devel
|
|||||||
BuildRequires: libpoppler-qt4-devel
|
BuildRequires: libpoppler-qt4-devel
|
||||||
BuildRequires: libqca-devel
|
BuildRequires: libqca-devel
|
||||||
BuildRequires: libqimageblitz-devel
|
BuildRequires: libqimageblitz-devel
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libqt5-devel
|
||||||
BuildRequires: libsoprano-devel
|
BuildRequires: libsoprano-devel
|
||||||
BuildRequires: libspectre-devel
|
BuildRequires: libspectre-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
@ -57,7 +57,7 @@ Requires: libokular = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde4 -d build
|
%cmake_kde5 -d build
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -68,19 +68,19 @@ Requires: libokular = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
update-desktop-database -q &>/dev/null
|
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
|
exit 0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
update-desktop-database -q &>/dev/null
|
update-desktop-database -q &>/dev/null
|
||||||
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
@ -89,50 +89,61 @@ exit 0
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_kde4_bindir}/active-documentviewer
|
%{_sysconfdir}/xdg/okular.categories
|
||||||
%{_kde4_bindir}/okular
|
%{_kde5_bindir}/okular
|
||||||
%{_kde4_datadir}/okular/
|
%{_kde5_datadir}/okular/
|
||||||
%dir %{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer
|
%{_kde5_kcfgdir}/gssettings.kcfg
|
||||||
%dir %{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer/contents
|
%{_kde5_kcfgdir}/okular.kcfg
|
||||||
%dir %{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer/contents/ui
|
%{_kde5_kcfgdir}/pdfsettings.kcfg
|
||||||
%{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer/contents/ui/*
|
%{_datadir}/applications/okularApplication_*.desktop
|
||||||
%{_kde4_datadir}/plasma/packages/org.kde.active.documentviewer/metadata.desktop
|
%{_datadir}/applications/org.kde.mobile.okular*.desktop
|
||||||
%{_kde4_kcfgdir}/gssettings.kcfg
|
%{_datadir}/applications/org.kde.okular.desktop
|
||||||
%{_kde4_kcfgdir}/okular.kcfg
|
%{_datadir}/metainfo/org.kde.okular.appdata.xml
|
||||||
%{_kde4_kcfgdir}/pdfsettings.kcfg
|
%{_datadir}/metainfo/org.kde.okular-*.xml
|
||||||
%{_kde4_libdir}/kde4/kio_msits.so
|
%{_datadir}/config.kcfg/okular_core.kcfg
|
||||||
%{_kde4_libdir}/kde4/okularGenerator_*.so
|
%lang(en) %{_datadir}/doc/HTML/en/okular
|
||||||
%{_kde4_libdir}/kde4/okularpart.so
|
%{_datadir}/icons/hicolor/*/apps/okular.png
|
||||||
%dir %{_kde4_libdir}/kde4/imports/org/kde/okular
|
%{_datadir}/kconf_update/okular.upd
|
||||||
%{_kde4_libdir}/kde4/imports/org/kde/okular/libokularplugin.so
|
%dir %{_datadir}/kpackage/genericqml/org.kde.mobile.okular
|
||||||
%{_kde4_libdir}/kde4/imports/org/kde/okular/qmldir
|
%{_datadir}/kpackage/genericqml/org.kde.mobile.okular/*
|
||||||
%{_kde4_servicesdir}/libokularGenerator_*.desktop
|
%{_datadir}/kservices5/ms-its.protocol
|
||||||
%{_kde4_servicesdir}/msits.protocol
|
%{_datadir}/kservices5/okular*.desktop
|
||||||
%{_kde4_servicesdir}/okular*.desktop
|
%{_kde5_servicetypesdir}/okularGenerator.desktop
|
||||||
%{_kde4_servicetypesdir}/okularGenerator.desktop
|
%dir %{_datadir}/kxmlgui5/okular
|
||||||
%{_kde4_xdgappsdir}/okularApplication_*.desktop
|
%{_datadir}/kxmlgui5/okular/*.rc
|
||||||
%{_kde4_xdgappsdir}/okular.desktop
|
%{_mandir}/man1/okular.1*
|
||||||
%{_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
|
|
||||||
|
|
||||||
%files -n libokular
|
%files -n libokular
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_kde4_libdir}/libokularcore.so.*
|
%{_libdir}/libOkular5Core.so.*
|
||||||
%doc AUTHORS COPYING COPYING.DOC COPYING.LIB
|
%{_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
|
%files -n libokular-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_kde4_includedir}/okular/
|
|
||||||
%{_kde4_libdir}/cmake/Okular/Okular*.cmake
|
%dir %{_includedir}/okular/core
|
||||||
%{_kde4_libdir}/libokularcore.so
|
%{_includedir}/okular/core/*.h
|
||||||
%doc README.internals.png TODO
|
%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
|
%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
|
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user