File profanity.spec of Package profanity
#
# spec file for package profanity
#
# 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: profanity
Version: 0.4.7
Release: 0
Summary: Console based XMPP client
License: SUSE-GPL-3.0+-with-openssl-exception
Group: Productivity/Networking/Instant Messenger
Url: http://profanity.im/
Source: http://profanity.im/%{name}-%{version}.tar.gz
BuildRequires: glib2-devel
BuildRequires: gnutls-devel
BuildRequires: libXss1
BuildRequires: libcurl-devel
BuildRequires: libexpat-devel
BuildRequires: libgpgme-devel
BuildRequires: libnotify-devel
BuildRequires: libotr-devel
BuildRequires: libstrophe-devel
BuildRequires: libuuid-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: readline-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Profanity is a console based XMPP client written in C using ncurses and libstrophe, inspired by Irssi.
%prep
%setup -q
%build
%configure \
--enable-notifications \
--enable-otr \
--with-themes \
--enable-pgp
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%{_bindir}/profanity
%{_mandir}/man1/profanity.1.*
%dir %{_datadir}/profanity/themes/
%dir %{_datadir}/profanity/
%{_datadir}/profanity/themes/*
%changelog