SPECS: libopenraw-thumbnailer.spec - register gconf/mime data

qboosh qboosh at pld-linux.org
Mon Jul 14 23:36:27 CEST 2008


Author: qboosh                       Date: Mon Jul 14 21:36:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- register gconf/mime data

---- Files affected:
SPECS:
   libopenraw-thumbnailer.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/libopenraw-thumbnailer.spec
diff -u SPECS/libopenraw-thumbnailer.spec:1.1 SPECS/libopenraw-thumbnailer.spec:1.2
--- SPECS/libopenraw-thumbnailer.spec:1.1	Mon Jul 14 23:14:43 2008
+++ SPECS/libopenraw-thumbnailer.spec	Mon Jul 14 23:36:22 2008
@@ -19,6 +19,9 @@
 BuildRequires:	libopenraw-gnome-devel >= 0.0.4
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	rpm-build-macros >= 1.311
+Requires(post,preun):	GConf2
+Requires(post,postun):	shared-mime-info
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,6 +53,16 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%gconf_schema_install raw-thumbnailer.schemas
+%update_mime_database
+
+%preun
+%gconf_schema_uninstall raw-thumbnailer.schemas
+
+%postun
+%update_mime_database
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS
@@ -63,5 +76,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/07/14 21:36:22  qboosh
+- register gconf/mime data
+
 Revision 1.1  2008/07/14 21:14:43  qboosh
 - new: raw-thumbnailer from libopenraw project
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libopenraw-thumbnailer.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list