packages: openmw/openmw.spec (NEW) - initial

lisu lisu at pld-linux.org
Wed Jun 23 09:46:52 CEST 2010


Author: lisu                         Date: Wed Jun 23 07:46:52 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/openmw:
   openmw.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/openmw/openmw.spec
diff -u /dev/null packages/openmw/openmw.spec:1.1
--- /dev/null	Wed Jun 23 09:46:52 2010
+++ packages/openmw/openmw.spec	Wed Jun 23 09:46:47 2010
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+# TODO: BRs, install files
+#
+Summary:	Morrowind reimplementation
+Summary(pl.UTF-8):	Reimplemantacja gry Morrowind
+Name:		openmw
+Version:	0.07
+Release:	0.1
+License:	GPL v3+
+Group:		Applications/Emulators
+Source0:	http://downloads.sourceforge.net/openmw/%{name}-%{version}.tar.bz2
+# Source0-md5:	c40c80069c006b1e893fc74dcbefb3d9
+URL:		http://openmw.sourceforge.net/
+BuildRequires:	cmake
+BuildRequires:	ogre-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenMW is an attempt to reimplement the popular role playing game
+Morrowind. No game data is distributed with the code, the user must
+already own a copy of Morrowind to use the software.
+
+%description -l pl.UTF-8
+OpenMW ma być w założeniu próbą reimplementacji popularnej gry RPG
+Morrowind. Źródła nie zawierają plików danych, użytkownik musi
+posiadać oryginalną kopię Morrowind jeżeli chce używać tego
+oprogramowania.
+
+%prep
+%setup -q
+
+%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
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install build/openmw $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/openmw
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/06/23 07:46:47  lisu
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list