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
# ######################################################## # non latin symbols shouldn't be in first 256 byte block # # ######################################################## %define dict_name tt-ru %define dict_file tt_RU-ru_RU %define dict_eng_name Tatarian-Russian %define dict_rus_name \xd4\xc1\xd4\xc1\xd2\xd3\xcb\xcf-\xd2\xd5\xd3\xd3\xcb\xc9\xca Name: stardict-%dict_name Version: 1.0 Release: alt1 Summary: Dictionary: %dict_eng_name Summary(ru_RU.KOI8-R): \xf3\xcc\xcf\xd7\xc1\xd2\xd8: %dict_rus_name License: GPL Group: Text tools Requires: stardict >= 2.4.2 BuildArchitectures: noarch Source: stardict-tt-ru.tar.gz # Automatically added by buildreq on Wed Nov 26 2003 BuildRequires: dict-tools esound fontconfig freetype2 glib2 gnome-vfs2 libGConf2 libIDL libORBit2 libart_lgpl libatk libaudiofile libbonobo2 libbonoboui libexpat libgnome libgnomecanvas libgnomeui libgtk+2 libjpeg libltdl libpango libssl libxml2 stardict-tools unzip %description Dictionary: %dict_eng_name %description -l ru_RU.KOI8-R \xf3\xcc\xcf\xd7\xc1\xd2\xd8 %dict_rus_name %prep %setup -q -c %build gzip %name/%dict_name.idx dictzip %name/%dict_name.dict %install install -p -m644 -D %name/%dict_name.dict.dz $RPM_BUILD_ROOT%_datadir/stardict/dic/%dict_name.dict.dz install -p -m644 -D %name/%dict_name.idx.gz $RPM_BUILD_ROOT%_datadir/stardict/dic/%dict_name.idx.gz install -p -m644 -D %name/%dict_name.ifo $RPM_BUILD_ROOT%_datadir/stardict/dic/%dict_name.ifo # install -p -m644 -D %name/%dict_name.idx.oft $RPM_BUILD_ROOT%_datadir/stardict/dic/%dict_name.idx.oft %files %_datadir/stardict/dic/* %changelog * Wed Jun 18 2008 Alexandra Panyukova <mex3@altlinux.ru> 1.0-alt1 - build for Sisyphus * Wed Jun 18 2008 Alexandra Panyukova <mex3@altlinux.ru> 1.0-alt0 - build for ALTLinux