]> git.deb.at Git - pkg/abook.git/blobdiff - abook.spec.in
Upload 0.6.1-2 to unstable
[pkg/abook.git] / abook.spec.in
index ffa96ae4496733b9f6068a8a2b3295535a472424..6ecf1b52320c1be53c48bf8014f4375cdc46947c 100644 (file)
@@ -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
+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