RPM Packaging: update tdepim

pull/3/head
François Andriot 11 years ago
parent 0744c44154
commit b40fd32b51

@ -3,8 +3,9 @@
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables %define tde_version 14.0.0
BuildRequires: cmake >= 2.8
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
@ -29,7 +30,7 @@ BuildRequires: gnokii-devel
Name: trinity-tdepim Name: trinity-tdepim
Version: 14.0.0 Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPL License: GPL
Group: Applications/Productivity Group: Applications/Productivity
@ -53,6 +54,7 @@ BuildRequires: trinity-tdelibs-devel >= %{version}
BuildRequires: trinity-libcaldav-devel BuildRequires: trinity-libcaldav-devel
BuildRequires: trinity-libcarddav-devel BuildRequires: trinity-libcarddav-devel
BuildRequires: cmake >= 2.8
BuildRequires: gpgme-devel BuildRequires: gpgme-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
BuildRequires: flex BuildRequires: flex
@ -2185,7 +2187,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%prep %prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch14 -p1 -b .ldflags #patch14 -p1 -b .ldflags
%build %build
@ -2205,12 +2207,19 @@ cd build
%endif %endif
%cmake \ %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} \ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
-DBIN_INSTALL_DIR=%{tde_bindir} \ -DBIN_INSTALL_DIR=%{tde_bindir} \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
-DCMAKE_SKIP_RPATH="OFF" \ \
-DWITH_ARTS=ON \ -DWITH_ARTS=ON \
-DWITH_SASL=ON \ -DWITH_SASL=ON \
-DWITH_NEWDISTRLISTS=ON \ -DWITH_NEWDISTRLISTS=ON \
@ -2235,6 +2244,7 @@ cd build
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
%install %install
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
@ -2246,5 +2256,5 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog %changelog
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1 * Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
- Initial release for TDE 3.5.13.2 - Initial release for TDE 14.0.0

Loading…
Cancel
Save