RPM Packaging: updates

pull/3/head
François Andriot 10 years ago
parent 6c6b5d78de
commit fc5d3c8d01

@ -48,7 +48,13 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
# FLEX
%if 0%{?suse_version}
BuildRequires: flex
%else
BuildRequires: flex-devel
%endif
BuildRequires: gettext
BuildRequires: pilot-link-devel >= 0.12
BuildRequires: trinity-tdepim-devel >= %{tde_version}

@ -34,6 +34,7 @@ if [ -n "${DEVEL}" ]; then
# Applications do NOT have development packages, except K3B
case "${PKGCATEGORY}" in
"applications") if [ "${PKGNAME}" != "k3b" ]; then exit 0; fi;;
"extras") if [ "${PKGNAME}" != "akode" ]; then exit 0; fi;;
esac
# Other packags NOT having development package
case "${PKGNAME}" in

@ -49,7 +49,7 @@ BuildRequires: cups-devel
# GLIB2 support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
%define with_glibmainloop 1
hdefine with_glibmainloop 1
BuildRequires: glib2-devel
%endif
@ -481,7 +481,7 @@ for the TQt 3 toolkit.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%if 0%{?rhel} == 5
%patch1 -p1 -b .ftbfs
#patch1 -p1 -b .ftbfs
%endif
%patch15 -p1 -b .tqthomedir
@ -512,6 +512,10 @@ export PATH=${QTDIR}/bin:${PATH}
export MANPATH=${QTDIR}/doc/man:${MANPATH}
export LD_LIBRARY_PATH="${QTDIR}/lib"
%if 0%{?rhel} == 5
%__sed -i src/kernel/ntqstyle.h -e "s|#ifdef ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|"
%endif
# Checks for supplementary include dir
INCDIRS=""
for d in \

@ -39,11 +39,18 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
#Patch11: tdelibs-14.0.0-displayconfig_crash.patch
# Patches from Mandriva
Patch102: tdelibs-14.0.0-cups_by_default.patch
Patch101: tdelibs-14.0.0-cups_by_default.patch
Patch102: tdelibs-14.0.0-fix_kurlbar_global.patch
Patch103: tdelibs-14.0.0-fix_enable_kdialogbox.patch
Patch104: tdelibs-14.0.0-fix_https_loop.patch
Patch105: tdelibs-14.0.0-tdeio_file_grouplist.patch
Patch107: tdelibs-14.0.0-karchive_assert.patch
Patch108: tdelibs-14.0.0-tdeabc_add_postofficebox.patch
# Enables the 'kddebug' feature even when built with '-DNDEBUG'
#Patch201: tdelibs-14.0.0-enable_kddebug.patch
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
Obsoletes: trinity-kdelibs < %{version}-%{release}
@ -460,7 +467,13 @@ applications for TDE.
#patch11 -p1 -b .displayconfigcrash
%patch102 -p1 -b .cups_by_default
%patch101 -p1 -b .cups_by_default
%patch102 -p0 -b .kurl
%patch103 -p0 -b .kdialogbox
%patch104 -p0 -b .httpsloop
%patch105 -p0 -b .tdeiofilegrouplist
%patch107 -p0 -b .karchiveassert
%patch108 -p0 -b .tdeabc
#patch201 -p1 -b .kddebug
@ -469,6 +482,7 @@ applications for TDE.
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export TDEDIR="%{tde_prefix}"
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build

@ -41,6 +41,7 @@ Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2
Source5: hi48-app-kxsldbg.png
Patch0: tdewebdev-14.0.0-ftbfs.patch
Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
BuildRequires: autoconf automake libtool m4
@ -490,7 +491,9 @@ Requires: trinity-kommander-devel = %{version}-%{release}
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4
%patch0 -p1 -b .ftbfs
%patch1 -p1 -b .kxsldbg-icons
rm -rf lib/compatibility
%__install -m644 -p %{SOURCE5} kxsldbg/
%if 0%{?build_kxsldbg} == 0
@ -529,7 +532,8 @@ fi
--enable-rpath \
--disable-gcc-hidden-visibility \
\
--enable-editors
--enable-editors \
--with-extra-includes=%{_includedir}/tqt
# WTF hack for RHEL4

Loading…
Cancel
Save