]> git.deb.at Git - pkg/abook.git/blobdiff - abook.spec
Merge branch 'dh'
[pkg/abook.git] / abook.spec
index 027d56311ca31b04ba7942a938ba579c2f94958b..2b8023b5daf0a0d9153800bd6da9970d3ea8a7cc 100644 (file)
@@ -1,15 +1,14 @@
 Summary:       Text-based addressbook program
 Name:          abook
-Version:       0.5.4
+Version:       0.6.0pre2
 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