rpms/grhino/devel grhino-Makefile-in.patch, NONE, 1.1 grhino.desktop, NONE, 1.1 grhino.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michel Alexandre Salim (salimma) fedora-extras-commits at redhat.com
Sat Sep 3 23:41:00 UTC 2005


Author: salimma

Update of /cvs/extras/rpms/grhino/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7433/devel

Modified Files:
	.cvsignore sources 
Added Files:
	grhino-Makefile-in.patch grhino.desktop grhino.spec 
Log Message:
auto-import grhino-0.15.0-2.fc4 on branch devel from grhino-0.15.0-2.fc4.src.rpm

grhino-Makefile-in.patch:

--- NEW FILE grhino-Makefile-in.patch ---
diff -ru grhino-0.15.0-orig/Makefile.in grhino-0.15.0/Makefile.in
--- grhino-0.15.0-orig/Makefile.in	2005-04-15 09:03:04.000000000 -0500
+++ grhino-0.15.0/Makefile.in	2005-08-20 16:33:54.000000000 -0500
@@ -444,82 +444,82 @@
 	$(adBeginSubdir) $@ $(adEndSubdir)
 
 install_mkdir :
-	if [ ! -e "$(bindir)" ]; then		\
-		mkdir -p "$(bindir)";		\
-		chmod 755 "$(bindir)";		\
-	fi
-	if [ ! -e "$(pattern_dir)" ]; then	\
-		mkdir -p "$(pattern_dir)";	\
-		chmod 755 "$(pattern_dir)";	\
-	fi
-	if [ ! -e "$(book_dir)" ]; then		\
-		mkdir -p "$(book_dir)";		\
-		chmod 755 "$(book_dir)";	\
-	fi
-	if [ ! -e "$(theme_dir)" ]; then	\
-		mkdir -p "$(theme_dir)";	\
-		chmod 755 "$(theme_dir)";	\
-	fi
-	if [ ! -e "$(theme_dir)/small" ]; then	\
-		mkdir -p "$(theme_dir)/small";	\
-		chmod 755 "$(theme_dir)/small";	\
-	fi
-	if [ ! -e "$(helpdir)" ]; then		\
-		mkdir -p "$(helpdir)";		\
-		chmod 755 "$(helpdir)";		\
-	fi
-	if [ ! -e "$(helpdir)/C" ]; then	\
-		mkdir -p "$(helpdir)/C";	\
-		chmod 755 "$(helpdir)/C";	\
-	fi
-	if [ ! -e "$(helpdir)/C/figures" ]; then  \
-		mkdir -p "$(helpdir)/C/figures";  \
-		chmod 755 "$(helpdir)/C/figures"; \
+	if [ ! -e "$(DESTDIR)$(bindir)" ]; then		\
+		mkdir -p "$(DESTDIR)$(bindir)";		\
+		chmod 755 "$(DESTDIR)$(bindir)";		\
+	fi
+	if [ ! -e "$(DESTDIR)$(pattern_dir)" ]; then	\
+		mkdir -p "$(DESTDIR)$(pattern_dir)";	\
+		chmod 755 "$(DESTDIR)$(pattern_dir)";	\
+	fi
+	if [ ! -e "$(DESTDIR)$(book_dir)" ]; then		\
+		mkdir -p "$(DESTDIR)$(book_dir)";		\
+		chmod 755 "$(DESTDIR)$(book_dir)";	\
+	fi
+	if [ ! -e "$(DESTDIR)$(theme_dir)" ]; then	\
+		mkdir -p "$(DESTDIR)$(theme_dir)";	\
+		chmod 755 "$(DESTDIR)$(theme_dir)";	\
+	fi
+	if [ ! -e "$(DESTDIR)$(theme_dir)/small" ]; then	\
+		mkdir -p "$(DESTDIR)$(theme_dir)/small";	\
+		chmod 755 "$(DESTDIR)$(theme_dir)/small";	\
+	fi
+	if [ ! -e "$(DESTDIR)$(helpdir)" ]; then		\
+		mkdir -p "$(DESTDIR)$(helpdir)";		\
+		chmod 755 "$(DESTDIR)$(helpdir)";		\
+	fi
+	if [ ! -e "$(DESTDIR)$(helpdir)/C" ]; then	\
+		mkdir -p "$(DESTDIR)$(helpdir)/C";	\
+		chmod 755 "$(DESTDIR)$(helpdir)/C";	\
+	fi
+	if [ ! -e "$(DESTDIR)$(helpdir)/C/figures" ]; then  \
+		mkdir -p "$(DESTDIR)$(helpdir)/C/figures";  \
+		chmod 755 "$(DESTDIR)$(helpdir)/C/figures"; \
 	fi
 
 install : install_mkdir
