auto-import tinyfugue-5.0-0.2.b7 on branch devel from

tinyfugue-5.0-0.2.b7.src.rpm
This commit is contained in:
Callum Lerwick 2006-02-28 19:28:42 +00:00
parent df9ebd07a1
commit 72b448e4c5
4 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1 @@
tf-50b7.tar.gz

View File

@ -0,0 +1 @@
6652b7eda8a200d28e8184c1659137a2 tf-50b7.tar.gz

21
tf-50b7.build.patch Normal file
View File

@ -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~

51
tinyfugue.spec Normal file
View File

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