packages: ogre/ogre.spec - up to 1.7.1 - unify cmake build section
lisu
lisu at pld-linux.org
Fri Apr 30 14:08:34 CEST 2010
Author: lisu Date: Fri Apr 30 12:08:34 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.7.1
- unify cmake build section
---- Files affected:
packages/ogre:
ogre.spec (1.39 -> 1.40)
---- Diffs:
================================================================
Index: packages/ogre/ogre.spec
diff -u packages/ogre/ogre.spec:1.39 packages/ogre/ogre.spec:1.40
--- packages/ogre/ogre.spec:1.39 Fri Mar 5 16:42:00 2010
+++ packages/ogre/ogre.spec Fri Apr 30 14:08:29 2010
@@ -13,12 +13,12 @@
Summary: Object-oriented Graphics Rendering Engine
Summary(pl.UTF-8): OGRE - zorientowany obiektowo silnik renderowania grafiki
Name: ogre
-Version: 1.7.0p1
+Version: 1.7.1
Release: 0.1
License: LGPL
Group: Applications
-Source0: http://downloads.sourceforge.net/ogre/%{name}-v%{_ver}.tar.bz2
-# Source0-md5: ac06fcb8f550019f4f12e5ca27699063
+Source0: http://downloads.sourceforge.net/ogre/%{name}_src_v%{_ver}.tar.bz2
+# Source0-md5: 85083083dc65d49572654ea8c8b5c552
URL: http://www.ogre3d.org/
BuildRequires: CEGUI-devel
BuildRequires: FreeImage-devel
@@ -74,15 +74,17 @@
Przykłady do OGRE.
%prep
-%setup -q -n %{name}
+%setup -q -n %{name}_src_v%{_ver}
%build
install -d build
cd build
%cmake .. \
- -DCMAKE_INSTALL_PREFIX="%{_prefix}"
-
-%{__make}
+ -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+ -DLIB_SUFFIX=64
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -138,6 +140,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.40 2010/04/30 12:08:29 lisu
+- up to 1.7.1
+- unify cmake build section
+
Revision 1.39 2010/03/05 15:42:00 lisu
- cosmetics
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ogre/ogre.spec?r1=1.39&r2=1.40&f=u
More information about the pld-cvs-commit
mailing list