Пакет mova: Specfile

Загрузка mova.spec
Name: mova
Version: 4.0alt
Release: alt4

Summary: Scripts for manipulating mova format dictionaries
Summary(ru_RU.KOI8-R): \xf3\xcb\xd2\xc9\xd0\xd4 \xc4\xcc\xd1 \xd2\xc1\xc2\xcf\xd4\xd9 \xd3\xcf \xd3\xcc\xcf\xd7\xc1\xd2\xd1\xcd\xc9 \xd7 \xc6\xcf\xd2\xcd\xc1\xd4\xc5 mova

License: GPL
Group: System/Internationalization
Url: http://mueller-dic.chat.ru

Packager: Vitaly Lipatov <lav@altlinux.ru>

BuildArch: noarch

Source: %url/script_mova.tar.bz2
Source1: mova_16x16.xpm
Source2: mova-README.alt
Source3: Movarc
Source4: mova-README.speech

Patch1: mova-4.0-alt-config.patch
Patch2: mova-4.0-alt-dont_beep.patch
Patch3: mova-4.0-alt-doc-location.patch
Patch4: mova-4.0-alt-festival.patch
Patch5: mova-4.0-alt-pager.patch
Patch6: mova-4.0-alt-blank.patch
Patch7: mova-4.0-alt-font.patch

Requires: xfonts-phonetic

Mova scipts help user to use mova format dictionaries like
English/Russian dictionary by V. K. Mueller.  MOVA scripts
use standard UNIX utilities: grep, sed, fmt.  Also groff,
less are used for console work.  These utilities search the
plain-text file of the dictionary and place output lines in
GUI.  There is also client movaTK for X Window System.

%description -l ru_RU.KOI8-R
\xf3\xcb\xd2\xc9\xd0\xd4\xd9 Mova \xcf\xc2\xcc\xc5\xc7\xde\xc1\xc0\xd4 \xd6\xc9\xda\xce\xd8 \xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xd4\xc5\xcc\xc0 \xd0\xd2\xc9 \xd2\xc1\xc2\xcf\xd4\xc5 \xd3\xcf \xd3\xcc\xcf\xd7\xc1\xd2\xd1\xcd\xc9
\xd7 \xc6\xcf\xd2\xcd\xc1\xd4\xc5 mova.  \xf3\xcb\xd2\xc9\xd0\xd4\xd9 MOVA \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xc0\xd4 \xd3\xd4\xc1\xce\xc4\xc1\xd2\xd4\xce\xd9\xc5 UNIX \xd5\xd4\xc9\xcc\xc9\xd4\xd9:
grep, sed, fmt.  \xf4\xc1\xcb\xd6\xc5 groff \xc9 less \xc9\xd3\xd0\xcf\xcc\xd8\xda\xd5\xc0\xd4\xd3\xd1 \xc4\xcc\xd1 \xd2\xc1\xc2\xcf\xd4\xd9 \xd7
\xd4\xc5\xcb\xd3\xd4\xcf\xd7\xcf\xcd \xd2\xc5\xd6\xc9\xcd\xc5.  \xfc\xd4\xcf \xd5\xd4\xc9\xcc\xc9\xd4\xd9 \xc9\xdd\xd5\xd4 \xd4\xc5\xcb\xd3\xd4\xcf\xd7\xcf\xcd \xc6\xc1\xca\xcc\xc5 (\xc1 \xdc\xd4\xcf \xc9 \xc5\xd3\xd4\xd8
\xc6\xcf\xd2\xcd\xc1\xd4 MOVA) \xce\xd5\xd6\xce\xd9\xc5 \xd3\xd4\xd2\xcf\xde\xcb\xc9, \xcf\xc2\xd2\xc1\xc2\xc1\xd4\xd9\xd7\xc1\xc0\xd4 \xc9\xc8 \xc9 \xd7\xd9\xc4\xc1\xc0\xd4 \xce\xc1 \xdc\xcb\xd2\xc1\xce.
\xf7 \xd0\xc1\xcb\xc5\xd4 \xd7\xcb\xcc\xc0\xde\xc5\xce\xd9 \xcb\xc1\xcb \xd4\xc5\xcb\xd3\xd4\xcf\xd7\xd9\xca \xcb\xcc\xc9\xc5\xce\xd4 (mova), \xd4\xc1\xcb \xc9 \xcb\xcc\xc9\xc5\xce\xd4 \xc4\xcc\xd1
X Window System (movaTK).

