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 /redhat/kdebindings | |
parent | e7f51ead5a067b6e3ac4fc64edc734a82711f2d2 (diff) | |
download | tde-packaging-32fb770ae4ed0851491a59df5e23e27fb8afdadf.tar.gz tde-packaging-32fb770ae4ed0851491a59df5e23e27fb8afdadf.zip |
RPM: add PCLinuxOS support
Diffstat (limited to 'redhat/kdebindings')
-rw-r--r-- | redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec b/redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec index 3f0a6abf5..55c4e5b04 100644 --- a/redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec +++ b/redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec @@ -114,11 +114,21 @@ BuildRequires: ruby-devel >= 1.8, ruby %global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') ## java -%if 0%{?rhel} > 0 && 0%{?rhel} < 6 +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 BuildRequires: java-1.4.2-gcj-compat-devel BuildRequires: libgcj-devel BuildRequires: gcc-java +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} + +# PCLinuxOS use SUN's Java +%if 0%{?pclinuxos} +BuildRequires: java-1.6.0-sun +BuildRequires: java-1.6.0-sun-devel %else + +# Others use OpenJDK BuildRequires: java-openjdk BuildRequires: java-devel >= 1.4.2 %if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 @@ -126,6 +136,8 @@ BuildRequires: java-1.7.0-openjdk-devel %else BuildRequires: java-1.6.0-openjdk-devel %endif + +%endif %endif %if 0%{?suse_version} @@ -922,7 +934,7 @@ Development files for the TDE bindings. ########## -%if 0%{?suse_version} +%if 0%{?suse_version} || 0%{?pclinuxos} %debug_package %endif |