Accepting request 829637 from Education

- Remove old rpm recipe constructs.

OBS-URL: https://build.opensuse.org/request/show/829637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtypist?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2020-08-29 18:33:39 +00:00 committed by Git OBS Bridge
commit 87c9b1ed2f
2 changed files with 12 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 25 20:58:49 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Remove old rpm recipe constructs.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 23 10:21:45 UTC 2015 - jengelh@inai.de Wed Sep 23 10:21:45 UTC 2015 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package gtypist # spec file for package gtypist
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -20,15 +20,14 @@ Name: gtypist
Version: 2.9.5 Version: 2.9.5
Release: 0 Release: 0
Summary: Universal typing tutor Summary: Universal typing tutor
License: GPL-3.0 License: GPL-3.0-only
Group: Amusements/Teaching/Other Group: Amusements/Teaching/Other
Url: http://gnu.org/software/gtypist/ URL: http://gnu.org/software/gtypist/
Source: http://ftp.gnu.org/gnu/gtypist/%name-%version.tar.xz Source: http://ftp.gnu.org/gnu/gtypist/%name-%version.tar.xz
Source2: http://ftp.gnu.org/gnu/gtypist/%name-%version.tar.xz.sig Source2: http://ftp.gnu.org/gnu/gtypist/%name-%version.tar.xz.sig
Source3: %name.keyring Source3: %name.keyring
Patch1: escdelay.diff Patch1: escdelay.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison BuildRequires: bison
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: xz BuildRequires: xz
@ -49,7 +48,7 @@ a regular basis. Its main features are:
* Users can navigate through lessons through an easy to use arrow key * Users can navigate through lessons through an easy to use arrow key
based menu interface. 'vi' up, down, left and right keys can be based menu interface. 'vi' up, down, left and right keys can be
used too! used too.
%package lang %package lang
Summary: Language files for package gtypist Summary: Language files for package gtypist
@ -64,16 +63,14 @@ a regular basis.
This subpackage contain the translations for the package gtypist. This subpackage contain the translations for the package gtypist.
%prep %prep
%setup -q %autosetup -p1
%patch -P 1 -p1
%build %build
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
b="%buildroot"; %make_install
make install DESTDIR="$b"
%find_lang %name %find_lang %name
%post %post
@ -87,7 +84,6 @@ for i in "%_infodir"/gtypist*.gz; do
done; done;
%files %files
%defattr(-,root,root)
%_bindir/gtypist %_bindir/gtypist
%_bindir/typefortune %_bindir/typefortune
%_datadir/gtypist/ %_datadir/gtypist/
@ -96,6 +92,5 @@ done;
%_datadir/man/man1/typefortune.1* %_datadir/man/man1/typefortune.1*
%files lang -f %name.lang %files lang -f %name.lang
%defattr(-,root,root)
%changelog %changelog