From 72b448e4c547770fdde6f29de247bb3b42b9a0c0 Mon Sep 17 00:00:00 2001 From: Callum Lerwick Date: Feb 28 2006 19:28:42 +0000 Subject: auto-import tinyfugue-5.0-0.2.b7 on branch devel from tinyfugue-5.0-0.2.b7.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..8618d13 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tf-50b7.tar.gz diff --git a/sources b/sources index e69de29..00001a2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6652b7eda8a200d28e8184c1659137a2 tf-50b7.tar.gz diff --git a/tf-50b7.build.patch b/tf-50b7.build.patch new file mode 100644 index 0000000..3b546e4 --- /dev/null +++ b/tf-50b7.build.patch @@ -0,0 +1,21 @@ +diff -ur tf-50b7.orig/unix/vars.mak.in tf-50b7.patch/unix/vars.mak.in +--- tf-50b7.orig/unix/vars.mak.in 2005-04-17 22:15:56.000000000 -0500 ++++ tf-50b7.patch/unix/vars.mak.in 2006-01-28 21:30:07.000000000 -0600 +@@ -12,11 +12,11 @@ + + # @configure_input@ + +-prefix = @prefix@ +-exec_prefix= @exec_prefix@ +-bindir = @bindir@ +-datadir = @datadir@ +-mandir = @mandir@ ++prefix = ${DESTDIR}@prefix@ ++exec_prefix= ${DESTDIR}@exec_prefix@ ++bindir = ${DESTDIR}@bindir@ ++datadir = ${DESTDIR}@datadir@ ++mandir = ${DESTDIR}@mandir@ + + TFVERSION = @TFVERSION@ + X = @EXEEXT@ +Only in tf-50b7.patch/unix: vars.mak.in~ diff --git a/tinyfugue.spec b/tinyfugue.spec new file mode 100644 index 0000000..abe203a --- /dev/null +++ b/tinyfugue.spec @@ -0,0 +1,51 @@ +%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 - 5.0-0.2.b7 +- Removed Epoch. + +* Sun Jan 29 2006 Callum Lerwick - 0:5.0-0.1.b7 +- Initial packaging.