-	-$(INSTALL_PROGRAM) grhino "$(bindir)/grhino"
-	-$(INSTALL_PROGRAM) gtp-rhino "$(bindir)/gtp-rhino"
-	$(INSTALL_DATA) "$(srcdir)/row1.bin" "$(pattern_dir)/row1.bin"
-	$(INSTALL_DATA) "$(srcdir)/row2.bin" "$(pattern_dir)/row2.bin"
-	$(INSTALL_DATA) "$(srcdir)/row3.bin" "$(pattern_dir)/row3.bin"
-	$(INSTALL_DATA) "$(srcdir)/row4.bin" "$(pattern_dir)/row4.bin"
-	$(INSTALL_DATA) "$(srcdir)/diag1.bin" "$(pattern_dir)/diag1.bin"
-	$(INSTALL_DATA) "$(srcdir)/diag2.bin" "$(pattern_dir)/diag2.bin"
-	$(INSTALL_DATA) "$(srcdir)/diag3.bin" "$(pattern_dir)/diag3.bin"
-	$(INSTALL_DATA) "$(srcdir)/diag4.bin" "$(pattern_dir)/diag4.bin"
-	$(INSTALL_DATA) "$(srcdir)/diag5.bin" "$(pattern_dir)/diag5.bin"
-	$(INSTALL_DATA) "$(srcdir)/corner5x2.bin" "$(pattern_dir)/corner5x2.bin"
-	$(INSTALL_DATA) "$(srcdir)/book.bin" "$(book_dir)/book.bin"
-	$(INSTALL_DATA) "$(srcdir)/help/C/legal.xml" "$(helpdir)/C/legal.xml"
-	-scrollkeeper-preinstall "$(helpdir)/C/grhino.xml" \
-		"$(srcdir)/help/C/grhino-C.omf.in" "$(helpdir)/C/grhino-C.omf"
-	$(INSTALL_DATA) "$(srcdir)/help/C/grhino.xml" "$(helpdir)/C/grhino.xml"
+	-$(INSTALL_PROGRAM) grhino "$(DESTDIR)$(bindir)/grhino"
+	-$(INSTALL_PROGRAM) gtp-rhino "$(DESTDIR)$(bindir)/gtp-rhino"
+	$(INSTALL_DATA) "$(srcdir)/row1.bin" "$(DESTDIR)$(pattern_dir)/row1.bin"
+	$(INSTALL_DATA) "$(srcdir)/row2.bin" "$(DESTDIR)$(pattern_dir)/row2.bin"
+	$(INSTALL_DATA) "$(srcdir)/row3.bin" "$(DESTDIR)$(pattern_dir)/row3.bin"
+	$(INSTALL_DATA) "$(srcdir)/row4.bin" "$(DESTDIR)$(pattern_dir)/row4.bin"
+	$(INSTALL_DATA) "$(srcdir)/diag1.bin" "$(DESTDIR)$(pattern_dir)/diag1.bin"
+	$(INSTALL_DATA) "$(srcdir)/diag2.bin" "$(DESTDIR)$(pattern_dir)/diag2.bin"
+	$(INSTALL_DATA) "$(srcdir)/diag3.bin" "$(DESTDIR)$(pattern_dir)/diag3.bin"
+	$(INSTALL_DATA) "$(srcdir)/diag4.bin" "$(DESTDIR)$(pattern_dir)/diag4.bin"
+	$(INSTALL_DATA) "$(srcdir)/diag5.bin" "$(DESTDIR)$(pattern_dir)/diag5.bin"
+	$(INSTALL_DATA) "$(srcdir)/corner5x2.bin" "$(DESTDIR)$(pattern_dir)/corner5x2.bin"
+	$(INSTALL_DATA) "$(srcdir)/book.bin" "$(DESTDIR)$(book_dir)/book.bin"
+	$(INSTALL_DATA) "$(srcdir)/help/C/legal.xml" "$(DESTDIR)$(helpdir)/C/legal.xml"
+	-scrollkeeper-preinstall "$(DESTDIR)$(helpdir)/C/grhino.xml" \
+		"$(srcdir)/help/C/grhino-C.omf.in" "$(DESTDIR)$(helpdir)/C/grhino-C.omf"
+	$(INSTALL_DATA) "$(srcdir)/help/C/grhino.xml" "$(DESTDIR)$(helpdir)/C/grhino.xml"
 	$(INSTALL_DATA) "$(srcdir)/help/C/figures/gamelist.png" \
