Package gtypist: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 | Name: gtypist Version: 2.9.5 Release: alt2 Summary: GNU Typist is a universal typing tutor Summary(ru_RU.UTF8): Клавиатурный тренажер для консоли Group: Education License: GPLv3 Url: http://www.gnu.org/software/%name Packager: Ilya Mashkin <oddity@altlinux.ru> Source: ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.xz Source1: %name-48.png Source2: %name-32.png Source3: %name-16.png Source4: %name-64.png BuildRequires: libncursesw-devel libtinfo-devel BuildRequires: emacs-common emacs-leim emacs-gnus rpm-build-emacs # emacs emacs-el emacs-leim-el # BuildRequires: help2man # explicitly added texinfo for info files BuildRequires: texinfo %description GNU Typist (or gtypist) is free software that assist you in learning to type correctly. It is intended to be used on a raw terminal without graphics. * It comes with several typing tutorials: in English for Qwerty and Dvorak keyboards, Spanish for Spanish keyboards, as well as simpler exercices 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. * It supports internationalization and already has an interface in English, Finnish, French, German, Czech and Spanish. It has been compiled and used in Unix (GNU/Linux, Aix, Solaris, openBSD) and also in DOS/Windows (DOS 6.22, Windows 98). %description -l ru_RU.UTF8 GNU Typist - клавиатурный тренажер для консоли, содержит несколько легко модифицируемых программ обучения для различных языков и клавиатурных раскладок. %package -n emacs-mode-%name Summary: Major mode for editing %name script-files (*.typ) Group: Editors BuildArch: noarch Requires: %name = %version-%release emacs %description -n emacs-mode-%name emacs-mode-%name provides syntax coloring and inserting tags for %name script-files (*.typ) All Emacs Lisp code is byte-copmpiled, install emacs-mode-%name-el for sources. %package -n emacs-mode-%name-el Summary: The Emacs Lisp sources for bytecode included in emacs-mode-%name Group: Development/Other BuildArch: noarch Requires: %name = %version-%release %description -n emacs-mode-%name-el emacs-mode-%name-el contains the Emacs Lisp sources for the bytecode included in the emacs-mode-%name package, that extends the Emacs editor. You need to install emacs-mode-%name-el only if you intend to modify any of the emacs-mode-%name code or see some Lisp examples. %define _emacs_startscriptsdir %_sysconfdir/emacs/site-start.d %prep %setup %build %configure %make_build %install %makeinstall_std # Install menu mkdir -p %buildroot%_desktopdir cat > %buildroot%_desktopdir/%{name}.desktop <<EOF [Desktop Entry] Type=Application Name=GNU typist Comment=Typing tutor Icon=%name Exec=%name Terminal=true Categories=Education;ComputerScience;X-Typing; EOF # Install icons install -pD -m644 %{SOURCE1} %buildroot%_liconsdir/%name.xpm install -pD -m644 %{SOURCE2} %buildroot%_niconsdir/%name.xpm install -pD -m644 %{SOURCE3} %buildroot%_miconsdir/%name.xpm # Create %name-init.el mkdir -p %buildroot%_emacs_startscriptsdir cat <<__INIT__ >%buildroot%_emacs_startscriptsdir/%name-init.el ;;; %name-init.el --- Startup code for gtypist mode ;;; ;;; Add this to your ~/.emacs or install this file into Emacs' site-start.d (autoload 'gtypist-mode "gtypist-mode") (setq auto-mode-alist (cons '("\\\\.typ\\\\'" . gtypist-mode) auto-mode-alist)) __INIT__ %find_lang %name %files -f %name.lang %_bindir/* %_datadir/%name %_infodir/%name.info.* %_man1dir/* %_liconsdir/%name.xpm %_niconsdir/%name.xpm %_miconsdir/%name.xpm %_desktopdir/%{name}.desktop %doc AUTHORS ChangeLog NEWS README THANKS TODO %files -n emacs-mode-%name %_emacs_startscriptsdir/* %_emacslispdir/%name-mode.elc %files -n emacs-mode-%name-el %_emacslispdir/%name-mode.el %changelog * Mon Mar 21 2022 Ilya Mashkin <oddity@altlinux.ru> 2.9.5-alt2 - add more BR emacs* - Update License tag * Mon Nov 20 2017 Igor Vlasenko <viy@altlinux.ru> 2.9.5-alt1 - NMU: updated to 2.9.5 * Thu Dec 03 2015 Igor Vlasenko <viy@altlinux.ru> 2.9.4-alt1.1 - NMU: added BR: texinfo * Mon Feb 03 2014 Yuri N. Sedunov <aris@altlinux.org> 2.9.4-alt1 - 2.9.4 * Sun Nov 24 2013 Yuri N. Sedunov <aris@altlinux.org> 2.9.3-alt1 - 2.9.3 - updated buildreqs - fixed desktop file * Fri Mar 29 2013 Andrey Cherepanov <cas@altlinux.org> 2.8.3-alt2.qa2 - Fix build with new version of xorg * Sat Apr 23 2011 Igor Vlasenko <viy@altlinux.ru> 2.8.3-alt2.qa1 - NMU: converted menu to desktop file * Thu Nov 11 2010 Andrey Cherepanov <cas@altlinux.org> 2.8.3-alt2 - update Russian translataion - fix run in Russian locale (closes: #24543) * Sun Dec 13 2009 Repocop Q. A. Robot <repocop@altlinux.org> 2.8.3-alt1.qa1 - NMU (by repocop): the following fixes applied: * pixmap-in-deprecated-location for gtypist * obsolete-call-in-post-install-info for gtypist * postclean-05-filetriggers for spec file * Fri Apr 10 2009 Ilya Mashkin <oddity@altlinux.ru> 2.8.3-alt1 - 2.8.3 * Thu Sep 25 2008 Ilya Mashkin <oddity@altlinux.ru> 2.8-alt1 - 2.8 * Tue Sep 30 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.7-alt1 - 2.7 - emacs-mode* packages. * Sat Sep 07 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.6.2-alt1 - 2.6.2 * Fri Jun 07 2002 Konstantin Volckov <goldhead@altlinux.ru> 2.6-alt2 - Fixed menu script - now it launching gtypist in xterm window due to kde konsole bugs * Tue Apr 30 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.6-alt1 - 2.6 * Mon Jan 21 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.5-alt1 - First build for Sisyphus. |