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
|
Summary: Czech laguage tools
Summary(cs): Nstroje pro prci s eskm jazykem (koverze kdovn, tdn)
Name: cstools
Version: __VERSION__
Release: 1
Group: Applications/Text
Group(cs): Aplikace/Text
Source: Cstools-%{version}.tar.gz
URL: http://www.fi.muni.cz/~adelton/perl/
Copyright: 1997--2002 Jan Pazdziora, adelton@fi.muni.cz.
Buildroot: /tmp/cstools-root
Packager: Milan Kerslager <kerslage@linux.cz>
%description
This package includes modules that are usefull when dealing with
Czech (and Slovak) texts in Perl.
Program cstocs:
This version of popular charset reencoding utility uses the above
mentioned module to convert text between various charsets.
Module Cz::Cstocs:
Implements object for various charset encodings, used for the Czech
language -- either as objects, or as direct conversion functions. One
of the charsets is tex for things like \v{c}.
Module Cz::Sort:
Sorts according to Czech sorting conventions, regardless on (usually
broken) locales. Exports functions czcmp and czsort which can be used
in similar way as as Perl's internals cmp and sort.
%description -l cs
V tomto balku jsou moduly, kter mohou bt uiten pi prci s eskmi
(a slovenskmi) texty v Perlu.
Program cstocs:
Tato verze konverzho programu cstocs je zaloena na ve uvedenm
modulu. Provd pevody kdovn nad danmi soubory nebo nad
standardnm vstupem.
Modul Cz::Cstocs:
Objekt, pomoc nho je mono konvertovat mezi znakovmi sadami bez
nutnosti vnjho programu -- bu formou objektovou, nebo pmmi
konverznmi funkcemi. Jednou ze znakovch sad je i sada tex, tedy
nap. \v{c}.
Modul Cz::Sort:
Implementuje typrchodov esk tdn, nezvisl na pouitch
locales, protoe kdo m sprvn locales, e? Exportuje funkce czcmp
a czsort, kter pracuj podobn jako perlovsk vestavn cmp a sort.
%prep
%setup -n Cstools-%{version}
%build
perl Makefile.PL
make
make test
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr
# make install wants to append to perllocal.pod which is politically
# incorrect behaviour; let's disable it: it's RPM that is supposed to
# keep track of installed software
make PREFIX=$RPM_BUILD_ROOT/usr \
DOC_INSTALL="-#" \
install
# .packlist is incorrect and useless (see above)
rm `find $RPM_BUILD_ROOT -name .packlist`
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/usr/bin/*
/usr/lib/perl5/site_perl/*/Cz/*
%{_mandir}/man[0-9]/*
%doc Changes README
%changelog
* Fri Dec 1 2000, included Fri Jun 28 2002 Milan Kerslager <kerslage@linux.cz>
- fixes for 7.0
* Thu Jul 15 1999 Milan Kerslager <milan.kerslager@spsselib.hiedu.cz>
- added descriptions (en, cs)
|