From b40fd32b5156a6f16f5da68d1fb5b2dcbd2a3cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Fri, 2 Aug 2013 10:35:28 +0200 Subject: RPM Packaging: update tdepim --- redhat/tdepim/tdepim-14.0.0.spec | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'redhat/tdepim/tdepim-14.0.0.spec') diff --git a/redhat/tdepim/tdepim-14.0.0.spec b/redhat/tdepim/tdepim-14.0.0.spec index 9f54b7f24..b7dee3de5 100644 --- a/redhat/tdepim/tdepim-14.0.0.spec +++ b/redhat/tdepim/tdepim-14.0.0.spec @@ -3,8 +3,9 @@ %define _variant .opt %endif -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 +%define tde_version 14.0.0 + +# TDE specific building variables %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc @@ -29,7 +30,7 @@ BuildRequires: gnokii-devel Name: trinity-tdepim -Version: 14.0.0 +Version: %{tde_version} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} License: GPL Group: Applications/Productivity @@ -53,6 +54,7 @@ BuildRequires: trinity-tdelibs-devel >= %{version} BuildRequires: trinity-libcaldav-devel BuildRequires: trinity-libcarddav-devel +BuildRequires: cmake >= 2.8 BuildRequires: gpgme-devel BuildRequires: libgpg-error-devel BuildRequires: flex @@ -2185,7 +2187,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch14 -p1 -b .ldflags +#patch14 -p1 -b .ldflags %build @@ -2205,12 +2207,19 @@ cd build %endif %cmake \ + -DCMAKE_BUILD_TYPE="" \ + -DCMAKE_C_FLAGS="-DNDEBUG" \ + -DCMAKE_CXX_FLAGS="-DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ -DBIN_INSTALL_DIR=%{tde_bindir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ + \ -DWITH_ARTS=ON \ -DWITH_SASL=ON \ -DWITH_NEWDISTRLISTS=ON \ @@ -2235,6 +2244,7 @@ cd build %__make %{?_smp_mflags} || %__make + %install export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{?buildroot} @@ -2246,5 +2256,5 @@ export PATH="%{tde_bindir}:${PATH}" %changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 +* Fri Jul 05 2013 Francois Andriot - 14.0.0-1 +- Initial release for TDE 14.0.0 -- cgit v1.2.1