tinyfugue/tinyfugue.spec

52 lines
1.3 KiB
RPMSpec

%define packageversion 50b7
Name: tinyfugue
Version: 5.0
Release: 0.2.b7
Summary: A MU* client
Group: Applications/Internet
License: GPL
URL: http://tf.tcp.com/
Source: http://ftp.tcp.com/pub/mud/Clients/tinyfugue/tf-%{packageversion}.tar.gz
Patch0: tf-50b7.build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pcre-devel openssl-devel
%description
TinyFugue is the ubiquitous MUD/MOO/MUSH/MUCK/etc client for UNIX. This client
allows you to interact with multiple worlds simultaneously, create command
macros, and create hooks and triggers for automated responses to game messages.
%prep
%setup -q -n tf-%{packageversion}
# TinyFugue's build system is abysmal. Kluge it to honor $DESTDIR
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}
make install DESTDIR=$RPM_BUILD_ROOT
install -pD src/tf.1.nroffman $RPM_BUILD_ROOT%{_mandir}/man1/tf.1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/tf
%{_datadir}/tf-lib/
%{_mandir}/man1/tf.1*
%doc CHANGES COPYING CREDITS README
%changelog
* Wed Feb 22 2006 Callum Lerwick <seg@haxxed.com> - 5.0-0.2.b7
- Removed Epoch.
* Sun Jan 29 2006 Callum Lerwick <seg@haxxed.com> - 0:5.0-0.1.b7
- Initial packaging.