SPECS: kchmviewer.spec - added system-chmlib patch to use system c...

qboosh qboosh at pld-linux.org
Sun Oct 30 21:16:24 CET 2005


Author: qboosh                       Date: Sun Oct 30 20:16:24 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added system-chmlib patch to use system chmlib (which supports more archs)
- release 2

---- Files affected:
SPECS:
   kchmviewer.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/kchmviewer.spec
diff -u SPECS/kchmviewer.spec:1.7 SPECS/kchmviewer.spec:1.8
--- SPECS/kchmviewer.spec:1.7	Sun Oct 30 18:14:49 2005
+++ SPECS/kchmviewer.spec	Sun Oct 30 21:16:18 2005
@@ -8,17 +8,22 @@
 Summary(pl):	KchmViewer - przeglądarka CHM (formatu plików pomocy MS HTML)
 Name:		kchmviewer
 Version:	1.1
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/Publishing
 Source0:	http://dl.sourceforge.net/kchmviewer/%{name}-%{version}.tar.gz
 # Source0-md5:	0346b051ed0b3c9c04790bedf889265a
 Source1:	%{name}.png
+Patch0:		%{name}-system-chmlib.patch
 URL:		http://kchmviewer.sourceforge.net/
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake >= 1.4
+BuildRequires:	chmlib-devel >= 0.37
 %{?with_kde:BuildRequires:	kdelibs-devel}
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
+BuildRequires:	libtool
 BuildRequires:	qt-devel
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -38,8 +43,15 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%{__perl} am_edit
 %configure \
 %if "%{_lib}" == "lib64"
 	--enable-libsuffix=64 \
@@ -75,6 +87,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/10/30 20:16:18  qboosh
+- added system-chmlib patch to use system chmlib (which supports more archs)
+- release 2
+
 Revision 1.7  2005/10/30 17:14:49  charles
 - updated to 1.1
 - rel. 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kchmviewer.spec?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list