[atril] enable thumbnailer support and use a -thumbnailer subpackage for it

Wolfgang Ulbrich raveit65 at fedoraproject.org
Sat Oct 11 11:58:11 UTC 2014


commit 568116af907ae258ca1425000047608e15ddfe0b
Author: raveit65 <chat-to-me at raveit.de>
Date:   Sat Oct 11 13:57:54 2014 +0200

    enable thumbnailer support and use a -thumbnailer subpackage for it

 atril.spec |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/atril.spec b/atril.spec
index 61ae194..8b1e731 100644
--- a/atril.spec
+++ b/atril.spec
@@ -14,7 +14,7 @@
 
 Name:          atril
 Version:       %{branch}.1
-Release:       1%{?dist}
+Release:       2%{?dist}
 #Release:       0.1%{?git_rel}%{?dist}
 Summary:       Document viewer
 License:       GPLv2+ and LGPLv2+ and MIT
@@ -118,6 +118,16 @@ This package contains the mate-document-viewer extension for the
 caja file manager.
 It adds an additional tab called "Document" to the file properties dialog.
 
+%package thumbnailer
+Summary: Atril thumbnailer extension for caja
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: caja
+
+%description thumbnailer
+This package contains the atril extension for the
+caja file manager.
+
+
 %prep
 %setup -q%{!?rel_build:n %{name}-%{commit}}
 
@@ -142,8 +152,7 @@ It adds an additional tab called "Document" to the file properties dialog.
         --enable-t1lib=yes \
         --enable-pixbuf \
         --enable-xps \
-        --with-gtk=2.0 \
-        --disable-thumbnailer
+        --with-gtk=2.0
 
 # remove unused-direct-shlib-dependency
 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
@@ -220,6 +229,9 @@ fi
 %files caja
 %{_libdir}/caja/extensions-2.0/libatril-properties-page.so
 
+%files thumbnailer
+%{_datadir}/thumbnailers/atril.thumbnailer
+
 %files devel
 %dir %{_includedir}/atril/
 %{_includedir}/atril/1.5.0/
@@ -235,6 +247,10 @@ fi
 
 
 %changelog
+* Sat Oct 11 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.8.1-2
+- enable thumbnailer support and use a -thumbnailer subpackage for it
+- fix rhbz (#1150875)
+
 * Mon Sep 29 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.8.1-1
 - update to 1.8.1 release
 


More information about the scm-commits mailing list