summaryrefslogtreecommitdiffstats
path: root/redhat/kdepim/trinity-kdepim-3.5.13.spec
diff options
context:
space:
mode:
authoralbator <[email protected]>2011-11-05 11:51:11 +0100
committeralbator <[email protected]>2011-11-05 11:51:11 +0100
commit1f3a44f73fa43d3c30f47ff8c4f5c414d83f4765 (patch)
tree7ad3b7f721831fc2a02c3c84399362dcb9d96e96 /redhat/kdepim/trinity-kdepim-3.5.13.spec
parent43240f192dbdd0c0d267bc7c4a96f123704f0e2b (diff)
downloadtde-packaging-1f3a44f73fa43d3c30f47ff8c4f5c414d83f4765.tar.gz
tde-packaging-1f3a44f73fa43d3c30f47ff8c4f5c414d83f4765.zip
Redhat 32 Bits small fixes
Diffstat (limited to 'redhat/kdepim/trinity-kdepim-3.5.13.spec')
-rw-r--r--redhat/kdepim/trinity-kdepim-3.5.13.spec21
1 files changed, 19 insertions, 2 deletions
diff --git a/redhat/kdepim/trinity-kdepim-3.5.13.spec b/redhat/kdepim/trinity-kdepim-3.5.13.spec
index 2e5b04d8d..a2fb37818 100644
--- a/redhat/kdepim/trinity-kdepim-3.5.13.spec
+++ b/redhat/kdepim/trinity-kdepim-3.5.13.spec
@@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
-%define release 1
+%define release 2
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@@ -15,6 +15,13 @@ BuildRequires: cmake >= 2.8
%define tde_docdir %{_docdir}/kde
%define tde_libdir %{_libdir}/trinity
+# KDEPIM specific features
+%if 0%{?fedora}
+%define with_gnokii 1
+%else
+%define with_gnokii 0
+%endif
+
Name: trinity-kdepim
Version: %{?version}
@@ -38,12 +45,15 @@ BuildRequires: gpgme-devel
BuildRequires: libgpg-error-devel
BuildRequires: flex
BuildRequires: libical-devel
-BuildRequires: gnokii-devel
BuildRequires: boost-devel
BuildRequires: libcaldav-devel
BuildRequires: libcarddav-devel
+%if 0%{?with_gnokii}
+BuildRequires: gnokii-devel
+%endif
+
%if 0%{?fedora} >= 15
BuildRequires: flex-static
%else
@@ -85,7 +95,11 @@ cd build
-DWITH_ARTS=ON \
-DWITH_SASL=ON \
-DWITH_NEWDISTRLISTS=ON \
+%if 0%{?with_gnokii}
-DWITH_GNOKII=ON \
+%else
+ -DWITH_GNOKII=OFF \
+%endif
-DWITH_EXCHANGE=ON \
-DWITH_EGROUPWARE=ON \
-DWITH_KOLAB=ON \
@@ -151,6 +165,9 @@ export PATH="%{_bindir}:${PATH}"
%{_datadir}/cmake/*.cmake
%changelog
+* Fri Nov 04 2011 Francois Andriot <[email protected]> - 3.5.13-2
+- Updates BuildRequires
+
* Sun Oct 30 2011 Francois Andriot <[email protected]> - 3.5.13-1
- Initial release for RHEL 6, RHEL 5 and Fedora 15