1 Summary: Translates char-sets and decodes MIME.
7 Group(pl): Narzêdzia/Tekst
8 Source: ftp://sunsite.unc.edu/pub/Linux/utils/text/%{name}-%{version}.tar.gz
9 Patch: 2UTF-install.patch
10 URL: http://www.angelfire.com/me/rch/ll.html#2UTF
11 BuildRoot: /tmp/%{name}-%{version}-root
14 Filter for char-set translation to and from Unicode.
15 Gets char-set definitions from WG15 locales char-maps or similiar tables.
16 Can decode nested multi-part MIME messages and invoke external filters.
17 Can display char-maps and current console font.
28 docsdir=%{_docdir}/%{name}-%{version} \
30 ALIASES=/var/state/2UTF.aliases \
31 charmaps_localdatadir=%{_datadir}/i18n/charmaps \
32 man1dir=%{_mandir}/man1 \
36 rm -rf $RPM_BUILD_ROOT
38 PREFIX=$RPM_BUILD_ROOT/%{_prefix} \
39 sysconfdir=$RPM_BUILD_ROOT/etc \
40 var_prefix=$RPM_BUILD_ROOT/var \
41 ALIASES=$RPM_BUILD_ROOT/var/state/2UTF.aliases \
42 docsdir=$RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} \
43 charmaps_localdatadir=$RPM_BUILD_ROOT/%{_datadir}/i18n/charmaps \
44 TERMINFO=$RPM_BUILD_ROOT/%{_datadir}/terminfo \
45 man1dir=$RPM_BUILD_ROOT/%{_mandir}/man1 \
51 rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/{fromUTF.1,toUTF.1}
52 echo ".so 2UTF.1" > $RPM_BUILD_ROOT/%{_mandir}/man1/toUTF.1
53 echo ".so 2UTF.1" > $RPM_BUILD_ROOT/%{_mandir}/man1/fromUTF.1
55 ln -sf 2UTF $RPM_BUILD_ROOT%{_bindir}/toUTF
57 gzip -9nf $RPM_BUILD_ROOT/%{_mandir}/man1/* examples/* \
58 BSD_style_license TODO changelog copyright || :
61 %{_bindir}/2UTF --create-aliases
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc {BSD_style_license,TODO,changelog,copyright}.gz examples
69 %config /etc/2UTF.config
70 %attr(755,root,root) %{_bindir}/*
72 %{_datadir}/terminfo/l/*
75 * Wed Jul 07 1999 Jan Rêkorajski <baggins@pld.org.pl>