Hello community, here is the log from the commit of package qpdfview for openSUSE:Factory checked in at 2019-02-11 21:24:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qpdfview (Old) and /work/SRC/openSUSE:Factory/.qpdfview.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qpdfview" Mon Feb 11 21:24:17 2019 rev:7 rq:672884 version:0.4.16 Changes: -------- --- /work/SRC/openSUSE:Factory/qpdfview/qpdfview.changes 2015-11-22 11:02:47.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.qpdfview.new.28833/qpdfview.changes 2019-02-11 21:24:24.279112234 +0100 @@ -1,0 +2,6 @@ +Thu Feb 07 14:30:00 UTC 2019 - [email protected] +- Split plugins to separate packages. (bsc# 1122801) +- Removed obsolete Qt4 build. +- Run spec-cleaner. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qpdfview.spec ++++++ --- /var/tmp/diff_new_pack.VjNPz6/_old 2019-02-11 21:24:25.751111442 +0100 +++ /var/tmp/diff_new_pack.VjNPz6/_new 2019-02-11 21:24:25.755111440 +0100 @@ -1,7 +1,7 @@ # # spec file for package qpdfview # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,22 +20,18 @@ Version: 0.4.16 Release: 0 Summary: Tabbed document viewer in Qt -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Office/Other -Url: https://launchpad.net/qpdfview +URL: https://launchpad.net/qpdfview Source: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz Source1: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring BuildRequires: cups-devel BuildRequires: fdupes BuildRequires: hicolor-icon-theme -BuildRequires: update-desktop-files -BuildRequires: pkgconfig(ddjvuapi) -BuildRequires: pkgconfig(libspectre) -BuildRequires: pkgconfig(zlib) -Recommends: %{name}-lang -%if 0%{?suse_version} > 1320 BuildRequires: libqt5-linguist +BuildRequires: pkgconfig +BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) @@ -45,20 +41,16 @@ BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) +BuildRequires: pkgconfig(ddjvuapi) +BuildRequires: pkgconfig(libspectre) BuildRequires: pkgconfig(poppler-qt5) +BuildRequires: pkgconfig(zlib) +Requires: %{name}-plugin-pdf Requires: libqt5_sql_backend -%else -BuildRequires: file-devel -BuildRequires: libqt4-linguist -BuildRequires: pkgconfig(QtCore) -BuildRequires: pkgconfig(QtDBus) -BuildRequires: pkgconfig(QtGui) -BuildRequires: pkgconfig(QtSql) -BuildRequires: pkgconfig(QtSvg) -BuildRequires: pkgconfig(QtXml) -BuildRequires: pkgconfig(poppler-qt4) -Requires: libqt4_sql_backend -%endif +Recommends: %{name}-lang +Suggests: %{name}-plugin-djvu +Suggests: %{name}-plugin-image +Suggests: %{name}-plugin-ps %description qpdfview uses Poppler for PDF support, libspectre for PS support, @@ -79,31 +71,55 @@ * Rudimentary form support. * Support for PostScript and DjVu documents. +%package plugin-djvu +Summary: qpdfview plugin: DjVu documents +Group: Productivity/Office/Other +Requires: %{name} + +%description plugin-djvu +This plugin is required to read DjVu documents +(*.djvu files) with the qpdfview document viewer. + +%package plugin-image +Summary: qpdfview plugin: Image files +Group: Productivity/Office/Other +Requires: %{name} + +%description plugin-image +This plugin is required to read Image files +(*.tiff files) with the qpdfview document viewer. + +%package plugin-pdf +Summary: qpdfview plugin: PDF documents +Group: Productivity/Office/Other +Requires: %{name} + +%description plugin-pdf +This plugin is required to read PDF documents +(*.pdf files) with the qpdfview document viewer. + +%package plugin-ps +Summary: qpdfview plugin: PostScript documents +Group: Productivity/Office/Other +Requires: %{name} + +%description plugin-ps +This plugin is required to read PostScript documents +(*.ps files) with the qpdfview document viewer. + %lang_package %prep %setup -q %build -%if 0%{?suse_version} > 1320 %global _libqt5_qmake %{_libqt5_qmake} -makefile %{name}.pro %{_libqt5_bindir}/lrelease translations/*.ts %qmake5 PLUGIN_INSTALL_PATH=%{_libdir}/%{name} -%else -%{_libdir}/qt4/bin/lrelease translations/*.ts -%{_libdir}/qt4/bin/qmake -makefile %{name}.pro \ - QMAKE_CFLAGS='%{optflags}' \ - QMAKE_CXXFLAGS='%{optflags}' \ - PLUGIN_INSTALL_PATH=%{_libdir}/%{name} -%endif make %{?_smp_mflags} %install -%if 0%{?suse_version} > 1320 %qmake5_install -%else -make INSTALL_ROOT=%{buildroot} install -%endif %fdupes %{buildroot} %find_lang %{name} --with-qt @@ -116,10 +132,10 @@ %icon_theme_cache_postun %files -%defattr(-,root,root) -%doc CHANGES CONTRIBUTORS COPYING README TODO +%license COPYING +%doc CHANGES CONTRIBUTORS README TODO %{_bindir}/%{name} -%{_libdir}/%{name}/ +%dir %{_libdir}/%{name}/ %dir %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* @@ -127,8 +143,19 @@ %{_datadir}/appdata/%{name}.appdata.xml %{_mandir}/man?/%{name}.?%{?ext_man} +%files plugin-djvu +%{_libdir}/%{name}/libqpdfview_djvu.so + +%files plugin-image +%{_libdir}/%{name}/libqpdfview_image.so + +%files plugin-pdf +%{_libdir}/%{name}/libqpdfview_pdf.so + +%files plugin-ps +%{_libdir}/%{name}/libqpdfview_ps.so + %files lang -f %{name}.lang -%defattr(-,root,root) %lang(ast) %{_datadir}/%{name}/%{name}_ast.qm %doc %{_datadir}/%{name}/help*.html
