]> git.deb.at Git - pkg/abook.git/blobdiff - abook.spec.in
vformat: added abook's specific libvformat wrapper: vcard.[ch]
[pkg/abook.git] / abook.spec.in
index f5962cca696a60eac461f83f4d37ce6a523cab02..6ecf1b52320c1be53c48bf8014f4375cdc46947c 100644 (file)
@@ -1,38 +1,46 @@
-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
+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
-make
+make %{_smp_mflags}
+
 
 %install
 %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
 %{_bindir}/abook
 %{_mandir}/man1/abook.*
 %{_mandir}/man5/abookrc.*
 
+
 %changelog
 * Mon Mar 11 2002 Jaakko Heinonen <jheinonen@users.sourceforge.net>
 - rewrote the spec file originally written by