X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=abook.spec.in;h=6ecf1b52320c1be53c48bf8014f4375cdc46947c;hb=refs%2Fheads%2Fexperimental;hp=445f32f87f204a013db351da5f933807215f3f9a;hpb=9d82930091c8cce4fc56c6f9e3cf46e68ca0bcb3;p=pkg%2Fabook.git diff --git a/abook.spec.in b/abook.spec.in index 445f32f..6ecf1b5 100644 --- a/abook.spec.in +++ b/abook.spec.in @@ -2,13 +2,12 @@ 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 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - +BuildPreReq: ncurses-devel readline-devel gettext +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Abook is a text-based addressbook program designed to @@ -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