diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-08-03 14:39:58 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-08-03 14:39:58 +0200 |
commit | 5ce995a0b7e581b049f2366baf6b55946ca98a18 (patch) | |
tree | 1d2e5f5816a67d1352082a01da0f700eccc813a9 /redhat/tdewebdev | |
parent | 5b9c5354a7a6d4dec713c4d5e8ca5da912cd980b (diff) | |
download | tde-packaging-5ce995a0b7e581b049f2366baf6b55946ca98a18.tar.gz tde-packaging-5ce995a0b7e581b049f2366baf6b55946ca98a18.zip |
RPM Packaging: update main packages
Diffstat (limited to 'redhat/tdewebdev')
-rw-r--r-- | redhat/tdewebdev/tdewebdev-14.0.0.spec | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/redhat/tdewebdev/tdewebdev-14.0.0.spec b/redhat/tdewebdev/tdewebdev-14.0.0.spec index 5176af625..07e5d85c2 100644 --- a/redhat/tdewebdev/tdewebdev-14.0.0.spec +++ b/redhat/tdewebdev/tdewebdev-14.0.0.spec @@ -3,6 +3,8 @@ %define _variant .opt %endif +%define tde_version 14.0.0 + # TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share @@ -19,7 +21,7 @@ %define _docdir %{tde_docdir} Name: trinity-tdewebdev -Version: 14.0.0 +Version: %{tde_version} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} License: GPL Summary: Web development applications @@ -43,8 +45,8 @@ Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch BuildRequires: autoconf automake libtool m4 BuildRequires: desktop-file-utils -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdesdk-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdesdk-devel >= %{tde_version} BuildRequires: libxslt-devel BuildRequires: libxml2-devel %if 0%{?rhel} == 4 @@ -502,14 +504,12 @@ unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -# Do not build against any "/usr" installed KDE -export KDEDIR="%{tde_prefix}" - # Specific path for RHEL4 if [ -d "/usr/X11R6" ]; then export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" fi +# Warning: GCC visibility causes FTBFS [Bug #1285] %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ @@ -517,11 +517,14 @@ fi --datadir=%{tde_datadir} \ --libdir=%{tde_libdir} \ --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ + \ + --disable-dependency-tracking \ + --disable-debug \ --enable-new-ldflags \ + --enable-final \ --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependancy-tracking --enable-final + --disable-rpath \ + --disable-gcc-hidden-visibility # WTF hack for RHEL4 %if 0%{?rhel} == 4 @@ -550,17 +553,6 @@ EOF done cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/ -# make symlinks relative -pushd %{buildroot}%{tde_tdedocdir}/HTML/en -for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -nfs ../common $i - fi -done -popd - - %clean %__rm -rf %{buildroot} |