Name: lm-solve Version: [[VERSION]] Release: 1 Group: Amusement/Games Source: http://vipe.technion.ac.il/~shlomif/lm-solve/Games-LMSolve-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-buildroot Requires: perl URL: http://vipe.technion.ac.il/~shlomif/lm-solve/ Prefix: %{_prefix} License: Public Domain BuildArch: noarch Summary: Perl-based solver for various types of logic mazes %description LM-Solve is a solver for various types of Logic Mazes as features on the Logic Mazes site (http://www.logicmazes.com/). Currently it supports Alice Mazes, Number Mazes, Plank Puzzles, Theseus and the Minotaur Mazes and three type of Tilt Mazes (single goal, multiple goals and red-blue tilt puzzles) %prep %setup -q -n Games-LMSolve-%{version} %build # %{__perl} Makefile.PL PREFIX=%{prefix} INST_MAN1DIR=%{_mandir}/man1 INST_MAN3DIR=%{_mandir}/man3 < /dev/null %{__perl} Makefile.PL PREFIX=%{prefix} < /dev/null make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix} make test %install rm -rf $RPM_BUILD_ROOT %makeinstall PREFIX=$RPM_BUILD_ROOT%{prefix} INSTALLMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALLSITEMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALLVENDORMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 rm -f `find $RPM_BUILD_ROOT -name perllocal.pod` %clean rm -fr $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc README TODO MANIFEST COPYING INSTALL %{_bindir}/* %{_mandir}/*/* %{_libdir}/perl5/site_perl/*/Games %changelog * Mon Jul 21 2003 Shlomi Fish 0.7.4-1 - Adapted to the new namespace. - Added some MAN1DIR's to the make install to get it to install the man page properly * Sat Jul 27 2002 Shlomi Fish 0.5.3-1 - First working version of the SPEC.