Author: megabajt                     Date: Sun Jul 13 19:53:50 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added MimeType entry to desktop file
- changed group to X11/Applications
- release 2

---- Files affected:
SPECS:
   xchm.spec (1.65 -> 1.66) 

---- Diffs:

================================================================
Index: SPECS/xchm.spec
diff -u SPECS/xchm.spec:1.65 SPECS/xchm.spec:1.66
--- SPECS/xchm.spec:1.65        Sat Jan  5 11:31:44 2008
+++ SPECS/xchm.spec     Sun Jul 13 21:53:45 2008
@@ -1,16 +1,16 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_with    xmlrpc                  # Enable XmlRpc functionality
-%bcond_without unicode                 # unicode version of wxGTK2
+%bcond_with    xmlrpc          # Enable XmlRpc functionality
+%bcond_without unicode         # unicode version of wxGTK2
 #
 Summary:       CHM viewer for UNIX
 Summary(pl.UTF-8):     Przeglądarka CHM dla Uniksów
 Name:          xchm
 Version:       1.14
-Release:       1
+Release:       2
 License:       GPL
-Group:         Applications/File
+Group:         X11/Applications
 Source0:       http://dl.sourceforge.net/xchm/%{name}-%{version}.tar.gz
 # Source0-md5: 0f398af788a9e1a7c6f4e65b5ca31cf3
 Source1:       %{name}.desktop
@@ -22,6 +22,7 @@
 BuildRequires: gettext-devel >= 0.14.3
 BuildRequires: wxGTK2-%{?with_unicode:unicode-}devel >= 2.6.0
 %{?with_xmlrpc:BuildRequires:  xmlrpc++-devel}
+Requires(post,postun): desktop-file-utils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -65,14 +66,20 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database
+
+%postun
+%update_desktop_database_postun
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %if %{with xmlrpc}
 %doc README.xmlrpc
 %endif
-%attr(755,root,root) %{_bindir}/*
-%{_desktopdir}/*.desktop
+%attr(755,root,root) %{_bindir}/xchm
+%{_desktopdir}/xchm.desktop
 %{_pixmapsdir}/*.xpm
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -81,6 +88,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.66  2008/07/13 19:53:45  megabajt
+- added MimeType entry to desktop file
+- changed group to X11/Applications
+- release 2
+
 Revision 1.65  2008/01/05 10:31:44  sls
 - ver. 1.14
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xchm.spec?r1=1.65&r2=1.66&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to