rpms/qtiplot/devel qtiplot.spec,1.17,1.18

supercyper supercyper at fedoraproject.org
Fri Jan 29 08:19:07 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/qtiplot/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7124

Modified Files:
	qtiplot.spec 
Log Message:
fixed desktop mime field



Index: qtiplot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qtiplot/devel/qtiplot.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- qtiplot.spec	29 Jan 2010 05:45:55 -0000	1.17
+++ qtiplot.spec	29 Jan 2010 08:19:07 -0000	1.18
@@ -1,7 +1,7 @@
 Name:		qtiplot
 Summary:	Data Analysis and Scientific Plotting
 Version:	0.9.7.11
-Release:	2%{?dist}
+Release:	3%{?dist}
 BuildRequires:	qt4-devel
 BuildRequires:	liborigin2-devel
 BuildRequires:	QTeXEngine-devel
@@ -125,18 +125,21 @@ find %{buildroot}%{_libdir}/%{name} -typ
 
 #for the icon
 mkdir -p %{buildroot}%{_datadir}/pixmaps
-install -m 0644 -p qtiplot_logo.png %{buildroot}%{_datadir}/pixmaps/qtiplot_logo.png
+install -m 0644 -p qtiplot_logo.png %{buildroot}%{_datadir}/pixmaps/qtiplot.png
 
 #add mime-info
+mkdir -p %{buildroot}%{_datadir}/mime/packages
 install -m 0644 -p %{SOURCE3} %{buildroot}%{_datadir}/mime/packages/%{name}.xml
 
 %post
 umask 022
+update-desktop-database -q 
 /sbin/ldconfig
 update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %postun
 umask 022
+update-desktop-database -q 
 /sbin/ldconfig
 update-mime-database %{_datadir}/mime &> /dev/null || :
 
@@ -165,6 +168,8 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Jan 29 2010 Chen Lei <supercyper at 163.com> - 0.9.7.11-3
+ - fixed desktop mime field
 * Fri Jan 29 2010 Chen Lei <supercyper at 163.com> - 0.9.7.11-2
  - add mime-info
 * Sat Jan 23 2010 Chen Lei <supercyper at 163.com> - 0.9.7.11-1



More information about the scm-commits mailing list