SPECS: black-box.spec (NEW) - initial release

lisu lisu at pld-linux.org
Fri Dec 29 20:49:55 CET 2006


Author: lisu                         Date: Fri Dec 29 19:49:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
SPECS:
   black-box.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/black-box.spec
diff -u /dev/null SPECS/black-box.spec:1.1
--- /dev/null	Fri Dec 29 20:49:55 2006
+++ SPECS/black-box.spec	Fri Dec 29 20:49:50 2006
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	SDL_mixer	# build without SDL_mixer
+#
+Summary:	Simple logical game
+Summary(pl):	Prosta gra logiczna
+Name:		black-box
+Version:	1.4.7
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications/Games
+Source0:	http://user.cs.tu-berlin.de/~karlb/black-box/%{name}-%{version}.tar.gz
+# Source0-md5:	e17d7a0ff13adb690c6eaced99ee4d00
+URL:		http://www.linux-games.com/
+BuildRequires:	SDL-devel >= 1.2.0
+BuildRequires:	SDL_image-devel >= 1.2.0
+%{?with_SDL_mixer:BuildRequires:	SDL_mixer-devel >= 1.2.0}
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+You shoot into the black box and you can look where your shots go out
+of it. In the box crystals are reflecting your shots. You have to
+guess where the are hidden.
+
+%description -l pl
+Strzelając do czarnego boksu, gracz może obserwować, w którym miejscu
+pociski z niego wylatują. W boksie są ukryte kryształy, które odbijają
+strzały. Zadaniem gracza jest odnalezienie miejsca ukrycia każdego
+kryształu.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+
+%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  2006/12/29 19:49:50  lisu
+- initial release
+
================================================================


More information about the pld-cvs-commit mailing list