File oneko.spec of Package oneko

#
# spec file for package oneko
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           oneko
Version:        1.1b
Release:        0
Summary:        A Cat Catches Your Mouse
License:        SUSE-Public-Domain
Group:          Amusements/Toys/Graphics
Url:            http://www.daidouji.com/oneko/
Source:         http://www.ibiblio.org/pub/linux/X11/demos/%name-%version.tar.gz
Patch:          oneko-1.1b.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  imake
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)

%description
A nice program that changes your cursor into a cat playing with your
mouse cursor.  The manual page shows more possibilities to change your
cursor.



Authors:
--------
    Tatsuya Kato	<kato@ntts.co.jp>
    John Lerchey	<jl4l+@andrew.cmu.edu>
    Eric Anderson	<eanders+@cmu.edu>
    Rick Niles	<niles@axp745.gsfc.nasa.gov>

%prep
%setup -q -n oneko-1.1 -b0
%patch

%build
xmkmf -a
make all %{?_smp_mflags}

%install
make DESTDIR=$RPM_BUILD_ROOT install
make DESTDIR=$RPM_BUILD_ROOT install.man
mv README README.jp

%files
%defattr(-,root,root)
%doc README.jp README-NEW sample.resource
%{_bindir}/*
%doc %{_mandir}/*/*

%changelog