--- /dev/null
+Summary: LIB
+Name: LIB
+Version: 0.1.62
+Release: 1
+Group: Applications/Games
+License: GPL
+Source0: http://download.sourceforge.net/lib/%{name}.%{version}.tar.bz2
+URL: http://LIB.sourceforge.net/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LIB is yet another (polish) roguelike game.
+
+%description -l pl
+LIB to jeszcze jeden polski rogalik
+
+%prep
+%setup -q -n %{version}
+
+%build
+CFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -I/usr/include/ncurses"
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/{%{_prefix}/games,%{_libdir}/games/LIB,%{_datadir}/locale/en/LC_MESSAGES}
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+gzip -9nf AUTHORS ChangeLog COPYING NEWS README TODO
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_prefix}/games/LIB
+%dir %{_libdir}/games/LIB
+%{_libdir}/games/LIB/*
+%lang(en) %{_datadir}/locale/en/LC_MESSAGES/*
+%doc *.gz