Source

LM-Solve Source / lm-solve.spec.in

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 <shlomif@vipe.technion.ac.il> 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 <shlomif@vipe.technion.ac.il> 0.5.3-1
- First working version of the SPEC.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.