* SFEgajim.spec: Bumped gajim version.
authorslubman
Sat, 22 Mar 2008 18:18:09 +0000
changeset 1004 c203f40997c2
parent 1003 13b74974fc4b
child 1005 a7c61c05e87b
* SFEgajim.spec: Bumped gajim version. * patches/gajim-02-logger.diff: This patch enable gajim to use pysqlite.
SFEgajim.spec
patches/gajim-02-logger.diff
--- a/SFEgajim.spec	Sat Mar 22 01:20:39 2008 +0000
+++ b/SFEgajim.spec	Sat Mar 22 18:18:09 2008 +0000
@@ -7,18 +7,17 @@
 %include Solaris.inc
 Name:                    SFEgajim
 Summary:                 Gajim Jabber client
-Version:                 0.10.1
+Version:                 0.11.4
 Source:                  http://www.gajim.org/downloads/gajim-%{version}.tar.bz2
 SUNW_BaseDir:            %{_basedir}
 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
-Patch1:                  gajim-01-build-fix.diff
+Patch2:                  gajim-02-logger.diff
 %include default-depend.inc
 Requires:                SUNWPython
 Requires:                SUNWsqlite3
 Requires:                SUNWpysqlite
-Requires:                SFEgtkspell
 BuildRequires:           SUNWPython-devel
-BuildRequires:           SUNWsqlite3
+BuildRequires:           SUNWsqlite3-devel
 BuildRequires:           SUNWpysqlite
 BuildRequires:           SFEgtkspell-devel
 
@@ -32,7 +31,7 @@
 
 %prep
 %setup -q -n gajim-%version
-%patch1 -p1
+%patch2 -p1
 
 %build
 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
@@ -44,6 +43,14 @@
 export CPPFLAGS="%optflags"
 export CXXFLAGS="%cxx_optflags"
 export LDFLAGS="%_ldflags"
+
+
+./configure --prefix=%{_prefix}			\
+	    --mandir=%{_mandir}			\
+            --libdir=%{_libdir}			\
+            --libexecdir=%{_libexecdir}		\
+            --sysconfdir=%{_sysconfdir}
+
 make -j$CPUS
 
 
@@ -57,6 +64,9 @@
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
 %endif
 
+# REMOVE doc FILES
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,6 +99,8 @@
 %endif
 
 %changelog
+* Sat Mar 23 2008 - [email protected]
+- Bumped version
 * Wed Oct 11 2006 - [email protected]
 - add gtkspell deps
 * Wed Jul 26 2006 - [email protected]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gajim-02-logger.diff	Sat Mar 22 18:18:09 2008 +0000
@@ -0,0 +1,11 @@
+--- gajim-0.11.4/src/common/logger.py	2007-08-31 09:49:31.000000000 +0200
++++ gajim-0.11.4.patched/src/common/logger.py	2008-02-24 14:34:13.845923000 +0100
+@@ -30,7 +30,7 @@ except ImportError:
+ 		raise exceptions.PysqliteNotAvailable
+ 
+ import configpaths
+-LOG_DB_PATH = configpaths.gajimpaths['LOG_DB']
++LOG_DB_PATH = str(configpaths.gajimpaths['LOG_DB'])
+ LOG_DB_FOLDER, LOG_DB_FILE = os.path.split(LOG_DB_PATH)
+ 
+ class Constants: