automatic version update by autodist [release 24.02.1-1mamba;Fri Mar 22 2024]
This commit is contained in:
parent
b9c2c89b06
commit
b9b04edfae
140
okular.spec
140
okular.spec
@ -1,68 +1,65 @@
|
|||||||
Name: okular
|
Name: okular
|
||||||
Version: 23.08.5
|
Version: 24.02.1
|
||||||
Release: 2mamba
|
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
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://kde.org/
|
URL: https://kde.org/
|
||||||
Source: http://download.kde.org/stable/release-service/%{version}/src/okular-%{version}.tar.xz
|
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/okular-%{version}.tar.xz
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: kdegraphics-mobipocket-devel
|
BuildRequires: kdegraphics-mobipocket-qt6-devel
|
||||||
BuildRequires: libQt5Svg-devel
|
|
||||||
BuildRequires: libQt5TextToSpeech-devel
|
|
||||||
BuildRequires: libQt5X11Extras-devel
|
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libchm-devel
|
|
||||||
BuildRequires: libdjvulibre-devel
|
BuildRequires: libdjvulibre-devel
|
||||||
BuildRequires: libebook-devel
|
BuildRequires: libebook-devel
|
||||||
BuildRequires: libfreetype-devel
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: libkactivities-devel
|
|
||||||
BuildRequires: libkarchive-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: libkexiv2-devel
|
BuildRequires: libkexiv2-devel
|
||||||
BuildRequires: libkhtml-devel
|
BuildRequires: libkf6-karchive-devel
|
||||||
BuildRequires: libki18n-devel
|
BuildRequires: libkf6-kbookmarks-devel
|
||||||
BuildRequires: libkiconthemes-devel
|
BuildRequires: libkf6-kcolorscheme-devel
|
||||||
BuildRequires: libkio-devel
|
BuildRequires: libkf6-kcompletion-devel
|
||||||
BuildRequires: libkitemviews-devel
|
BuildRequires: libkf6-kconfig-devel
|
||||||
BuildRequires: libkjobwidgets-devel
|
BuildRequires: libkf6-kconfigwidgets-devel
|
||||||
BuildRequires: libkjs-devel
|
BuildRequires: libkf6-kcoreaddons-devel
|
||||||
BuildRequires: libkparts-devel
|
BuildRequires: libkf6-kcrash-devel
|
||||||
BuildRequires: libkpty-devel
|
BuildRequires: libkf6-ki18n-devel
|
||||||
BuildRequires: libkservice-devel
|
BuildRequires: libkf6-kiconthemes-devel
|
||||||
BuildRequires: libktextwidgets-devel
|
BuildRequires: libkf6-kio-devel
|
||||||
BuildRequires: libkwallet-devel
|
BuildRequires: libkf6-kitemviews-devel
|
||||||
BuildRequires: libkwidgetsaddons-devel
|
BuildRequires: libkf6-kjobwidgets-devel
|
||||||
BuildRequires: libkwindowsystem-devel
|
BuildRequires: libkf6-kparts-devel
|
||||||
BuildRequires: libkxmlgui-devel
|
BuildRequires: libkf6-kpty-devel
|
||||||
|
BuildRequires: libkf6-kservice-devel
|
||||||
|
BuildRequires: libkf6-ktextwidgets-devel
|
||||||
|
BuildRequires: libkf6-kwallet-devel
|
||||||
|
BuildRequires: libkf6-kwidgetsaddons-devel
|
||||||
|
BuildRequires: libkf6-kwindowsystem-devel
|
||||||
|
BuildRequires: libkf6-kxmlgui-devel
|
||||||
|
BuildRequires: libkf6-purpose-devel
|
||||||
|
BuildRequires: libkf6-solid-devel
|
||||||
|
BuildRequires: libkf6-sonnet-devel
|
||||||
|
BuildRequires: libkf6-threadweaver-devel
|
||||||
BuildRequires: libmarkdown-devel
|
BuildRequires: libmarkdown-devel
|
||||||
BuildRequires: libphonon-devel
|
BuildRequires: libphonon-qt6-devel
|
||||||
|
BuildRequires: libplasma-activities-devel
|
||||||
BuildRequires: libpoppler-devel
|
BuildRequires: libpoppler-devel
|
||||||
BuildRequires: libpoppler-qt5-devel
|
BuildRequires: libpoppler-qt6-devel
|
||||||
BuildRequires: libpurpose-devel
|
|
||||||
BuildRequires: libsolid-devel
|
|
||||||
BuildRequires: libsonnet-devel
|
|
||||||
BuildRequires: libspectre-devel
|
BuildRequires: libspectre-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libthreadweaver-devel
|
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: libxkbcommon-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRequires: libzip-devel
|
BuildRequires: qt6-qtbase-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt6-qtdeclarative-devel
|
||||||
BuildRequires: qt5-qtdeclarative-devel
|
BuildRequires: qt6-qtmultimedia-devel
|
||||||
|
BuildRequires: qt6-qtspeech-devel
|
||||||
|
BuildRequires: qt6-qtsvg-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libpoppler-devel >= 24.02.0-1mamba
|
BuildRequires: libpoppler-devel >= 24.02.0-1mamba
|
||||||
BuildRequires: libmarkdown-devel >= 3.0.0d
|
BuildRequires: libmarkdown-devel >= 3.0.0d
|
||||||
@ -94,46 +91,46 @@ Requires: libokular = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde5 -d build
|
%cmake_kf6
|
||||||
%make
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%cmake_install
|
||||||
|
|
||||||
%find_lang %{name}5_qt --with-qt --with-html --with-man --all-name || touch %{name}5_qt.lang
|
%find_lang %{name} --with-qt --with-html --with-man --all-name || touch %{name}.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
touch --no-create %{_kf6_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 %{_kde5_icondir}/hicolor &>/dev/null
|
gtk-update-icon-cache %{_kf6_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 %{_kde5_icondir}/hicolor &>/dev/null
|
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
|
||||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%post -n libokular -p /sbin/ldconfig
|
%post -n libokular -p /sbin/ldconfig
|
||||||
%postun -n libokular -p /sbin/ldconfig
|
%postun -n libokular -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}5_qt.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_kde5_bindir}/okular
|
%{_kf6_bindir}/okular
|
||||||
#%{_kde5_bindir}/okularkirigami
|
#%{_kf6_bindir}/okularkirigami
|
||||||
%{_kde5_datadir}/okular/
|
%{_kf6_datadir}/okular/
|
||||||
%{_kde5_kcfgdir}/gssettings.kcfg
|
%{_kf6_kcfgdir}/gssettings.kcfg
|
||||||
%{_kde5_kcfgdir}/okular.kcfg
|
%{_kf6_kcfgdir}/okular.kcfg
|
||||||
%{_kde5_kcfgdir}/pdfsettings.kcfg
|
%{_kf6_kcfgdir}/pdfsettings.kcfg
|
||||||
%{_datadir}/applications/okularApplication_*.desktop
|
%{_datadir}/applications/okularApplication_*.desktop
|
||||||
%{_datadir}/applications/org.kde.mobile.okular*.desktop
|
%{_datadir}/applications/org.kde.mobile.okular*.desktop
|
||||||
%{_datadir}/applications/org.kde.okular.desktop
|
%{_datadir}/applications/org.kde.okular.desktop
|
||||||
@ -142,22 +139,15 @@ exit 0
|
|||||||
%{_datadir}/config.kcfg/okular_core.kcfg
|
%{_datadir}/config.kcfg/okular_core.kcfg
|
||||||
%{_datadir}/icons/hicolor/*/apps/okular.png
|
%{_datadir}/icons/hicolor/*/apps/okular.png
|
||||||
%{_datadir}/kconf_update/okular.upd
|
%{_datadir}/kconf_update/okular.upd
|
||||||
#%{_datadir}/kservices5/ms-its.protocol
|
%{_datadir}/qlogging-categories6/okular.categories
|
||||||
%{_datadir}/kservices5/okular*.desktop
|
|
||||||
%{_kde5_servicetypesdir}/okularGenerator.desktop
|
|
||||||
%dir %{_datadir}/kxmlgui5/okular
|
|
||||||
%{_datadir}/kxmlgui5/okular/*.rc
|
|
||||||
%{_datadir}/qlogging-categories5/okular.categories
|
|
||||||
%{_mandir}/man1/okular.1*
|
%{_mandir}/man1/okular.1*
|
||||||
|
|
||||||
%files -n libokular
|
%files -n libokular
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libOkular5Core.so.*
|
%{_libdir}/libOkular6Core.so.*
|
||||||
%{_libdir}/qt5/plugins/kf5/kio/kio_msits.so
|
%{_kf6_plugindir}/parts/okularpart.so
|
||||||
%dir %{_libdir}/qt5/plugins/okular
|
%dir %{_qt6_plugindir}/okular_generators
|
||||||
%dir %{_libdir}/qt5/plugins/okular/generators
|
%{_qt6_plugindir}/okular_generators/okularGenerator_*.so
|
||||||
%{_libdir}/qt5/plugins/okular/generators/okularGenerator_*.so
|
|
||||||
%{_libdir}/qt5/plugins/okularpart.so
|
|
||||||
%doc LICENSES
|
%doc LICENSES
|
||||||
|
|
||||||
%files -n libokular-devel
|
%files -n libokular-devel
|
||||||
@ -166,11 +156,17 @@ exit 0
|
|||||||
%{_includedir}/okular/core/*.h
|
%{_includedir}/okular/core/*.h
|
||||||
%dir %{_includedir}/okular/interfaces
|
%dir %{_includedir}/okular/interfaces
|
||||||
%{_includedir}/okular/interfaces/*.h
|
%{_includedir}/okular/interfaces/*.h
|
||||||
%dir %{_libdir}/cmake/Okular5
|
%{_libdir}/libOkular6Core.so
|
||||||
%{_libdir}/cmake/Okular5/Okular5*.cmake
|
%dir %{_libdir}/cmake/Okular6
|
||||||
%{_libdir}/libOkular5Core.so
|
%{_libdir}/cmake/Okular6/Okular6*.cmake
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 22 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Mar 12 2024 Automatic Build System <autodist@openmamba.org> 24.02.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sun Feb 25 2024 Automatic Build System <autodist@mambasoft.it> 23.08.5-2mamba
|
* Sun Feb 25 2024 Automatic Build System <autodist@mambasoft.it> 23.08.5-2mamba
|
||||||
- rebuilt by autoport with build requirements: libpoppler-devel>=24.02.0-1mamba
|
- rebuilt by autoport with build requirements: libpoppler-devel>=24.02.0-1mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user