]> git.pld-linux.org Git - packages/brikx.git/commitdiff
- initial release
authorlisu <lisu@pld-linux.org>
Mon, 29 Jan 2007 00:37:49 +0000 (00:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    brikx.spec -> 1.1

brikx.spec [new file with mode: 0644]

diff --git a/brikx.spec b/brikx.spec
new file mode 100644 (file)
index 0000000..34dc472
--- /dev/null
@@ -0,0 +1,58 @@
+%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@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}
This page took 0.073082 seconds and 4 git commands to generate.