summaryrefslogtreecommitdiffstats
path: root/redhat/kdegraphics
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/kdegraphics')
-rw-r--r--redhat/kdegraphics/trinity-kdegraphics-3.5.13.spec20
1 files changed, 16 insertions, 4 deletions
diff --git a/redhat/kdegraphics/trinity-kdegraphics-3.5.13.spec b/redhat/kdegraphics/trinity-kdegraphics-3.5.13.spec
index fcb49e865..c7f170f7b 100644
--- a/redhat/kdegraphics/trinity-kdegraphics-3.5.13.spec
+++ b/redhat/kdegraphics/trinity-kdegraphics-3.5.13.spec
@@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
-%define release 2
+%define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@@ -16,6 +16,11 @@ BuildRequires: cmake >= 2.8
%define tde_includedir %{_includedir}/kde
%define tde_libdir %{_libdir}/trinity
+# KDEGRAPHICS components
+%if 0%{?fedora}
+%define with_ksvg 1
+%endif
+
Name: trinity-kdegraphics
Version: %{?version}
@@ -64,8 +69,6 @@ BuildRequires: libdrm-devel
# kgamma
BuildRequires: libXxf86vm-devel
-# kuickshow
-BuildRequires: imlib-devel
#kfile-plugin
BuildRequires: OpenEXR-devel
# kpdf
@@ -76,15 +79,21 @@ BuildRequires: poppler-qt-devel
%endif
BuildRequires: libpaper-devel
# ksvg
+%if 0%{?with_ksvg}
BuildRequires: fontconfig-devel
-BuildRequires: fribidi-devel
BuildRequires: lcms-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libXmu-devel
+%endif
# kpovmodeler
BuildRequires: libGL-devel libGLU-devel libXi-devel
+# kuickshow
+BuildRequires: imlib-devel
+
+BuildRequires: fribidi-devel
+
Requires: tqtinterface
Requires: trinity-arts
Requires: trinity-kdelibs
@@ -361,6 +370,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%exclude %{_libdir}/libdjvu.so
%changelog
+* Fri Nov 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
+- Updates BuildRequires
+
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- Fix kpovmodeler compilation on RHEL 5 (patch4)