Blob Blame History Raw
Name:           xmountains
Version:        2.8
Release:        1%{?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

%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
* Fri Nov  6 2009 Ian Weller <ian@ianweller.org> - 2.8-1
- 2.8

* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* 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.