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
|
||||
Version: 23.08.5
|
||||
Release: 2mamba
|
||||
Version: 24.02.1
|
||||
Release: 1mamba
|
||||
Summary: A document viewer that supports different kinds of documents
|
||||
Group: Graphical Desktop/Applications/Graphics
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kdegraphics-mobipocket-devel
|
||||
BuildRequires: libQt5Svg-devel
|
||||
BuildRequires: libQt5TextToSpeech-devel
|
||||
BuildRequires: libQt5X11Extras-devel
|
||||
BuildRequires: kdegraphics-mobipocket-qt6-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libchm-devel
|
||||
BuildRequires: libdjvulibre-devel
|
||||
BuildRequires: libebook-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglvnd-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: libkhtml-devel
|
||||
BuildRequires: libki18n-devel
|
||||
BuildRequires: libkiconthemes-devel
|
||||
BuildRequires: libkio-devel
|
||||
BuildRequires: libkitemviews-devel
|
||||
BuildRequires: libkjobwidgets-devel
|
||||
BuildRequires: libkjs-devel
|
||||
BuildRequires: libkparts-devel
|
||||
BuildRequires: libkpty-devel
|
||||
BuildRequires: libkservice-devel
|
||||
BuildRequires: libktextwidgets-devel
|
||||
BuildRequires: libkwallet-devel
|
||||
BuildRequires: libkwidgetsaddons-devel
|
||||
BuildRequires: libkwindowsystem-devel
|
||||
BuildRequires: libkxmlgui-devel
|
||||
BuildRequires: libkf6-karchive-devel
|
||||
BuildRequires: libkf6-kbookmarks-devel
|
||||
BuildRequires: libkf6-kcolorscheme-devel
|
||||
BuildRequires: libkf6-kcompletion-devel
|
||||
BuildRequires: libkf6-kconfig-devel
|
||||
BuildRequires: libkf6-kconfigwidgets-devel
|
||||
BuildRequires: libkf6-kcoreaddons-devel
|
||||
BuildRequires: libkf6-kcrash-devel
|
||||
BuildRequires: libkf6-ki18n-devel
|
||||
BuildRequires: libkf6-kiconthemes-devel
|
||||
BuildRequires: libkf6-kio-devel
|
||||
BuildRequires: libkf6-kitemviews-devel
|
||||
BuildRequires: libkf6-kjobwidgets-devel
|
||||
BuildRequires: libkf6-kparts-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: libphonon-devel
|
||||
BuildRequires: libphonon-qt6-devel
|
||||
BuildRequires: libplasma-activities-devel
|
||||
BuildRequires: libpoppler-devel
|
||||
BuildRequires: libpoppler-qt5-devel
|
||||
BuildRequires: libpurpose-devel
|
||||
BuildRequires: libsolid-devel
|
||||
BuildRequires: libsonnet-devel
|
||||
BuildRequires: libpoppler-qt6-devel
|
||||
BuildRequires: libspectre-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libthreadweaver-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libxkbcommon-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: libzip-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtdeclarative-devel
|
||||
BuildRequires: qt6-qtbase-devel
|
||||
BuildRequires: qt6-qtdeclarative-devel
|
||||
BuildRequires: qt6-qtmultimedia-devel
|
||||
BuildRequires: qt6-qtspeech-devel
|
||||
BuildRequires: qt6-qtsvg-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpoppler-devel >= 24.02.0-1mamba
|
||||
BuildRequires: libmarkdown-devel >= 3.0.0d
|
||||
@ -94,46 +91,46 @@ Requires: libokular = %{?epoch:%epoch:}%{version}-%{release}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
%cmake_kf6
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{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
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
|
||||
exit 0
|
||||
|
||||
%posttrans
|
||||
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
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-desktop-database -q &>/dev/null
|
||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
||||
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%post -n libokular -p /sbin/ldconfig
|
||||
%postun -n libokular -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}5_qt.lang
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_kde5_bindir}/okular
|
||||
#%{_kde5_bindir}/okularkirigami
|
||||
%{_kde5_datadir}/okular/
|
||||
%{_kde5_kcfgdir}/gssettings.kcfg
|
||||
%{_kde5_kcfgdir}/okular.kcfg
|
||||
%{_kde5_kcfgdir}/pdfsettings.kcfg
|
||||
%{_kf6_bindir}/okular
|
||||
#%{_kf6_bindir}/okularkirigami
|
||||
%{_kf6_datadir}/okular/
|
||||
%{_kf6_kcfgdir}/gssettings.kcfg
|
||||
%{_kf6_kcfgdir}/okular.kcfg
|
||||
%{_kf6_kcfgdir}/pdfsettings.kcfg
|
||||
%{_datadir}/applications/okularApplication_*.desktop
|
||||
%{_datadir}/applications/org.kde.mobile.okular*.desktop
|
||||
%{_datadir}/applications/org.kde.okular.desktop
|
||||
@ -142,22 +139,15 @@ exit 0
|
||||
%{_datadir}/config.kcfg/okular_core.kcfg
|
||||
%{_datadir}/icons/hicolor/*/apps/okular.png
|
||||
%{_datadir}/kconf_update/okular.upd
|
||||
#%{_datadir}/kservices5/ms-its.protocol
|
||||
%{_datadir}/kservices5/okular*.desktop
|
||||
%{_kde5_servicetypesdir}/okularGenerator.desktop
|
||||
%dir %{_datadir}/kxmlgui5/okular
|
||||
%{_datadir}/kxmlgui5/okular/*.rc
|
||||
%{_datadir}/qlogging-categories5/okular.categories
|
||||
%{_datadir}/qlogging-categories6/okular.categories
|
||||
%{_mandir}/man1/okular.1*
|
||||
|
||||
%files -n libokular
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libOkular5Core.so.*
|
||||
%{_libdir}/qt5/plugins/kf5/kio/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
|
||||
%{_libdir}/libOkular6Core.so.*
|
||||
%{_kf6_plugindir}/parts/okularpart.so
|
||||
%dir %{_qt6_plugindir}/okular_generators
|
||||
%{_qt6_plugindir}/okular_generators/okularGenerator_*.so
|
||||
%doc LICENSES
|
||||
|
||||
%files -n libokular-devel
|
||||
@ -166,11 +156,17 @@ exit 0
|
||||
%{_includedir}/okular/core/*.h
|
||||
%dir %{_includedir}/okular/interfaces
|
||||
%{_includedir}/okular/interfaces/*.h
|
||||
%dir %{_libdir}/cmake/Okular5
|
||||
%{_libdir}/cmake/Okular5/Okular5*.cmake
|
||||
%{_libdir}/libOkular5Core.so
|
||||
%{_libdir}/libOkular6Core.so
|
||||
%dir %{_libdir}/cmake/Okular6
|
||||
%{_libdir}/cmake/Okular6/Okular6*.cmake
|
||||
|
||||
%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
|
||||
- rebuilt by autoport with build requirements: libpoppler-devel>=24.02.0-1mamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user