0e05eaefcd
update OBS-URL: https://build.opensuse.org/request/show/341083 OBS-URL: https://build.opensuse.org/package/show/server:mail/abook?expand=0&rev=10
65 lines
1.7 KiB
RPMSpec
65 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package abook
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX 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: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: gettext
|
|
BuildRequires: ncurses-devel
|
|
BuildRequires: readline-devel
|
|
Recommends: %{name}-lang
|
|
Summary: Text-based addressbook program
|
|
License: GPL-2.0+
|
|
Group: Productivity/Other
|
|
Version: 0.6.1
|
|
Release: 0
|
|
Source: http://abook.sourceforge.net/devel/%{name}-%{version}.tar.gz
|
|
Url: http://abook.sourceforge.net/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Abook is a text-based addressbook program designed to
|
|
use with mutt mail client.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
export CFLAGS="%{optflags} -fgnu89-inline"
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
%find_lang %{name}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README THANKS TODO sample.abookrc
|
|
%{_bindir}/abook
|
|
%{_mandir}/man1/abook.*
|
|
%{_mandir}/man5/abookrc.*
|
|
|
|
%files lang -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|