Name: abook BuildRequires: ncurses-devel readline-devel gettext Summary: Text-based addressbook program Version: 0.6.0pre2 Release: 1 License: GPL Group: Productivity/Other Source: http://abook.sourceforge.net/devel/%{name}-%{version}.tar.gz URL: http://abook.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Abook is a text-based addressbook program designed to use with mutt mail client. %prep %setup -q -n %{name}-%{version} %build %configure make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fstack-protector-all" %{?jobs:-j %jobs} %install %makeinstall %find_lang %{name} %clean rm -rf -- "%{buildroot}" %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