Summary: Text-based addressbook program for mutt
-Summary(pl): Tekstowa ksi±¿ka adresowa dla klienta pocztowego mutt
+Summary(pl.UTF-8): Tekstowa książka adresowa dla klienta pocztowego mutt
Name: abook
-Version: 0.5.4
+Version: 0.5.6
Release: 1
License: GPL
Group: Applications/Mail
Source0: http://dl.sourceforge.net/abook/%{name}-%{version}.tar.gz
-# Source0-md5: 433b2e849fa458895e82260a354dde95
+# Source0-md5: 87d25df96864a7c507a4965e6d1da49d
Patch0: %{name}-home_etc.patch
+Patch1: http://abook.sourceforge.net/patches/0.5.6-01_editor
URL: http://abook.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: gettext-devel >= 0.14.1
BuildRequires: ncurses-devel >= 5.0
BuildRequires: readline-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Abook is a text-based addressbook program designed to use with mutt
mail client.
-%description -l pl
-Abook to pracuj±ca w trybie tekstowym ksi±¿ka adresowa zaprojektowana
-do u¿ycia z programem pocztowym mutt.
+%description -l pl.UTF-8
+Abook to pracująca w trybie tekstowym książka adresowa zaprojektowana
+do użycia z programem pocztowym mutt.
%prep
%setup -q
%patch0 -p1
+%patch1
%build
-%{__autoheader}
+%{__gettextize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
+%doc AUTHORS BUGS ChangeLog README THANKS TODO
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man[15]/*