%setup -q -c
%patch5 -p1

mv usr/local/* .%prefix/
chmod -R u+w .
install -pD -m644 %SOURCE2 doc/README.alt
install -pD -m644 %SOURCE4 doc/README.speech

mkdir -p doc
install -pD -m644 %SOURCE1 %buildroot%_miconsdir/%name.xpm
install -pD -m644 .%_datadir/%name/icons/mova_32x32.xpm %buildroot%_niconsdir/%name.xpm
install -pD -m644 .%_datadir/%name/icons/mova_48x48.xpm %buildroot%_liconsdir/%name.xpm
install -pD -m644 .%_datadir/%name/*.txt doc
install -pD -m644 %SOURCE3 %buildroot%_sysconfdir/mova/Movarc

# work around koi8-r only scripts
cd .%_bindir
mv movaTK movaTK-real
mv movaMTK movaMTK-real
cat <<EOF >movaTK
LANG=ru_RU.KOI8-R LC_CTYPE=ru_RU.KOI8-R \$0-real "\$@"
cat <<EOF >movaMTK
LANG=ru_RU.KOI8-R LC_CTYPE=ru_RU.KOI8-R \$0-real "\$@"
chmod a+x *
cd -

%__cp -a .%_bindir %buildroot%_bindir

%doc doc/*

* Sun Apr 23 2006 Vitaly Lipatov <lav@altlinux.ru> 4.0alt-alt4
- fix phonetic font path (bug #9450), thanks to viy@

* Sun Feb 26 2006 Vitaly Lipatov <lav@altlinux.ru> 4.0alt-alt3
- fix icons dir using

* Sat Feb 12 2005 Vitaly Lipatov <lav@altlinux.ru> 4.0alt-alt2.1
- add LC_CTYPE for backward compatibility (see bug #6025)

* Sat Feb 05 2005 Vitaly Lipatov <lav@altlinux.ru> 4.0alt-alt2
- fix bug #6025
- enable russian input again

* Sun Dec 19 2004 Vitaly Lipatov <lav@altlinux.ru> 4.0alt-alt1
- Fix: check string from X selection
- fix dir /etc/mova packing
- change release to alt

* Mon Nov 10 2003 Vitaly Lipatov <lav@altlinux.ru> 4.0-ipl7.2
- Fix previous patch
- remove dependences to bash from /usr/bin/mova

* Wed Sep 24 2003 Vitaly Lipatov <lav@altlinux.ru> 4.0-ipl7.1
- Add patch against movaTK freezes when it started with empty X clipboard

* Mon Oct 21 2002 Dmitry V. Levin <ldv@altlinux.org> 4.0-ipl7
- Fixed groff/grotty compatibility issue.
- Specfile cleanup.
- Additional convention enforcement on patch file names.
- Updated Url, Packager, summary and description.

* Mon Jul  9 2001 Peter Novodvorsky <nidd@altlinux.ru> 4.0-ipl6
- Fixed fonts in Movarc

* Sat Apr 13 2001 Lev Levitin <lev@altlinux.ru> ipl5
- Added festival support to movaMTK

* Tue Feb 21 2001 Peter 'Nidd' Novodvorsky <petya@logic.ru> ipl4
- Added xfonts-phonetic to requires.

* Tue Feb 20 2001 Peter 'Nidd' Novodvorsky <nidd@altlinux.ru> ipl3
- fixed bug with documentation location

* Sun Feb  4 2001 Peter 'Nidd' Novodvorsky <petya@logic.ru> ipl2
- added global configuration file capability

* Thu Feb  1 2001 Dmitry Levin <ldv@fandra.org> ipl1
- spec written from a scratch.