[Momonga-devel.ja:01796] Fix and Update (subversion, elisp-gnuplot-mode, BZFlag)
- From: Masayuki SANO <sano@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 23 Jun 2003 10:13:02 +0900 (JST)
nosanosaです。
subversion, elisp-gnuplot-mode, BZFlagについての報告です。
・subversion-0.24.1-1m
libtool: install: error: relink `libsvn_delta-1.la' with the above command before installing it
とかそういう感じの多くのlibtoolがらみの?エラーでビルドできませんでし
たが、specファイル冒頭の
%define __libtoolize :
を削除することでビルドできました。
specファイルの差分subversion.diffを添付致しますので、
正しい対処法でしたらご採用ください。
・elisp-gnuplot-mode
HEADのバージョンは0.5qでNoSource指定がコメントされていますが、0.6.0が
出ていてソースも取ってこれます。またURLが変更されていました。バージョ
ンをあげて、NoSource指定を復活させたところ、問題なく動作しましたので
specファイルの差分elisp-gnuplot-mode.diffを添付します。
URLも変わっていたので修正してあります。
・BZFlag
HEADのバージョンは1.7g0ですが、先ほど1.7g2が出ていたのでビルドしてみま
した。ライセンスがGPLからLPGLに変わっています。
1.7g2からビルド方法が従来の物からconfigureを使うものに変わりましたので
specファイルも%configureを使うよう書き直してみました。
インストール先を/usr/binにしてみたのでメニューファイル?の
bzflag.desktopとbzflag.asのExecエントリを書き換えました。
(従来はバイナリは/usr/X11R6/binにインストールされていたのですが、サー
バのbzfsなどはXを必要としないので/usr/X11R6/binに入れるのはおかしいか
なと思い、またそうするとbzflag本体だけ/usr/X11R6/binに入れるのも面倒か
なと思って%configureのデフォルトの/usr/binのままとしてみました。)
それから、従来はGNOMEのメニュー用にbzflag.desktopが
/usr/share/gnome/apps/Games/にインストールされていたのですが、これだと
KDEから見えず、一方/etc/X11/applnk/GamesにインストールするとKDEからも
GNOMEからも見えますので、こっちにインストールするように変えてみました。
ついでにアイコンがパッケージに入っていたのでそれを使うようにしてみまし
た。
またドキュメントをいくつか追加しました。
BZFlag.diffとして添付しますのでよろしければ反映していただければと思い
ます。
ところで、メニューファイルをインストールする先として
/etc/X11/applnk/を使うのは好ましくないとかいうことはあるのでしょうか。
そうでなければ他のゲームで特にGNOMEアプリではないもので
/usr/share/gnome/apps/Games/にあるcgoban, chromium, gnugo,
gnushogi, maj, netmaj, mirrormagic, rocksndiamonds, tuxracer,
xarchon, circuslinux, sdlscav, xblast, xkobo, xshogi
なども/etc/X11/applnk/Gamesの方がいいのかなという気がします。
# 前からGNOMEのメニューにあるゲームたちが、KDEのメニューから見えない
# のが気になっていたので
# もちろん個人でメニュー編集すれば済むだけなのですが…
では。
===================================================
佐野雅之 sano@xxxxxxxxxxxxxxxxxxx
===================================================
? subversion.spec.diff
Index: subversion.spec
===================================================================
RCS file: /home/cvs/pkgs/subversion/subversion.spec,v
retrieving revision 1.8
diff -u -r1.8 subversion.spec
--- subversion.spec 18 Jun 2003 15:20:14 -0000 1.8
+++ subversion.spec 22 Jun 2003 19:07:52 -0000
@@ -1,5 +1,3 @@
-%define __libtoolize :
-
Summary: subversion a compelling replacement for CVS
Name: subversion
Version: 0.24.1
? elisp-gnuplot-mode.spec.diff
Index: elisp-gnuplot-mode.spec
===================================================================
RCS file: /home/cvs/pkgs/elisp-gnuplot-mode/elisp-gnuplot-mode.spec,v
retrieving revision 1.7
diff -u -r1.7 elisp-gnuplot-mode.spec
--- elisp-gnuplot-mode.spec 20 Mar 2003 14:53:10 -0000 1.7
+++ elisp-gnuplot-mode.spec 22 Jun 2003 22:34:07 -0000
@@ -3,13 +3,13 @@
Summary: Gnuplot mode for Emacsen
Name: elisp-gnuplot-mode
-Version: 0.5q
-Release: 12m
+Version: 0.6.0
+Release: 1m
License: GPL
Group: Applications/Editors
-URL: http://feff.phys.washington.edu/~ravel/software/gnuplot-mode/
-Source0: http://feff.phys.washington.edu/~ravel/software/gnuplot-mode/gnuplot-mode.tar.gz
-# NoSource: 0
+URL: http://feff.phys.washington.edu/~ravel/gnuplot/
+Source0: http://feff.phys.washington.edu/~ravel/gnuplot/gnuplot-mode.%{version}.tar.gz
+NoSource: 0
Source1: gnuplot-mode.el
BuildArchitectures: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@@ -47,7 +47,7 @@
with the original mode by Elber.
%prep
-%setup -q -n gnuplot-mode
+%setup -q -n gnuplot-mode.%{version}
%build
%configure
? BZFlag.as.mod
? BZFlag.diff
? BZFlag.spec.mod
? bzflag.desktop.mod
Index: BZFlag.spec
===================================================================
RCS file: /home/cvs/pkgs/BZFlag/BZFlag.spec,v
retrieving revision 1.19
diff -u -r1.19 BZFlag.spec
--- BZFlag.spec 25 Jan 2003 18:30:21 -0000 1.19
+++ BZFlag.spec 23 Jun 2003 00:30:33 -0000
@@ -1,15 +1,11 @@
-%define bzbasedir /usr/X11R6/lib/X11/bzflag
-%define bzbindir %{bzbasedir}/bin
-%define bzdatadir %{bzbasedir}/data
-
Summary: BZFlag is a multiplayer 3D tank battle game.
Name: BZFlag
-Version: 1.7g0
+Version: 1.7g2
Release: 1m
-Source: http://ftp1.sourceforge.net/bzflag/bzflag-%{version}.tgz
+Source: http://ftp1.sourceforge.net/bzflag/bzflag-%{version}.tar.gz
Source1: bzflag.desktop
Source2: bzflag.as
-License: GPL
+License: LGPL
Group: Amusements/Games
BuildRoot: %{_tmppath}/%{name}-%{version}-root
NoSource: 0
@@ -31,34 +27,19 @@
%setup -q -n bzflag-%{version}
%build
-%ifarch i386 i486 i586 i686
-make linux-i386-noopt
-%else
-%ifarch ppc
-make linux-ppc-noopt
-%else
-make linux-noopt
-%endif
-%endif
-make ACXXOPTS="%{optflags}" ACOPTS="%{optflags}" \
- INSTALL_DATA_DIR=%{bzdatadir} \
- all
-
+%configure
+make
%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}%{bzbindir}
-mkdir -p %{buildroot}%{bzdatadir}
-mkdir -p %{buildroot}%{_mandir}/man6
-mkdir -p %{buildroot}/usr/X11R6/bin
-install -m644 man/*.6 %{buildroot}%{_mandir}/man6
-gzip %{buildroot}%{_mandir}/man6/*.6*
-install -m644 data/*.rgb data/*.wav %{buildroot}%{bzdatadir}
-install bin/* %{buildroot}%{bzbindir}
-ln -s %{bzbindir}/bzflag %{buildroot}/usr/X11R6/bin/bzflag
-ln -s %{bzbindir}/bzfs %{buildroot}/usr/X11R6/bin/bzfs
+make DESTDIR=$RPM_BUILD_ROOT install
+
+#mkdir -p %{buildroot}/usr/share/gnome/apps/Games/
+#install -m 644 %{SOURCE1} %{buildroot}/usr/share/gnome/apps/Games/
-mkdir -p %{buildroot}/usr/share/gnome/apps/Games/
-install -m 644 %{SOURCE1} %{buildroot}/usr/share/gnome/apps/Games/
+mkdir -p %{buildroot}%{_sysconfdir}/X11/applnk/Games/
+install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/applnk/Games/
+mkdir -p %{buildroot}%{_datadir}/pixmaps
+install -m 644 package/rpm/bzflag-*.xpm %{buildroot}%{_datadir}/pixmaps
mkdir -p %{buildroot}/usr/share/afterstep/start/Games
install -m 644 %{SOURCE2} %{buildroot}/usr/share/afterstep/start/Games
@@ -69,15 +50,12 @@
# note -- bzflag must be setuid root to use 3Dfx drivers without /dev/3dfx
%files
%defattr(-,root,root)
-%doc LICENSE package/rpm/README.linux
-%dir %{bzbindir}
-%dir %{bzdatadir}
-%dir %{bzbasedir}
+%doc COPYING AUTHORS BUGS DEVINFO PORTING TODO package/rpm/README.linux
+%{_bindir}/*
+%{_datadir}/*
%{_mandir}/man6/*
-/usr/X11R6/bin/*
-%{bzbindir}/*
-%{bzdatadir}/*
-/usr/share/gnome/apps/Games/bzflag.desktop
+%{_sysconfdir}/X11/applnk/Games/bzflag.desktop
+#/usr/share/gnome/apps/Games/bzflag.desktop
/usr/share/afterstep/start/Games/bzflag.as
%changelog
Index: bzflag.as
===================================================================
RCS file: /home/cvs/pkgs/BZFlag/bzflag.as,v
retrieving revision 1.1
diff -u -r1.1 bzflag.as
--- bzflag.as 18 Jan 2001 06:19:01 -0000 1.1
+++ bzflag.as 23 Jun 2003 00:30:33 -0000
@@ -1 +1 @@
-Exec "BZFlag" exec /usr/X11R6/bin/bzflag &
+Exec "BZFlag" exec /usr/bin/bzflag &
Index: bzflag.desktop
===================================================================
RCS file: /home/cvs/pkgs/BZFlag/bzflag.desktop,v
retrieving revision 1.1
diff -u -r1.1 bzflag.desktop
--- bzflag.desktop 9 Jan 2001 21:22:41 -0000 1.1
+++ bzflag.desktop 23 Jun 2003 00:30:33 -0000
@@ -3,6 +3,7 @@
Name[ja]=ビーズィーフラグ
Comment=bzflag
Comment[ja]=3D戦車対戦ゲイム
-Exec=/usr/X11R6/bin/bzflag
+Exec=/usr/bin/bzflag
+Icon=bzflag-m.xpm
Terminal=0
Type=Application