Author: laxathom
Update of /cvs/free/rpms/scottfree/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv19149/devel
Modified Files:
.cvsignore sources
Added Files:
scottfree-1.14.diff scottfree.spec
Log Message:
Initial Import.
scottfree-1.14.diff:
--- NEW FILE scottfree-1.14.diff ---
--- scottfree-1.14.orig/Makefile
+++ scottfree-1.14/Makefile
@@ -4,11 +4,16 @@
CC = gcc
#
#
-all : ScottCurses
+all : scottfree
ScottCurses.o: ScottCurses.c Scott.h
-ScottCurses: ScottCurses.o
- $(CC) ScottCurses.o -o ScottCurses -lcurses -ltermcap
+scottfree: ScottCurses.o
+ $(CC) ScottCurses.o -o scottfree -lcurses
+install:
+ mkdir -p $(DESTDIR)/usr/bin
+ install -m 755 scottfree $(DESTDIR)/usr/bin
+clean:
+ rm -f ScottCurses.o scottfree
--- scottfree-1.14.orig/ScottCurses.c
+++ scottfree-1.14/ScottCurses.c
@@ -20,6 +20,8 @@
#include <curses.h>
#include <stdarg.h>
#include <signal.h>
+#include <unistd.h>
+#include <sys/types.h>
#include "Scott.h"
--- NEW FILE scottfree.spec ---
Summary: Interpreter for Scott Adams format text adventure games
Name: scottfree
Version: 1.14
Release: 2%{?dist}
License: GPL
Group: Amusements/Games
Source: ftp://ftp.gmd.de/if-archive/scott-adams/ScottFree.tar.gz
Patch: scottfree-1.14.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
%description
ScottFree is an interpreter for Scott-Adams-format text adventure games
(remember those?). It reads and executes TRS-80 format data files.
Most Adventure International Games are distributed as shareware and are
available from ftp://ftp.gmd.de/if-archive/scott-adams/
%prep
%setup -q -c
%patch -p1
chmod 644 *
%build
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/scottfree
%doc README Definition
%changelog
* Mon Oct 09 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.14-2%{?dist}
- changed patch name to lowercase to match RPM name
- changed group to "Amusements/Games"
- added %%{?_smp_mflags} to make invocation to speed up SMP builds
* Sat Oct 07 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.14-1%{?dist}
- initial package based on the old RH 5.2 package and a patch from Debian
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/scottfree/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 12:34:14 -0000 1.1
+++ .cvsignore 19 Jul 2008 15:13:58 -0000 1.2
@@ -0,0 +1 @@
+ScottFree.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/scottfree/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 12:34:14 -0000 1.1
+++ sources 19 Jul 2008 15:13:58 -0000 1.2
@@ -0,0 +1 @@
+d7802a1fee4dc81d35eca76b75cac8eb ScottFree.tar.gz
Show replies by date