packages: openmw/openmw.spec - up to 0.08 - drop cmake options provided by ...

lisu lisu at pld-linux.org
Mon Sep 20 13:47:59 CEST 2010


Author: lisu                         Date: Mon Sep 20 11:47:59 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.08
- drop cmake options provided by %%cmake macro
- drop -Wall and -Werror flags
- BR: libmpg123-devel

---- Files affected:
packages/openmw:
   openmw.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/openmw/openmw.spec
diff -u packages/openmw/openmw.spec:1.2 packages/openmw/openmw.spec:1.3
--- packages/openmw/openmw.spec:1.2	Mon Jul 19 16:05:01 2010
+++ packages/openmw/openmw.spec	Mon Sep 20 13:47:54 2010
@@ -5,15 +5,18 @@
 Summary:	Morrowind reimplementation
 Summary(pl.UTF-8):	Reimplemantacja gry Morrowind
 Name:		openmw
-Version:	0.07
+Version:	0.08
 Release:	0.1
 License:	GPL v3+
 Group:		Applications/Emulators
-Source0:	http://downloads.sourceforge.net/openmw/%{name}-%{version}.tar.bz2
-# Source0-md5:	c40c80069c006b1e893fc74dcbefb3d9
+Source0:	http://downloads.sourceforge.net/openmw/%{name}-%{version}.1-source.tar.bz2
+# Source0-md5:	f07e77fc1354b3a9b511f3a71194af1b
+Patch0:		%{name}-werror.patch
 URL:		http://openmw.com/
 BuildRequires:	cmake
+BuildRequires:	libmpg123-devel
 BuildRequires:	ogre-devel
+BuildRequires:	rpmbuild(macros) >= 1.577
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,16 +32,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
 cd build
-%cmake .. \
-	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if "%{_lib}" == "lib64"
-	-DLIB_SUFFIX=64
-%endif
+%cmake ..
 
 %{__make}
 
@@ -61,6 +60,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/09/20 11:47:54  lisu
+- up to 0.08
+- drop cmake options provided by %%cmake macro
+- drop -Wall and -Werror flags
+- BR: libmpg123-devel
+
 Revision 1.2  2010/07/19 14:05:01  lisu
 - new URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openmw/openmw.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list