rpms/xchm/devel xchm.spec,1.5,1.6

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Mon Sep 25 20:18:59 UTC 2006


Author: pertusus

Update of /cvs/extras/rpms/xchm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17871

Modified Files:
	xchm.spec 
Log Message:
* Mon Sep 25 2006 Patrice Dumas <pertusus at free.fr> 1.9-5
- install the icon for the chm file type



Index: xchm.spec
===================================================================
RCS file: /cvs/extras/rpms/xchm/devel/xchm.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- xchm.spec	24 Sep 2006 09:51:42 -0000	1.5
+++ xchm.spec	25 Sep 2006 20:18:59 -0000	1.6
@@ -1,7 +1,7 @@
 Summary:        A GUI front-end to CHMlib
 Name:           xchm
 Version:        1.9
-Release:        4%{?dist}
+Release:        5%{?dist}
 License:        GPL
 Group:          Applications/Publishing
 Source0:        http://download.sf.net/%{name}/%{name}-%{version}.tar.gz
@@ -37,9 +37,11 @@
         --add-category X-Fedora                                 \
         %{SOURCE1}
 for resolution in 16 32 48 128; do
-  dir=${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/${resolution}x${resolution}/apps/
-  mkdir -p $dir
-  install -p -m644 art/xchm-${resolution}.xpm $dir/xchm.xpm
+  dir=${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/${resolution}x${resolution}/
+  mkdir -p $dir/apps $dir/mimetypes
+  install -p -m644 art/xchm-${resolution}.xpm $dir/apps/xchm.xpm
+  install -p -m644 art/xchmdoc-${resolution}.xpm $dir/mimetypes/application-x-chm.xpm
+  ln -s application-x-chm.xpm $dir/mimetypes/gnome-mime-application-x-chm.xpm
 done
 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
 %find_lang %{name}
@@ -61,11 +63,13 @@
 %defattr(-, root, root,-)
 %doc AUTHORS COPYING ChangeLog README
 %{_bindir}/xchm
-#%{_datadir}/pixmaps/*.xpm
 %{_datadir}/icons/hicolor/
 %{_datadir}/applications/*
 
 %changelog
+* Mon Sep 25 2006 Patrice Dumas <pertusus at free.fr> 1.9-5
+- install the icon for the chm file type
+
 * Sun Sep 24 2006 Patrice Dumas <pertusus at free.fr> 1.9-4
 - add a MimeType entry in desktop file. Fix #207833
 




More information about the scm-commits mailing list