SPECS: brikx.spec (NEW) - initial release
lisu
lisu at pld-linux.org
Mon Jan 29 01:37:55 CET 2007
Author: lisu Date: Mon Jan 29 00:37:55 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial release
---- Files affected:
SPECS:
brikx.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/brikx.spec
diff -u /dev/null SPECS/brikx.spec:1.1
--- /dev/null Mon Jan 29 01:37:55 2007
+++ SPECS/brikx.spec Mon Jan 29 01:37:49 2007
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+%define _beta beta2
+Summary: Puzzle game
+Summary(pl): Gra logiczna
+Name: brikx
+Version: 0.1
+Release: 0.%{_beta}.1
+License: GPL v2+
+Group: X11/Applications/Games
+Source0: http://dl.sourceforge.net/brikx/%{name}-%{version}%{_beta}.tar.bz2
+# Source0-md5: f1b71c6d5ac7960a1e44416e850e05bc
+URL: http://sourceforge.net/projects/brikx
+BuildRequires: SDL-devel
+BuildRequires: SDL_image-devel
+BuildRequires: SDL_ttf-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: freetype
+BuildRequires: sed >= 4.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A small puzzle game in which your goal is to remove all tiles. You are
+held up by other tiles, gravity, walls, and other things.
+
+%description -l pl
+Mała gra logiczna, w której celem gracza jest pozbycie się wszystkich
+kulek. W dokonaniu tego przeszkadzają inne kulki, grawitacja, ściany
+oraz inne rzeczy.
+
+%prep
+%setup -q -n %{name}-%{version}%{_beta}
+%{__sed} -i 's at data@%{_datadir}/%{name}@' src/brikx.h
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+cp -r src/data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog
+%attr(755,root,root) %{_bindir}/%{name}
+%{_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 2007/01/29 00:37:49 lisu
+- initial release
+
================================================================
More information about the pld-cvs-commit
mailing list