2011-04-11 13:50:28 +02:00
|
|
|
#
|
|
|
|
# spec file for package abook
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: abook
|
|
|
|
BuildRequires: gettext ncurses-devel readline-devel
|
|
|
|
Summary: Text-based addressbook program
|
|
|
|
Version: 0.6.0pre2
|
2011-08-09 16:39:43 +02:00
|
|
|
Release: 3
|
2011-04-11 13:50:28 +02:00
|
|
|
License: GPL
|
|
|
|
Group: Productivity/Other
|
2011-08-09 16:39:36 +02:00
|
|
|
Source: http://abook.sourceforge.net/devel/%{name}-%{version}.tar.bz2
|
|
|
|
Patch0: abook_vcard_import.patch
|
2011-04-11 13:50:28 +02:00
|
|
|
Url: http://abook.sourceforge.net/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-04-11 13:50:14 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Abook is a text-based addressbook program designed to
|
|
|
|
use with mutt mail client.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
2011-08-09 16:39:36 +02:00
|
|
|
%patch0 -p1
|
2011-04-11 13:50:14 +02:00
|
|
|
|
|
|
|
%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
|