Name: xmountains
Version: 2.7
Release: 3%{?dist}
Summary: A fractal terrain generator
Group: Amusements/Graphics
License: MIT
URL: http://www2.epcc.ed.ac.uk/~spb/xmountains/
Source0: http://www2.epcc.ed.ac.uk/~spb/xmountains/xmountains_%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xorg-x11-xbitmaps
BuildRequires: xorg-x11-proto-devel
BuildRequires: libX11-devel
BuildRequires: imake
#Requires:
%description
Xmountains is a fractal terrain generator written by Stephen Booth.
%prep
%setup -q -c
%build
xmkmf
make %{?_smp_mflags} CCOPTIONS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
make install.man DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" INSTMANFLAGS="-m 0644"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/xmountains
%doc README copyright.h
%{_mandir}/man1/xmountains.1x.gz
%changelog
* Wed Mar 19 2008 Ian Weller <ianweller@gmail.com> 2.7-3
- License correction
- Removed redundant doc identifier
- Honored Fedora specific compilation flags
- Fixed permissions on man page
* Wed Mar 19 2008 Ian Weller <ianweller@gmail.com> 2.7-2
- Added some (should-be) obvious BuildRequires
* Wed Mar 19 2008 Ian Weller <ianweller@gmail.com> 2.7-1
- First package build.