-		"$(helpdir)/C/figures/gamelist.png"
+		"$(DESTDIR)$(helpdir)/C/figures/gamelist.png"
 	$(INSTALL_DATA) "$(srcdir)/help/C/figures/history.png" \
-		"$(helpdir)/C/figures/history.png"
+		"$(DESTDIR)$(helpdir)/C/figures/history.png"
 	$(INSTALL_DATA) "$(srcdir)/help/C/figures/mainwindow.png" \
-		"$(helpdir)/C/figures/mainwindow.png"
+		"$(DESTDIR)$(helpdir)/C/figures/mainwindow.png"
 	$(INSTALL_DATA) "$(srcdir)/help/C/figures/pattern.png" \
-		"$(helpdir)/C/figures/pattern.png"
+		"$(DESTDIR)$(helpdir)/C/figures/pattern.png"
 	$(INSTALL_DATA) "$(srcdir)/help/C/figures/prefs-ai.png" \
-		"$(helpdir)/C/figures/prefs-ai.png"
+		"$(DESTDIR)$(helpdir)/C/figures/prefs-ai.png"
 	$(INSTALL_DATA) "$(srcdir)/help/C/figures/prefs-board.png" \
-		"$(helpdir)/C/figures/prefs-board.png"
+		"$(DESTDIR)$(helpdir)/C/figures/prefs-board.png"
 	$(INSTALL_DATA) "$(srcdir)/help/C/figures/prefs-theme.png" \
-		"$(helpdir)/C/figures/prefs-theme.png"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/black.xpm" "$(theme_dir)/small/black.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/black_last.xpm" "$(theme_dir)/small/black_last.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/bottom.xpm" "$(theme_dir)/small/bottom.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/empty.xpm" "$(theme_dir)/small/empty.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/hint_black.xpm" "$(theme_dir)/small/hint_black.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/hint_white.xpm" "$(theme_dir)/small/hint_white.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/left.xpm" "$(theme_dir)/small/left.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/right.xpm" "$(theme_dir)/small/right.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/top.xpm" "$(theme_dir)/small/top.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/white.xpm" "$(theme_dir)/small/white.xpm"
-	$(INSTALL_DATA) "$(srcdir)/theme/small/white_last.xpm" "$(theme_dir)/small/white_last.xpm"
+		"$(DESTDIR)$(helpdir)/C/figures/prefs-theme.png"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/black.xpm" "$(DESTDIR)$(theme_dir)/small/black.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/black_last.xpm" "$(DESTDIR)$(theme_dir)/small/black_last.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/bottom.xpm" "$(DESTDIR)$(theme_dir)/small/bottom.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/empty.xpm" "$(DESTDIR)$(theme_dir)/small/empty.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/hint_black.xpm" "$(DESTDIR)$(theme_dir)/small/hint_black.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/hint_white.xpm" "$(DESTDIR)$(theme_dir)/small/hint_white.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/left.xpm" "$(DESTDIR)$(theme_dir)/small/left.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/right.xpm" "$(DESTDIR)$(theme_dir)/small/right.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/top.xpm" "$(DESTDIR)$(theme_dir)/small/top.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/white.xpm" "$(DESTDIR)$(theme_dir)/small/white.xpm"
+	$(INSTALL_DATA) "$(srcdir)/theme/small/white_last.xpm" "$(DESTDIR)$(theme_dir)/small/white_last.xpm"
 	if [ ! "@GMSGFMT@" = ":" ]; then				 \
 		cd po;							 \
 		$(MAKE) prefix="$(prefix)" DESTDIR="$(DESTDIR)" install; \


