Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:E
okular
okular.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File okular.spec of Package okular
# # spec file for package okular # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without lang Name: okular Version: 18.12.3 Release: 0 Summary: Document Viewer # GPL-3.0+ license used by a runtime plugin License: GPL-2.0-or-later AND GPL-3.0-or-later Group: Productivity/Office/Other URL: http://www.kde.org Source: %{name}-%{version}.tar.xz BuildRequires: chmlib-devel BuildRequires: extra-cmake-modules BuildRequires: freetype2-devel BuildRequires: kactivities5-devel BuildRequires: karchive-devel BuildRequires: kbookmarks-devel BuildRequires: kcompletion-devel BuildRequires: kconfig-devel BuildRequires: kconfigwidgets-devel BuildRequires: kcoreaddons-devel BuildRequires: kcrash-devel BuildRequires: kdoctools-devel BuildRequires: kf5-filesystem BuildRequires: khtml-devel BuildRequires: kiconthemes-devel BuildRequires: kio-devel BuildRequires: kjs-devel BuildRequires: kparts-devel BuildRequires: kpty-devel BuildRequires: kwallet-devel BuildRequires: kwindowsystem-devel BuildRequires: libdjvulibre-devel BuildRequires: libepub-devel BuildRequires: libjpeg-devel BuildRequires: libkexiv2-devel BuildRequires: libmarkdown-devel BuildRequires: libpoppler-qt5-devel BuildRequires: libqca-qt5-devel BuildRequires: libspectre-devel BuildRequires: libtiff-devel BuildRequires: libzip-devel BuildRequires: mobipocket-devel BuildRequires: phonon4qt5-devel BuildRequires: pkgconfig BuildRequires: purpose-devel BuildRequires: threadweaver-devel BuildRequires: zlib-devel BuildRequires: pkgconfig(Qt5Core) >= 5.8.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.8.0 BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.8.0 BuildRequires: pkgconfig(Qt5Qml) >= 5.8.0 BuildRequires: pkgconfig(Qt5Quick) >= 5.8.0 BuildRequires: pkgconfig(Qt5Svg) >= 5.8.0 BuildRequires: pkgconfig(Qt5Test) >= 5.8.0 BuildRequires: pkgconfig(Qt5TextToSpeech) >= 5.8.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.8.0 Recommends: %{name}-lang Suggests: %{name}-spectre Obsoletes: okular5 < %{version} Provides: okular5 = %{version} %description Document viewing program; supports document in PDF, PS and many other formats. %package spectre Summary: PostScript support for the Okular document viewer Group: Productivity/Office/Other Requires: %{name} = %{version}-%{release} %description spectre Document viewing program; supports document in PDF, PS and many other formats. This package contains the plugins required to display PostScript documents and images. %package devel Summary: Development files for the Okular document viewer Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: cmake(KF5Config) Requires: cmake(KF5CoreAddons) Requires: cmake(KF5XmlGui) Requires: cmake(Qt5Core) >= 5.6.0 Requires: cmake(Qt5PrintSupport) >= 5.6.0 Requires: cmake(Qt5Widgets) >= 5.6.0 Obsoletes: okular5-devel < %{version} Provides: okular5-devel = %{version} %description devel Document viewing program; supports document in various formats %lang_package %prep %setup -q -n okular-%{version} %build %cmake_kf5 -d build -- -DBUILD_TESTING=ON %make_jobs %install %make_install -C build %if %{with lang} %find_lang %{name} --with-man --all-name %{kf5_find_htmldocs} %endif rm -rfv %{buildroot}/%{_kf5_applicationsdir}/org.kde.mobile* rm -rfv %{buildroot}/%{_kf5_bindir}/okularkirigami %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING* %config %{_kf5_configdir}/okular.categories %dir %{_kf5_htmldir} %dir %{_kf5_htmldir}/en %doc %lang(en) %{_kf5_htmldir}/en/*/ %doc %{_kf5_mandir}/man1/okular.* %{_kf5_applicationsdir}/okularApplication_chm.desktop %{_kf5_applicationsdir}/okularApplication_comicbook.desktop %{_kf5_applicationsdir}/okularApplication_djvu.desktop %{_kf5_applicationsdir}/okularApplication_dvi.desktop %{_kf5_applicationsdir}/okularApplication_epub.desktop %{_kf5_applicationsdir}/okularApplication_fax.desktop %{_kf5_applicationsdir}/okularApplication_fb.desktop %{_kf5_applicationsdir}/okularApplication_kimgio.desktop %{_kf5_applicationsdir}/okularApplication_md.desktop %{_kf5_applicationsdir}/okularApplication_mobi.desktop %{_kf5_applicationsdir}/okularApplication_ooo.desktop %{_kf5_applicationsdir}/okularApplication_pdf.desktop %{_kf5_applicationsdir}/okularApplication_plucker.desktop %{_kf5_applicationsdir}/okularApplication_tiff.desktop %{_kf5_applicationsdir}/okularApplication_txt.desktop %{_kf5_applicationsdir}/okularApplication_xps.desktop %{_kf5_applicationsdir}/org.kde.okular.desktop %{_kf5_applicationsdir}/org.kde.okular.kirigami.desktop %{_kf5_appstreamdir}/org.kde.okular-chm.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-comicbook.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-djvu.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-dvi.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-epub.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-fax.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-fb.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-kimgio.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-md.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-mobipocket.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-ooo.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-plucker.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-poppler.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-tiff.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-txt.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular-xps.metainfo.xml %{_kf5_appstreamdir}/org.kde.okular.appdata.xml %{_kf5_appstreamdir}/org.kde.okular.kirigami.appdata.xml %{_kf5_bindir}/okular %{_kf5_configkcfgdir}/ %{_kf5_iconsdir}/hicolor/*/*/okular.* %{_kf5_kxmlguidir}/ %{_kf5_libdir}/libOkular5Core.so.* %dir %{_kf5_plugindir}/okular/ %dir %{_kf5_plugindir}/okular/generators/ %{_kf5_plugindir}/okularpart.so %{_kf5_plugindir}/kio_msits.so %{_kf5_plugindir}/okular/generators/okularGenerator_chmlib.so %{_kf5_plugindir}/okular/generators/okularGenerator_comicbook.so %{_kf5_plugindir}/okular/generators/okularGenerator_djvu.so %{_kf5_plugindir}/okular/generators/okularGenerator_dvi.so %{_kf5_plugindir}/okular/generators/okularGenerator_epub.so %{_kf5_plugindir}/okular/generators/okularGenerator_fax.so %{_kf5_plugindir}/okular/generators/okularGenerator_fb.so %{_kf5_plugindir}/okular/generators/okularGenerator_kimgio.so %{_kf5_plugindir}/okular/generators/okularGenerator_md.so %{_kf5_plugindir}/okular/generators/okularGenerator_mobi.so %{_kf5_plugindir}/okular/generators/okularGenerator_ooo.so %{_kf5_plugindir}/okular/generators/okularGenerator_plucker.so %{_kf5_plugindir}/okular/generators/okularGenerator_poppler.so %{_kf5_plugindir}/okular/generators/okularGenerator_tiff.so %{_kf5_plugindir}/okular/generators/okularGenerator_txt.so %{_kf5_plugindir}/okular/generators/okularGenerator_xps.so %{_kf5_qmldir}/ %{_kf5_servicesdir}/okularChm.desktop %{_kf5_servicesdir}/okularComicbook.desktop %{_kf5_servicesdir}/okularDjvu.desktop %{_kf5_servicesdir}/okularDvi.desktop %{_kf5_servicesdir}/okularEPub.desktop %{_kf5_servicesdir}/okularFax.desktop %{_kf5_servicesdir}/okularFb.desktop %{_kf5_servicesdir}/okularKimgio.desktop %{_kf5_servicesdir}/okularMd.desktop %{_kf5_servicesdir}/okularMobi.desktop %{_kf5_servicesdir}/okularOoo.desktop %{_kf5_servicesdir}/okularPlucker.desktop %{_kf5_servicesdir}/okularPoppler.desktop %{_kf5_servicesdir}/okularTiff.desktop %{_kf5_servicesdir}/okularTxt.desktop %{_kf5_servicesdir}/okularXps.desktop %{_kf5_servicesdir}/okular_part.desktop %{_kf5_servicesdir}/ms-its.protocol %{_kf5_servicetypesdir}/okularGenerator.desktop %{_kf5_sharedir}/kconf_update %{_kf5_sharedir}/okular %files spectre %license COPYING* %{_kf5_applicationsdir}/okularApplication_ghostview.desktop %{_kf5_appstreamdir}/org.kde.okular-spectre.metainfo.xml %{_kf5_plugindir}/okular/generators/okularGenerator_ghostview.so %{_kf5_servicesdir}/okularGhostview.desktop %files devel %license COPYING* %{_kf5_cmakedir}/Okular5/ %{_kf5_libdir}/libOkular5Core.so %{_kf5_prefix}/include/okular/ %if %{with lang} %files lang -f %{name}.lang %license COPYING* %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor