Author: lisu Date: Wed Dec 24 09:13:48 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial. happy christmas :-)
---- Files affected: SPECS: WordZ.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/WordZ.spec diff -u /dev/null SPECS/WordZ.spec:1.1 --- /dev/null Wed Dec 24 10:13:48 2008 +++ SPECS/WordZ.spec Wed Dec 24 10:13:42 2008 @@ -0,0 +1,60 @@ +# $Revision$, $Date$ +Summary: Clone of zwordz game +Summary(pl.UTF-8): Klon gry zwordz +Name: WordZ +Version: 0.1 +Release: 1 +License: GPL +Group: X11/Applications/Games +Source0: http://www.nooskewl.com/stuff/downloads/%{name}-src-%{version}.zip +# Source0-md5: 7daf77559740a0a204e0a2b3c7ebcad6 +Patch0: %{name}-Makefile.patch +URL: http://www.nooskewl.com/ +BuildRequires: OpenGL-GLU-devel +BuildRequires: OpenGL-devel +BuildRequires: SDL-devel +BuildRequires: sed >= 4.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Simple crossword game. + +%description -l pl.UTF-8 +Prosta gra krzyżówkowa. + +%prep +%setup -q -n Wordz-src +%patch0 -p1 +%{__sed} -i 's...@getenv("WORDZ_DATA")@"%{_datadir}/%{name}"@' wordz.cpp + +%build +%{__make} linux \ + CXX="%{__cxx}" \ + CFLAGS="%{rpmcxxflags}" \ + LDFLAGS="%{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} + +cp wordz $RPM_BUILD_ROOT%{_bindir} +cp data/* $RPM_BUILD_ROOT%{_datadir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/wordz +%{_datadir}/%{name} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008/12/24 09:13:42 lisu +- initial. happy christmas :-) + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
