[oneko] fix typos in man page, fix man page location, update desktop file
Tom Callaway
spot at fedoraproject.org
Wed Dec 15 18:32:47 UTC 2010
commit cfdaafd5d36dceb2dcbfd562dc5bd44d4f29fabf
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Wed Dec 15 13:33:11 2010 -0500
fix typos in man page, fix man page location, update desktop file
oneko-1.2.sakura.5-typo-fix.patch | 23 +++++++++++++++++++++++
oneko.desktop | 2 +-
oneko.spec | 13 ++++++++++---
3 files changed, 34 insertions(+), 4 deletions(-)
---
diff --git a/oneko-1.2.sakura.5-typo-fix.patch b/oneko-1.2.sakura.5-typo-fix.patch
new file mode 100644
index 0000000..cd7205a
--- /dev/null
+++ b/oneko-1.2.sakura.5-typo-fix.patch
@@ -0,0 +1,23 @@
+diff -up oneko-1.2.sakura.5/oneko.man.BAD oneko-1.2.sakura.5/oneko.man
+--- oneko-1.2.sakura.5/oneko.man.BAD 2010-12-15 13:26:34.501930058 -0500
++++ oneko-1.2.sakura.5/oneko.man 2010-12-15 13:27:08.243929980 -0500
+@@ -14,8 +14,8 @@ The program oneko creates a cute cat cha
+ .SH DESCRIPTION
+ .I oneko
+ changes your mouse cursor into mouse and creates a little cute cat and the
+-cat start chasing around your mouse cursor. If the cat catchup the ``mouse'',
+-start sleeping.
++cat starts chasing around your mouse cursor. If the cat catches the ``mouse'',
++it starts sleeping.
+ .SS Options
+ .TP
+ .B -help
+@@ -119,7 +119,7 @@ Foreground color.
+ Background color.
+ .SH Notes
+ While this program uses XGetDefault, be sure to use "neko.resouce" form.
+-If you run this program as "tora", by hard of soft link, the \fB-tora\fP
++If you run this program as "tora", by hard or soft link, the \fB-tora\fP
+ option is enabled by default.
+ .PP
+ BSD Daemon Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved.
diff --git a/oneko.desktop b/oneko.desktop
index cfb62ea..02ce9e4 100644
--- a/oneko.desktop
+++ b/oneko.desktop
@@ -2,7 +2,7 @@
Name=Oneko
Comment=Cat that chases your cursor
Exec=oneko
-Icon=oneko.png
+Icon=oneko
Categories=Application;Game;X-Fedora;
Terminal=false
Type=Application
diff --git a/oneko.spec b/oneko.spec
index 8a25f64..8557dd2 100644
--- a/oneko.spec
+++ b/oneko.spec
@@ -1,7 +1,7 @@
Name: oneko
Summary: Cat chases the cursor
Version: 1.2
-Release: 8%{?dist}
+Release: 9%{?dist}
License: Public Domain
Group: Amusements/Graphics
# Modified Source to remove BSD images, due to copyright.
@@ -12,6 +12,7 @@ Source2: oneko.png
URL: http://www.daidouji.com/oneko/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: oneko-1.2.sakura.5-nobsd.patch
+Patch1: oneko-1.2.sakura.5-typo-fix.patch
BuildRequires: libX11-devel, imake, libXext-devel
BuildRequires: desktop-file-utils
@@ -22,6 +23,7 @@ work. Alternatively, a dog chases a bone.
%prep
%setup -q -n %{name}-%{version}.sakura.5
%patch0 -p1
+%patch1 -p1 -b .typo
%build
xmkmf -a
@@ -33,8 +35,8 @@ make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man1
-install -p -m0644 oneko.man $RPM_BUILD_ROOT%{_mandir}/man1
-install -p -m0644 oneko.man.jp $RPM_BUILD_ROOT%{_mandir}/ja/man1/oneko.man
+install -p -m0644 oneko.man $RPM_BUILD_ROOT%{_mandir}/man1/oneko.1
+install -p -m0644 oneko.man.jp $RPM_BUILD_ROOT%{_mandir}/ja/man1/oneko.1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
@@ -57,6 +59,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*
%changelog
+* Wed Dec 15 2010 Tom Callaway <spot at fedoraproject.org> - 1.2-9
+- fix typos in man page
+- fix man page file naming
+- update desktop file to modern specs
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list