]> git.deb.at Git - pkg/abook.git/blobdiff - abook.spec.in
- i18n support
[pkg/abook.git] / abook.spec.in
index f5962cca696a60eac461f83f4d37ce6a523cab02..2c08556ef4c3862838da7b67320b84868d57fa97 100644 (file)
@@ -1,30 +1,36 @@
-Summary: Text-based addressbook program
-Name: @PACKAGE@
-Version: @VERSION@
-Release: 1
-Copyright: 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
+Summary:       Text-based addressbook program
+Name:          @PACKAGE@
+Version:       @VERSION@
+Release:       1
+Copyright:     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.
 
+
 %prep
 %setup -q
 
+
 %build
 %configure
-make
+make %{_smp_mflags}
+
 
 %install
 %makeinstall
 
+
 %clean
-rm -rf "$RPM_BUILD_ROOT"
+[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf -- "%{buildroot}"
+
 
 %files
 %defattr(-,root,root)
@@ -33,6 +39,7 @@ rm -rf "$RPM_BUILD_ROOT"
 %{_mandir}/man1/abook.*
 %{_mandir}/man5/abookrc.*
 
+
 %changelog
 * Mon Mar 11 2002 Jaakko Heinonen <jheinonen@users.sourceforge.net>
 - rewrote the spec file originally written by