]> git.pld-linux.org Git - packages/dreamchess.git/commitdiff
- initial
authorlisu <lisu@pld-linux.org>
Tue, 26 Sep 2006 20:29:27 +0000 (20:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dreamchess.spec -> 1.1

dreamchess.spec [new file with mode: 0644]

diff --git a/dreamchess.spec b/dreamchess.spec
new file mode 100644 (file)
index 0000000..88d746e
--- /dev/null
@@ -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/*
This page took 0.139593 seconds and 4 git commands to generate.