diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-11-24 09:58:05 +0100 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-11-24 09:58:05 +0100 |
commit | 32fb770ae4ed0851491a59df5e23e27fb8afdadf (patch) | |
tree | c36a3226a9dd6588d754bd3b0dccacf89e0589b3 /mageia/dependencies/qt3 | |
parent | e7f51ead5a067b6e3ac4fc64edc734a82711f2d2 (diff) | |
download | tde-packaging-32fb770ae4ed0851491a59df5e23e27fb8afdadf.tar.gz tde-packaging-32fb770ae4ed0851491a59df5e23e27fb8afdadf.zip |
RPM: add PCLinuxOS support
Diffstat (limited to 'mageia/dependencies/qt3')
-rw-r--r-- | mageia/dependencies/qt3/qt3-3.5.13.1.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mageia/dependencies/qt3/qt3-3.5.13.1.spec b/mageia/dependencies/qt3/qt3-3.5.13.1.spec index 7a04eb26e..681e0dd64 100644 --- a/mageia/dependencies/qt3/qt3-3.5.13.1.spec +++ b/mageia/dependencies/qt3/qt3-3.5.13.1.spec @@ -96,7 +96,11 @@ BuildRequires: fontconfig-devel BuildRequires: bzip2-devel BuildRequires: libjpeg-devel BuildRequires: libmng-devel +%if 0%{pclinuxos} +BuildRequires: libpng-devel +%else BuildRequires: pkgconfig(libpng15) +%endif BuildRequires: zlib-devel BuildRequires: nas-devel BuildRequires: libiodbc-devel @@ -465,6 +469,9 @@ find %_docdir -maxdepth 1 -type d -name qt-3.\* -exec rm -rf {} \; #-------------------------------------------------------------------- +%if 0%{?pclinuxos} +%debug_package +%endif %prep %setup -q -n qt3-3.5.13.1 @@ -709,7 +716,7 @@ if (! \$?QT_XFT ) then endif EOF -cat >> %buildroot/%_sysconfdir/profile.d/qt3.sh << EOF +cat > %buildroot/%_sysconfdir/profile.d/qt3.sh << EOF #! /bin/bash [ -z "\$QTDIR" ] && QTDIR="%qtdir" [ -z "\$QTINC" ] && QTINC="%qtdir/include" |