-Summary: Text to Postscript filter.
-Summary(pl): Filtr text/plain do Postscriptu
-Name: a2ps
-Version: 4.10.4
-Release: 5
-Copyright: GPL
-Group: Utilities/Text
-Group(pl): Narzêdzia/Tekst
-Vendor: Akim Demaille
-Source: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.bz2
-Patch0: a2ps-info.patch
-URL: http://www.inf.enst.fr/~demaille/a2ps/
-BuildRoot: /tmp/%{name}-%{version}-root
+#
+# TODO:
+# - do something with libpaper
+#
+Summary: Text to Postscript filter
+Summary(ja.UTF-8): テキスト→PostScript フィルタ
+Summary(pl.UTF-8): Filtr text/plain do Postscriptu
+Summary(zh_CN.UTF-8): 纯文本到Postscript转换器
+Name: a2ps
+Version: 4.14
+Release: 0.1
+License: GPL
+Group: Applications/Text
+# Source0: ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
+Source0: http://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz
+# Source0-md5: 781ac3d9b213fa3e1ed0d79f986dc8c7
+Source1: ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz
+# Source1-md5: fee1456d0e6e94af4fc5b5a1bb9687b7
+Source2: ogonkify.1.pl
+Patch0: %{name}-info.patch
+Patch1: %{name}-security.patch
+Patch2: %{name}-etc.patch
+Patch3: %{name}-flex.patch
+Patch4: %{name}-conf.patch
+Patch5: %{name}-glibcpaper.patch
+Patch6: %{name}-autoenc.patch
+Patch7: %{name}-i18n.patch
+Patch8: %{name}-ogonkify-xfig-fix.patch
+Patch9: %{name}-pl.po-update.patch
+Patch10: %{name}-locale-names.patch
+Patch11: %{name}-malloc.patch
+Patch12: %{name}-CAN-2004-1170.patch
+Patch13: %{name}-atan2.patch
+Patch14: %{name}-psset.patch
+URL: http://www.inf.enst.fr/~demaille/a2ps/
+BuildConflicts: libpaper-devel
+BuildRequires: automake
+BuildRequires: flex
+BuildRequires: gettext-devel
+BuildRequires: texinfo
+Requires(post,postun): /sbin/ldconfig
+Requires: psutils
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _sysconfdir /etc/a2ps