SPECS: nifticlib.spec - added cmake patch, pass libdir in proper v...
qboosh
qboosh at pld-linux.org
Sun Jan 20 16:24:55 CET 2008
Author: qboosh Date: Sun Jan 20 15:24:55 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added cmake patch, pass libdir in proper variable
(welcome to cmake: how libdir is called in this project?)
---- Files affected:
SPECS:
nifticlib.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/nifticlib.spec
diff -u SPECS/nifticlib.spec:1.1 SPECS/nifticlib.spec:1.2
--- SPECS/nifticlib.spec:1.1 Sun Jan 20 16:02:24 2008
+++ SPECS/nifticlib.spec Sun Jan 20 16:24:50 2008
@@ -9,6 +9,7 @@
Source0: http://dl.sourceforge.net/niftilib/%{name}-%{version}.tar.gz
# Source0-md5: 4d0828e5783df40fb98b8dd6edc11ebb
Patch0: %{name}-link.patch
+Patch1: %{name}-cmake.patch
URL: http://niftilib.sourceforge.net/
BuildRequires: cmake
BuildRequires: zlib-devel
@@ -47,6 +48,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%cmake . \
@@ -54,7 +56,7 @@
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_SKIP_RPATH=1 \
-DCMAKE_VERBOSE_MAKEFILE=1 \
- -DLIB_INSTALL_DIR=%{_libdir}
+ -DNIFTI_INSTALL_LIB_DIR=%{_libdir}
%install
rm -rf $RPM_BUILD_ROOT
@@ -93,5 +95,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2008-01-20 15:24:50 qboosh
+- added cmake patch, pass libdir in proper variable
+ (welcome to cmake: how libdir is called in this project?)
+
Revision 1.1 2008-01-20 15:02:24 qboosh
- new
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nifticlib.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list