From 084fbe13f3fe730128023e0addaab78dc344a20d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 15 Sep 2010 19:53:47 +0400 Subject: * Fix paths --- CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e7fe317fd..17d826465 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -808,7 +808,7 @@ License: BSD Group: Mail Source: ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -#BuildRequires: cmake, gmime, perl, libevent +#BuildRequires: cmake, gmime-devel, glib2-devel, perl, libevent-devel, lua-devel %define prefix /usr %define rpmprefix $RPM_BUILD_ROOT%{prefix} @@ -826,10 +826,11 @@ cd %{srcdirname} rm -f CMakeCache.txt cmake -DCMAKE_INSTALL_PREFIX=%{prefix} -DDESTDIR=%{rpmprefix} . make clean -make +make DESTDIR=%{rpmprefix} CMAKE_INSTALL_PREFIX=%{prefix} + %install -make install +make DESTDIR=%{rpmprefix} CMAKE_INSTALL_PREFIX=%{prefix} install cd .. %clean -- cgit v1.2.3