--- NEW FILE grhino.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=GRhino
GenericName=GNOME2 Othello/Reversi game
Comment=An Othello/Reversi game for GNOME 2
Exec=grhino
#Icon=
Terminal=false
Type=Application
Version=0.15.0
Categories=Application;GNOME;Game;BoardGame;
StartupNotify=true


--- NEW FILE grhino.spec ---
Name:           grhino
Version:        0.15.0
Release:        2%{?dist}
Summary:        Othello/Reversi game

Group:          Amusements/Games
License:        GPL
URL:            http://rhino.sourceforge.net/
Source0:        http://dl.sourceforge.net/rhino/grhino-%{version}.tar.gz
Source1:	%{name}.desktop
Patch0:		grhino-Makefile-in.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	desktop-file-utils
BuildRequires:  libgnomeui-devel
BuildRequires:	scrollkeeper
#Requires:       
Requires(post):		scrollkeeper
Requires(postun):	scrollkeeper

%description
GRhino, or Rhino its former name, is an Othello/Reversi game on Linux and other
UNIX-like systems as long as GNOME 2 libraries are installed. It is currently
under development and a new version is available occasionally.

What distinguish GRhino from most other Othello games is that GRhino will be
targeted for experienced Othello players. Strong AI is the main focus with some
additional good, useful features (like an endgame solver) is planned. The
ultimate target strength of the AI is that it should be able to beat the best
human player at the highest difficulty level. Beating Logistello (the strongest
program available) is not in the plan :) 

GRhino supports the Go/Game Text Protocol (GTP), allowing it to be used as
an engine for a GTP-compliant controller like Quarry.

Othello is a registered trademark of Tsukuda Original, licensed by Anjar Co.,
copyright 1973, 1990 Pressman Toy Corporation.

%prep
%setup -q
%patch0 -p1


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# move omf files
mkdir -p $RPM_BUILD_ROOT%{_datadir}/omf/grhino/
mv $RPM_BUILD_ROOT%{_datadir}/gnome/help/grhino/*/grhino-*.omf $RPM_BUILD_ROOT%{_datadir}/omf/grhino/

# desktop file
#mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora \
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
	--add-category X-Fedora \
	%{SOURCE1}

%find_lang %{name}

%post
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :

%postun
scrollkeeper-update -q || :

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc ChangeLog COPYING NEWS README TODO
%{_bindir}/grhino
%{_bindir}/gtp-rhino
%{_datadir}/applications/*.desktop
#%{_datadir}/locale/*/LC_MESSAGES/quarry.mo
%{_datadir}/gnome/help/grhino/
%{_datadir}/grhino-%{version}/
%{_datadir}/omf/grhino/


%changelog
* Fri Sep  2 2005 Michel Salim <michel.salim[AT]gmail.com> - 0.15.0-2
- changed BuildReq from libgnome-devel to libgnomeui-devel, which requires
  the former

* Sat Aug 20 2005 Michel Salim <michel.salim[AT]gmail.com> - 0.15.0-1
- initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/grhino/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Sep 2005 23:38:54 -0000	1.1
+++ .cvsignore	3 Sep 2005 23:40:58 -0000	1.2
@@ -0,0 +1 @@
+grhino-0.15.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/grhino/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Sep 2005 23:38:54 -0000	1.1
+++ sources	3 Sep 2005 23:40:58 -0000	1.2
@@ -0,0 +1 @@
+9f510356c0cfafe32165a582d872655f  grhino-0.15.0.tar.gz




More information about the fedora-extras-commits mailing list