From: Jaakko Heinonen Date: Sun, 25 Sep 2005 10:48:48 +0000 (+0000) Subject: - prepare spec file for i18n support X-Git-Tag: upstream/0.6.1~2^2~157 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=fe9d79836b5620747b54a666c65206d61732c960;p=pkg%2Fabook.git - prepare spec file for i18n support --- diff --git a/abook.spec.in b/abook.spec.in index 2c08556..6ecf1b5 100644 --- a/abook.spec.in +++ b/abook.spec.in @@ -2,14 +2,13 @@ Summary: Text-based addressbook program Name: @PACKAGE@ Version: @VERSION@ Release: 1 -Copyright: GPL +License: GPL Group: Utilities Source: http://prdownloads.sourceforge.net/abook/%{name}-%{version}.tar.gz URL: http://abook.sourceforge.net/ BuildPreReq: ncurses-devel readline-devel gettext BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root - %description Abook is a text-based addressbook program designed to use with mutt mail client. @@ -27,12 +26,14 @@ make %{_smp_mflags} %install %makeinstall +%find_lang %{name} + %clean -[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf -- "%{buildroot}" +rm -rf -- "%{buildroot}" -%files +%files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README THANKS TODO sample.abookrc %{_bindir}/abook