-Summary: Translates char-sets and decodes MIME.
-Summary(pl): Translator tablic znaków oraz dekoder MIME.
+Summary: Translates char-sets and decodes MIME
+Summary(pl): Translator tablic znaków oraz dekoder MIME
Name: 2UTF
-Version: 1.11
-Release: 4
+Version: 1.22
+Release: 1
License: BSD
Group: Applications/Text
Group(de): Applikationen/Text
Group(fr): Utilitaires/Texte
Group(pl): Aplikacje/Tekst
Source0: ftp://sunsite.unc.edu/pub/Linux/utils/text/%{name}-%{version}.tar.gz
-Patch0: %{name}-install.patch
-URL: http://www.angelfire.com/me/rch/ll.html#2UTF
+Patch0: %{name}-makefile.patch
+URL: http://x-lt.richard.eu.org/me/rch/ll.html
+#URL: http://www.angelfire.com/me/rch/ll.html#2UTF
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc
wy¶wietlaæ tablice znaków i aktualny font konsolowy.
%prep
-%setup -q -c -T
-(cd ..
-tar xzf %{SOURCE0} || :
-)
-chmod -R u+w .
+%setup -q
%patch -p0
%build
-%{__make} config
-%{__make} GZIPDOCS=no \
+CCFLAGS="%{rpmcflags} -L/usr/lib/gconv"; export CCFLAGS
+%{__make} config ICONV_DIR=%{_prefix}
+LDFLAGS="%{rpmcflags} -L/usr/lib/gconv"; export LDFLAGS
+%{__make} \
+ GZIPDOCS=no \
PREFIX=%{_prefix} \
sysconfdir=%{_sysconfdir} \
docsdir=%{_docdir}/%{name}-%{version} \
%files
%defattr(644,root,root,755)
-%doc {BSD_style_license,TODO,changelog,copyright}.gz examples
+%doc *.gz examples/*.gz
%config %{_sysconfdir}/2UTF.config
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*