summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kchmviewer/kchmviewer-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-08-06 22:45:56 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-08-06 22:45:56 +0200
commitd27f0076471e9f60e546dae988c35cf827f4255f (patch)
tree14f279f1db08a1744b949f67eaaf6627d4e94302 /redhat/applications/kchmviewer/kchmviewer-14.0.0.spec
parent53831bb045f35ee9d97f2a4560bdb776d3e41d5f (diff)
downloadtde-packaging-d27f0076471e9f60e546dae988c35cf827f4255f.tar.gz
tde-packaging-d27f0076471e9f60e546dae988c35cf827f4255f.zip
RPM Packaging: update lots of applications
Diffstat (limited to 'redhat/applications/kchmviewer/kchmviewer-14.0.0.spec')
-rw-r--r--redhat/applications/kchmviewer/kchmviewer-14.0.0.spec18
1 files changed, 13 insertions, 5 deletions
diff --git a/redhat/applications/kchmviewer/kchmviewer-14.0.0.spec b/redhat/applications/kchmviewer/kchmviewer-14.0.0.spec
index 8f1dc25ec..db1c5cb93 100644
--- a/redhat/applications/kchmviewer/kchmviewer-14.0.0.spec
+++ b/redhat/applications/kchmviewer/kchmviewer-14.0.0.spec
@@ -42,10 +42,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
+
%description
KchmViewer is a chm (MS HTML help file format) viewer, written in C++.
Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget
@@ -90,6 +92,7 @@ if [ -d /usr/X11R6 ]; then
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
+# Warning: --enable-final causes FTBFS !
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
@@ -97,12 +100,17 @@ fi
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
- --disable-rpath \
+ \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --enable-new-ldflags \
+ --disable-final \
+ --enable-closure \
+ --enable-rpath \
+ --enable-gcc-hidden-visibility \
+ \
--with-x \
- --with-kde \
- --with-extra-includes=%{_includedir}/tqt \
- --enable-closure
-
+ --with-kde
%__make %{?_smp_mflags}