From 5b46b6a94ea90adf78caa5d81fef82f31022e210 Mon Sep 17 00:00:00 2001 From: lisu Date: Tue, 26 Sep 2006 20:29:27 +0000 Subject: [PATCH] - initial Changed files: dreamchess.spec -> 1.1 --- dreamchess.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 dreamchess.spec diff --git a/dreamchess.spec b/dreamchess.spec new file mode 100644 index 0000000..88d746e --- /dev/null +++ b/dreamchess.spec @@ -0,0 +1,60 @@ +Summary: 3D chess game for X-Window +Summary(pl): Trójwymiarowe szachy dla X-Window +Name: dreamchess +Version: 0.1.0 +Release: 1 +License: GPL v2 +Group: X11/Applications/Games +Source0: http://download.berlios.de/dreamchess/%{name}-%{version}.tar.gz +# Source0-md5: 0c265cbd95c003d478f7825581742765 +Source1: %{name}.desktop +URL: http://www.dreamchess.org/ +BuildRequires: SDL-devel +BuildRequires: SDL_image-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: zlib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +DreamChess is an open source chess game. It features 3D OpenGL +graphics and provides various chess board sets, ranging from classic +wooden to flat figurines. + +%description -l pl +DreamChess jest darmow± gr± posiadaj±c± otwarte ¼ród³a. Gra posiada +grafikê 3D OpenGL i dostarcza zró¿nicowane zestawy szachowe, pocz±wszy +od klasycznej drewnianej planszy i standardowych figur. + +%prep +%setup -q + +%build +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} +install desktop/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/* +%{_datadir}/%{name} +%{_desktopdir}/%{name}.desktop +%{_pixmapsdir}/%{name}.png +%{_mandir}/man6/* -- 2.44.0