%define name evolver %define version 2.30c %define release %mkrel 1 Name: %name Version: %version Release: %release Summary: Surface Evolver is an interactive program for the modelling of liquid surfaces shaped by various forces and constraints BuildRoot: %{_tmppath}/%{name}-%{version}-build License: GPL URL: http://www.susqu.edu/brakke/evolver/ Group: Sciences/Physics Source0: http://www.susqu.edu/brakke/aux/downloads/%name-%{version}.tar.gz Requires: libmesaglut3 BuildRequires: libmesaglut3-devel libreadline-devel %description foobar %prep %setup -c %build cd src export "CFLAGS= -DLINUX -DOOGL -DPTHREADS -DUSE_READLINE" export "GRAPH= glutgraph.o " export "GRAPHLIB= -lGL -lGLU -lglut -lpthread -lcurses -L/usr/lib/curses -lreadline" %make cd - install -d -m755 %{buildroot}%{_bindir} install -m755 src/%{name} %{buildroot}%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %{_bindir}/* %{_mandir}/man1/evolver.1* %doc README