SPECS: ufraw.spec - upgrade to version 0.11 - enabled libexif (f...

aflinta aflinta at pld-linux.org
Fri Mar 9 00:14:27 CET 2007


Author: aflinta                      Date: Thu Mar  8 23:14:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
 - upgrade to version 0.11
 - enabled libexif (for Fuji RAW)
 - added schemas and mime

---- Files affected:
SPECS:
   ufraw.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/ufraw.spec
diff -u SPECS/ufraw.spec:1.16 SPECS/ufraw.spec:1.17
--- SPECS/ufraw.spec:1.16	Mon Feb 12 23:09:18 2007
+++ SPECS/ufraw.spec	Fri Mar  9 00:14:21 2007
@@ -1,23 +1,26 @@
 # $Revision$, $Date$
 # TODO:
 # - manual page for ufraw-batch?
-# - move mime-schema to _sysconfdir and package it.
+#
 Summary:	RAW photo loader
 Summary(pl.UTF-8):	Narzędzie do wczytywania zdjęć w formacie RAW
 Name:		ufraw
-Version:	0.10
-Release:	2
+Version:	0.11
+Release:	0.9
 License:	GPL v2
 Group:		Applications/Graphics
 Source0:	http://dl.sourceforge.net/ufraw/%{name}-%{version}.tar.gz
-# Source0-md5:	12d9bfdb8ed22e28129a729847ba6664
+# Source0-md5:	e7e5930a872657830a77dc9ddbfce93b
 URL:		http://ufraw.sourceforge.net/
 BuildRequires:	exiv2-devel >= 0.11-1
 BuildRequires:	gimp-devel >= 2.0
 BuildRequires:	lcms-devel
-BuildRequires:	libexif-devel
+BuildRequires:	libexif-devel >= 1:0.6.13
 BuildRequires:	libjpeg-devel
 BuildRequires:	libtiff-devel
+Requires(post,preun):	GConf2 >= 2.16.0
+Requires(post,postun):	desktop-file-utils
+Requires(post,postun):	shared-mime-info
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define         _plugindir      %(gimptool --gimpplugindir)/plug-ins
@@ -64,7 +67,8 @@
 %build
 %configure \
 	--enable-mime \
-	--with-exiv2
+	--with-exiv2 \
+	--with-libexif
 %{__make}
 
 %install
@@ -72,7 +76,8 @@
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	schemasdir=%{_sysconfdir}/gconf/schemas
 
 install ufraw.desktop $RPM_BUILD_ROOT%{_desktopdir}
 
@@ -81,12 +86,27 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_mime_database
+%gconf_schema_install ufraw.schemas
+%update_desktop_database_post
+
+%preun
+%gconf_schema_uninstall ufraw.schemas
+
+%postun
+%update_desktop_database_postun
+%update_mime_database
+
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README TODO
 %attr(755,root,root) %{_bindir}/ufraw
 %{_desktopdir}/*.desktop
+%{_datadir}/mime/packages/ufraw-mime.xml
 %{_pixmapsdir}/*
+%{_sysconfdir}/gconf/schemas/%{name}.schemas
 %{_mandir}/man1/ufraw*
 
 %files -n gimp-plugin-ufraw
@@ -103,6 +123,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2007/03/08 23:14:21  aflinta
+ - upgrade to version 0.11
+ - enabled libexif (for Fuji RAW)
+ - added schemas and mime
+
 Revision 1.16  2007/02/12 22:09:18  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ufraw.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list