Author: sls                          Date: Tue Mar 20 19:37:00 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- building with wx-unicode and added bcond unicode
- rel. 1

---- Files affected:
SPECS:
   xchm.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: SPECS/xchm.spec
diff -u SPECS/xchm.spec:1.56 SPECS/xchm.spec:1.57
--- SPECS/xchm.spec:1.56        Tue Mar 20 20:25:51 2007
+++ SPECS/xchm.spec     Tue Mar 20 20:36:55 2007
@@ -2,12 +2,13 @@
 #
 # Conditional build:
 %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.11
-Release:       0.2
+Release:       1
 License:       GPL
 Group:         Applications/File
 Source0:       http://dl.sourceforge.net/xchm/%{name}-%{version}.tar.gz
@@ -19,7 +20,7 @@
 BuildRequires: automake
 BuildRequires: chmlib-devel
 BuildRequires: gettext-devel >= 0.11
-BuildRequires: wxGTK2-devel >= 2.6.0
+BuildRequires:  wxGTK2-%{?with_unicode:unicode-}devel >= 2.6.0
 %{?with_xmlrpc:BuildRequires:  xmlrpc++-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,7 +44,7 @@
 %{__automake}
 %configure \
        %{?with_xmlrpc:--enable-xmlrpc} \
-       WX_CONFIG_NAME=/usr/bin/wx-gtk2-ansi-config
+       
WX_CONFIG_NAME=/usr/bin/wx-gtk2-%{!?with_unicode:ansi}%{?with_unicode:unicode}-config
 %{__make}
 
 %install
@@ -77,6 +78,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2007/03/20 19:36:55  sls
+- building with wx-unicode and added bcond unicode
+- rel. 1
+
 Revision 1.56  2007/03/20 19:25:51  sls
 - added compile.patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xchm.spec?r1=1.56&r2=1.57&f=u

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

Reply via email to