summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/koffice-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2018-09-04 21:44:28 +0200
committerFrançois Andriot <[email protected]>2018-09-04 21:44:28 +0200
commit8d17db2e0995db07518fec7e5fd3a568e9da769c (patch)
tree8ff3b3ae40b3e2a6bd29ce98b02b896da0bb3647 /redhat/applications/koffice/koffice-14.0.0.spec
parentce92126deea3247ae8daddc4427a081ac44504e1 (diff)
downloadtde-packaging-8d17db2e0995db07518fec7e5fd3a568e9da769c.tar.gz
tde-packaging-8d17db2e0995db07518fec7e5fd3a568e9da769c.zip
RPM: update packages for PCLinuxOS 2018
Diffstat (limited to 'redhat/applications/koffice/koffice-14.0.0.spec')
-rw-r--r--redhat/applications/koffice/koffice-14.0.0.spec19
1 files changed, 15 insertions, 4 deletions
diff --git a/redhat/applications/koffice/koffice-14.0.0.spec b/redhat/applications/koffice/koffice-14.0.0.spec
index 1404ebb31..ce0cec112 100644
--- a/redhat/applications/koffice/koffice-14.0.0.spec
+++ b/redhat/applications/koffice/koffice-14.0.0.spec
@@ -113,16 +113,27 @@ BuildRequires: OpenEXR-devel
BuildRequires: libexif-devel
BuildRequires: readline-devel
+# LCMS support
+%if 0%{?suse_version} || 0%{?rhel} >= 7
+BuildRequires: liblcms-devel
+%else
+BuildRequires: lcms-devel
+%endif
+
+# LCMS2 support
%if 0%{?suse_version}
-BuildRequires: libbz2-devel
-BuildRequires: liblcms-devel
BuildRequires: liblcms2-devel
+%endif
+
+# BZIP2 support
+%if 0%{?suse_version}
+BuildRequires: libbz2-devel
%else
BuildRequires: bzip2-devel
-BuildRequires: lcms-devel
+%endif
+# PAPER support
BuildRequires: libpaper-devel
-%endif
# RUBY support
%if 0%{?with_ruby}