]> git.deb.at Git - pkg/abook.git/commitdiff
- prepare spec file for i18n support
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Sun, 25 Sep 2005 10:48:48 +0000 (10:48 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Sun, 25 Sep 2005 10:48:48 +0000 (10:48 +0000)
abook.spec.in

index 2c08556ef4c3862838da7b67320b84868d57fa97..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 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