rpms/rogue/devel rogue-includes.patch, NONE, 1.1 rogue-rpmopts.patch, NONE, 1.1 rogue.desktop, NONE, 1.1 rogue.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Fri Mar 10 15:59:40 UTC 2006
Author: wart
Update of /cvs/extras/rpms/rogue/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26672/devel
Modified Files:
.cvsignore sources
Added Files:
rogue-includes.patch rogue-rpmopts.patch rogue.desktop
rogue.spec
Log Message:
auto-import rogue-5.4.2-1 on branch devel from rogue-5.4.2-1.src.rpm
rogue-includes.patch:
--- NEW FILE rogue-includes.patch ---
--- rogue/extern.h 2006-01-30 08:35:18.000000000 -0800
+++ rogue.new/extern.h 2006-02-25 21:31:27.000000000 -0800
@@ -61,6 +61,7 @@
*/
#include <stdlib.h>
+#include <string.h>
void auto_save(int);
int come_down();
rogue-rpmopts.patch:
--- NEW FILE rogue-rpmopts.patch ---
diff -Naur rogue/Makefile rogue.new/Makefile
--- rogue/Makefile 2006-01-29 18:24:39.000000000 -0800
+++ rogue.new/Makefile 2006-02-25 21:19:41.000000000 -0800
@@ -38,7 +38,7 @@
CC = gcc
ROPTS = -DALLSCORES -DSCOREFILE
-COPTS = -O3
+COPTS := -O3
CFLAGS= $(COPTS) $(ROPTS)
LIBS = -lcurses
RM = rm -f
--- NEW FILE rogue.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Rogue
GenericName=Rogue
Comment=The original curses-based adventure game
Exec=rogue
Icon=
Terminal=true
Type=Application
Categories=Application;Game;
Version=5.4.2
--- NEW FILE rogue.spec ---
Name: rogue
Version: 5.4.2
Release: 1%{?dist}
Summary: The original graphical adventure game
Group: Amusements/Games
License: BSD
URL: http://roguelike.sourceforge.net/
Source0: http://dl.sourceforge.net/sourceforge/roguelike/rogue5.4.2-src.tar.gz
Source1: rogue.desktop
Patch0: rogue-rpmopts.patch
Patch1: rogue-includes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
#Requires:
%description
The one, the only, the original graphical adventure game that spawned
an entire genre.
%prep
%setup -q -c -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%{__sed} -i 's/\r//' rogue54.html
%{__sed} -i 's/\r//' readme54.html
chmod a-x *.c *.h
%build
make COPTS="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
install -pD -m 0755 rogue54 $RPM_BUILD_ROOT/%{_bindir}/rogue
install -pD rogue.6 $RPM_BUILD_ROOT/%{_mandir}/man6/rogue.6
mkdir -p $RPM_BUILD_ROOT/%{_var}/games/roguelike
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--add-category X-Fedora \
%{SOURCE1}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%attr(2755,games,games) %{_bindir}/rogue
%{_mandir}/man6/rogue.6.gz
%{_datadir}/applications/fedora-%{name}.desktop
%dir %attr(0775,games,games) %{_var}/games/roguelike
%doc LICENSE.TXT rogue54.doc rogue54.html readme54.html
%changelog
* Sat Feb 25 2006 Wart <wart at kobold.org> 5.4.2-1
- Initial spec file.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rogue/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 10 Mar 2006 15:59:08 -0000 1.1
+++ .cvsignore 10 Mar 2006 15:59:40 -0000 1.2
@@ -0,0 +1 @@
+rogue5.4.2-src.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rogue/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Mar 2006 15:59:08 -0000 1.1
+++ sources 10 Mar 2006 15:59:40 -0000 1.2
@@ -0,0 +1 @@
+bd656cb017a579eba835a0ee445a0a32 rogue5.4.2-src.tar.gz
More information about the fedora-extras-commits
mailing list