commit 5d01ebcccb6694e5bda4425a3c5a5f53fd0a22d13fa2d655d93194ea05657c2a Author: Lars Vogdt Date: Tue Dec 18 18:21:38 2012 +0000 Accepting request 145707 from home:jengelh:branches:multimedia:apps OBS-URL: https://build.opensuse.org/request/show/145707 OBS-URL: https://build.opensuse.org/package/show/Education/gtypist?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gtypist-2.9.2.tar.xz b/gtypist-2.9.2.tar.xz new file mode 100644 index 0000000..0932aa9 --- /dev/null +++ b/gtypist-2.9.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f27042b080c911c4ea2b252ac893401b0129ae5b98b31edb8e9845656b6135d +size 956252 diff --git a/gtypist-2.9.2.tar.xz.sig b/gtypist-2.9.2.tar.xz.sig new file mode 100644 index 0000000..abf0ba5 --- /dev/null +++ b/gtypist-2.9.2.tar.xz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAABAgAGBQJQz1GXAAoJEKbYE9jJSvpS23EQAI3npFfNrOq4ZHJQEo3YHr3i +7XWQRtnDYyOCpUR9q4Bq0PfAKo4rXdRUCIVAIilpfrfUkL/IBpCQC2FDv40k7JUC +cSfJltu2NtdTXeRuoo90NN3dJpfc6rw2f3zeMc35+j60AonpB030igNc2BRyzfzL +zJ15SCedtYGpMw4d4w038YfyNtbwa31tbIS2bfbMh5ckRKo9wxnOusbphvh47RJm +kv6deICWxwg56Vhs0IhvmoR/RDiIJy3g5hbTfrQUeSL1zzxYvNOTYoA4YXlMxD6y +NouEl2vK+K+629u1WVIqmELk8ZbyfaPI+6M+IAfInwGFs2sZuLSjwFrty3r8EKK4 +vxhgzxheFIN5QO0SQta3ROXN0c7VzSxm5X4v6/KN2YZm4Ju9nerOtWmZ5ykQOemv +xl1bQ9+AGFBOlbsSh9o+yHox+hxjdJ6Qr7yqGW0sMQMTNhE8HvIpF14ofIN7wc1U +RpzcZwR7rn60DPBa0PpJQVWx5YNBou6fGUWqNWclHJdC1jispJB/dF5Qr6CF0JJw +xOPUZjG4xUncjSRWSsNU/yY937heknfhwzCZ0TuuBU3JmU7rFuK6rZMCY23o/Cmt +g5soloTIzt6pW66vcwr0cnv+bdeRvIKC/+Rlds9h77MevzGeca44jJZ9fZxwcV9c +ADQ4iEUrWuzx3uEsGiog +=ahAG +-----END PGP SIGNATURE----- diff --git a/gtypist.changes b/gtypist.changes new file mode 100644 index 0000000..1e1f911 --- /dev/null +++ b/gtypist.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Dec 17 22:34:08 UTC 2012 - jengelh@inai.de + +- Initial package (version 2.9.2) for build.opensuse.org diff --git a/gtypist.spec b/gtypist.spec new file mode 100644 index 0000000..ccb3543 --- /dev/null +++ b/gtypist.spec @@ -0,0 +1,100 @@ +# +# spec file for package gtypist +# +# Copyright (c) 2012 SUSE LINUX Products 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: gtypist +Version: 2.9.2 +Release: 0 +Summary: Universal typing tutor +License: GPL-3.0 +Group: Amusements/Teaching/Other +Url: http://gnu.org/software/gtypist/ + +Source: %name-%version.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: bison +BuildRequires: ncurses-devel +BuildRequires: xz +PreReq: %install_info_prereq + +%description +GNU Typist (typist) is a universal typing tutor. You can learn +correct typing and improve your skills by practising its exercises on +a regular basis. Its main features are: + +* It comes with several typing tutorials: in Czech, English (Qwerty, + Dvorak and Colemak keyboards), Russian and Spanish, as well as + simpler exercises in German, French and Norwegian. + +* It interprets a simple and intuitive scripting language that + describes typing tutorials. You can easily modify existing + tutorials or create new ones according to your needs. + +* Users can navigate through lessons through an easy to use arrow key + based menu interface. 'vi' up, down, left and right keys can be + used too! + +%package lang +Summary: Language files for package gtypist +Group: System/Localization +Requires: gtypist = %{version} +%if 0%{?suse_version} >= 1120 || 0%{?fedora_version} +BuildArch: noarch +%endif + +%description lang +GNU Typist (typist) is a universal typing tutor. You can learn +correct typing and improve your skills by practising its exercises on +a regular basis. + +This subpackage contain the translations for the package gtypist. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +b="%buildroot"; +make install DESTDIR="$b"; +%find_lang %name + +%post +for i in "%_infodir"/gtypist*.gz; do + %install_info --info-dir="%_infodir" "$i" +done; + +%postun +for i in "%_infodir"/gtypist*.gz; do + %install_info_delete --info-dir="%_infodir" "$i" +done; + +%files +%defattr(-,root,root) +%_bindir/gtypist +%_bindir/typefortune +%_datadir/gtypist/ +%_infodir/gtypist*.gz +%_datadir/man/man1/gtypist.1* +%_datadir/man/man1/typefortune.1* + +%files lang -f %name.lang +%defattr(-,root,root) + +%changelog