Hello community,

here is the log from the commit of package xreader for openSUSE:Factory checked 
in at 2019-08-23 11:05:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xreader (Old)
 and      /work/SRC/openSUSE:Factory/.xreader.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xreader"

Fri Aug 23 11:05:40 2019 rev:22 rq:724898 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/xreader/xreader.changes  2019-07-29 
17:28:57.550245178 +0200
+++ /work/SRC/openSUSE:Factory/.xreader.new.7948/xreader.changes        
2019-08-23 11:05:42.050492908 +0200
@@ -1,0 +2,9 @@
+Sun Aug 18 12:20:40 UTC 2019 - Maurizio Galli <[email protected]>
+
+-  Restore backend subpackages accidentally removed by previous Jul 8
+   SR: 
+   - Split backends into subpackages to prevent hard dependency
+     to backends and make application more lightweight
+   - Dropped xreader-backends package (obsolete)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xreader.spec ++++++
--- /var/tmp/diff_new_pack.uaAWHI/_old  2019-08-23 11:05:42.774492790 +0200
+++ /var/tmp/diff_new_pack.uaAWHI/_new  2019-08-23 11:05:42.778492789 +0200
@@ -52,8 +52,10 @@
 BuildRequires:  pkgconfig(webkit2gtk-4.0) >= 2.4.3
 BuildRequires:  pkgconfig(xapp) >= 1.1.0
 BuildRequires:  pkgconfig(zlib)
-Requires:       %{name}-backends = %{version}
+# Only require pdf backend subpackage to make application more lightweight for 
Live media
+Requires:       %{name}-plugin-pdfdocument
 Recommends:     %{name}-lang
+Obsoletes:      %{name}-backends < %{version}
 Obsoletes:      caja-extension-%{name} < %{version}
 Obsoletes:      nemo-extension-%{name} < %{version}
 %glib2_gsettings_schema_requires
@@ -102,14 +104,6 @@
 Xreader is a document viewer capable of displaying multiple and
 single page document formats like PDF and Postscript.
 
-%package backends
-Summary:        XReader shared libraries (View and Document)
-Group:          System/Libraries
-
-%description backends
-Xreader is a document viewer capable of displaying multiple and
-single page document formats like PDF and Postscript.
-
 %package devel
 Summary:        X-Apps Document Reader development files
 Group:          Development/Libraries/C and C++
@@ -121,6 +115,51 @@
 Xreader is a document viewer capable of displaying multiple and
 single page document formats like PDF and Postscript.
 
+%package -n xreader-plugin-epubdocument
+Summary:        EPUB document support for Xreader
+Group:          Productivity/Office/Other
+Requires:       %{name}
+Supplements:    %{name}
+
+%description -n xreader-plugin-epubdocument
+A plugin for Xreader to read EPUB documents.
+
+%package -n xreader-plugin-pdfdocument
+Summary:        PDF document support for Xreader
+Group:          Productivity/Office/Other
+Requires:       %{name}
+Supplements:    %{name}
+
+%description -n xreader-plugin-pdfdocument
+A plugin for Xreader to read PDF documents.
+
+%package -n xreader-plugin-psdocument
+Summary:        PostScript document support for Xreader
+Group:          Productivity/Office/Other
+Requires:       %{name}
+Supplements:    %{name}
+
+%description -n xreader-plugin-psdocument
+A plugin for Xreader to read PostScript documents.
+
+%package -n xreader-plugin-tiffdocument
+Summary:        TIFF document support for Xreader
+Group:          Productivity/Office/Other
+Requires:       %{name}
+Supplements:    %{name}
+
+%description -n xreader-plugin-tiffdocument
+A plugin for Xreader to read TIFF documents.
+
+%package -n xreader-plugin-xpsdocument
+Summary:        XPS document support for Xreader
+Group:          Productivity/Office/Other
+Requires:       %{name}
+Supplements:    %{name}
+
+%description -n xreader-plugin-xpsdocument
+A plugin for Xreader to read XPS documents.
+
 %prep
 %autosetup
 
@@ -179,6 +218,8 @@
 %{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/icons/hicolor/*/*/*
 %{_mandir}/man?/*.?%{?ext_man}
+# backends directory structure - backends go to their own packages
+%dir %{_libdir}/%{name}/%{sover}/backends
 
 %files lang -f %{name}.lang
 
@@ -204,9 +245,24 @@
 %{_datadir}/gir-1.0/*.gir
 %{_libdir}/pkgconfig/*.pc
 
-%files backends
-%license COPYING
-%doc AUTHORS README
-%{_libdir}/%{name}/%{sover}/backends/
+%files -n xreader-plugin-epubdocument
+%{_libdir}/%{name}/%{sover}/backends/epubdocument.xreader-backend
+%{_libdir}/%{name}/%{sover}/backends/libepubdocument.so
+
+%files -n xreader-plugin-pdfdocument
+%{_libdir}/%{name}/%{sover}/backends/pdfdocument.xreader-backend
+%{_libdir}/%{name}/%{sover}/backends/libpdfdocument.so
+
+%files -n xreader-plugin-psdocument
+%{_libdir}/%{name}/%{sover}/backends/libpsdocument.so
+%{_libdir}/%{name}/%{sover}/backends/psdocument.xreader-backend
+
+%files -n xreader-plugin-tiffdocument
+%{_libdir}/%{name}/%{sover}/backends/tiffdocument.xreader-backend
+%{_libdir}/%{name}/%{sover}/backends/libtiffdocument.so
+
+%files -n xreader-plugin-xpsdocument
+%{_libdir}/%{name}/%{sover}/backends/libxpsdocument.so
+%{_libdir}/%{name}/%{sover}/backends/xpsdocument.xreader-backend
 
 %changelog


Reply via email to