]> git.deb.at Git - pkg/abook.git/blobdiff - abook.spec.in
Add fix_spelling_error_in_binary.diff patch
[pkg/abook.git] / abook.spec.in
index 2d0b40768a7a8f5c4466ab6a3a1f8ec2ed468630..6ecf1b52320c1be53c48bf8014f4375cdc46947c 100644 (file)
@@ -1,48 +1,47 @@
-Summary: Text-based addressbook program
-Name: @PACKAGE@
-Version: @VERSION@
-Release: 1
-Source: http://prdownloads.sourceforge.net/abook/abook-%{version}.tar.gz
-URL: http://abook.sourceforge.net/
-License: GPL
-Group: Utilities
-BuildRoot: /var/tmp/%{name}-%{version}-buildroot
+Summary:       Text-based addressbook program
+Name:          @PACKAGE@
+Version:       @VERSION@
+Release:       1
+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.
 
+
 %prep
 %setup -q
 
+
 %build
-./configure --prefix="$RPM_BUILD_ROOT/usr"
-make CFLAGS="$RPM_OPT_FLAGS $CFLAGS"
+%configure
+make %{_smp_mflags}
+
 
 %install
-make install-strip
+%makeinstall
+
+%find_lang %{name}
+
 
 %clean
-rm -rf "$RPM_BUILD_ROOT"
+rm -rf -- "%{buildroot}"
 
-%files
+
+%files -f %{name}.lang
 %defattr(-,root,root)
 %doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README THANKS TODO sample.abookrc
-/usr/bin/abook
-/usr/man/man1/abook.1*
-/usr/man/man5/abookrc.5*
+%{_bindir}/abook
+%{_mandir}/man1/abook.*
+%{_mandir}/man5/abookrc.*
+
 
 %changelog
 * Mon Mar 11 2002 Jaakko Heinonen <jheinonen@users.sourceforge.net>
-- Added missing files: abookrc.5, FAQ
-- Made build use RPM_OPT_FLAGS
-- Changed BuildRoot
-
-* Tue Jun 19 2001 Don Harper <duck@duckland.org>
-- Updated to version 0.4.13.
-
-* Sun Dec 31 2000 Gustavo Niemeyer <niemeyer@conectiva.com>
-- Updated to version 0.4.11.
-
-* Wed Sep 20 2000 Gustavo Niemeyer <niemeyer@conectiva.com>
-- First package.
+- rewrote the spec file originally written by
+  Gustavo Niemeyer <niemeyer@conectiva.com>