summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlisu2006-10-20 21:45:26 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit357962b2b44cefc0058bac4e0ed45311175e5ac2 (patch)
treeb3279096daf53138472f5a21b77d2b6619ef29ca
downloadnjam-357962b2b44cefc0058bac4e0ed45311175e5ac2.zip
njam-357962b2b44cefc0058bac4e0ed45311175e5ac2.tar.gz
- new
Changed files: njam.spec -> 1.1
-rw-r--r--njam.spec57
1 files changed, 57 insertions, 0 deletions
diff --git a/njam.spec b/njam.spec
new file mode 100644
index 0000000..6fceb9a
--- /dev/null
+++ b/njam.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without SDL_mixer # build without SDL_mixer
+#
+Summary: Fast paced multiplayer pacman clone
+Summary(pl): Sieciowy klon pacmana o szybkim tempie
+Name: njam
+Version: 1.25
+Release: 1
+License: GPL v2
+Group: X11/Applications/Games
+Source0: http://dl.sourceforge.net/njam/%{name}-%{version}-src.tar.gz
+# Source0-md5: 231fda022d309e1ef4a0d993ca693462
+URL: http://njam.sourceforge.net/
+BuildRequires: SDL-devel
+BuildRequires: SDL_image-devel
+%{?with_SDL_mixer:BuildRequires: SDL_mixer-devel}
+BuildRequires: SDL_net-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Njam is fast-paced pac-man-like game. In this arcade you move through
+the maze eating cookies and collecting powerups while trying to avoid
+ghosts who chase you.
+
+%description -l pl
+Njam jest posiadającą szybkie tempo grą z rodzaju pac-man. W tej
+zręcznościówce poruszasz się po labiryncie zbierając ciastka i bonusy,
+starając się przy okazji unikać ścigających cię duchów.
+
+%prep
+%setup -q -n %{name}-%{version}-src
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__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 ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}