projects
/
wumpus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
207c035
)
Improved RPM packaging.
1-3
author
Sean Reifschneider
<jafo-rpms@tummy.com>
Mon, 29 Dec 2003 11:18:46 +0000
(11:18 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 29 Dec 2003 11:18:46 +0000
(11:18 +0000)
wumpus.spec
patch
|
blob
|
history
diff --git
a/wumpus.spec
b/wumpus.spec
index 3f82a9a1cac673909c9c8b107193e13078f0546b..cd11a1a364b6ee703811dc206513c05ace1c1b34 100644
(file)
--- a/
wumpus.spec
+++ b/
wumpus.spec
@@
-1,12
+1,12
@@
Summary: faithful transcription of the 1974 Atari Wumpus game
Name: wumpus
Summary: faithful transcription of the 1974 Atari Wumpus game
Name: wumpus
-Version:
%{myversion}
+Version:
1.3
Release: 1
License: GPL
Group: Games
URL: http://www.catb.org/~esr/wumpus/
Source0: %{name}-%{version}.tar.gz
Release: 1
License: GPL
Group: Games
URL: http://www.catb.org/~esr/wumpus/
Source0: %{name}-%{version}.tar.gz
-%undefine __check_files
+BuildRoot: %{_tmppath}/%{name}-root
%description
WUMPUS is a bit of retrocomputing nostalgia. It is an *exact* clone, even
%description
WUMPUS is a bit of retrocomputing nostalgia. It is an *exact* clone, even
@@
-19,18
+19,30
@@
Superhack is a structurally similar game with a different premise.
%build
make
%build
make
+make wumpus.6
%install
%install
-make install
+[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
+mkdir -p "$RPM_BUILD_ROOT"/usr/bin
+mkdir -p "$RPM_BUILD_ROOT"/usr/share/man/man6/
+cp wumpus superhack "$RPM_BUILD_ROOT"/usr/bin
+cp wumpus.6 "$RPM_BUILD_ROOT"/usr/share/man/man6/
+
+%clean
+[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root,-)
%doc README
%files
%defattr(-,root,root,-)
%doc README
-
/usr/bin
/wumpus
-
/usr/bin
/superhack
-/usr/share/man/man6/wumpus.6
+
%{_bindir}
/wumpus
+
%{_bindir}
/superhack
+%{_mandir}/man6/wumpus.6*
%changelog
%changelog
+* Sun Dec 28 2003 Sean Reifschneider <jafo-rpms@tummy.com> 1.3
+- Changing the .spec file so that it installs under a build-root.
+- Changes so that the RPM can be built as a non-root user.
+
* Sun Dec 28 2003 Eric S. Raymond <esr@snark.thyrsus.com>
- Initial build.
* Sun Dec 28 2003 Eric S. Raymond <esr@snark.thyrsus.com>
- Initial build.