File purple-mattermost.spec of Package purple-mattermost
#
# spec file for package purple-mattermost
#
# Copyright (c) 2016 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: purple-mattermost
Version: 1.2+git29
Release: 0
Summary: Mattermost protocol plugin for libpurple
License: GPL-2.0+
Group: Productivity/Networking/Instant Messenger
Url: https://github.com/p5n/purple-mattermost
Source: %{name}-%{version}.tar.xz
BuildRequires: libmarkdown-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.28.0
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(purple)
BuildRequires: unzip
%description
Connects libpurple-based instant messaging clients (such as Pidgin, Finch,
Adium, bitlbee) with Mattermost server.
%package -n libpurple-plugin-mattermost
Summary: Mattermost protocol plugin for libpurple
Group: Productivity/Networking/Instant Messenger
Enhances: libpurple
%description -n libpurple-plugin-mattermost
Connects libpurple-based instant messaging clients (such as Pidgin, Finch,
Adium, bitlbee) with Mattermost server.
%prep
%setup -q
%build
make %{?_smp_mflags} V=1
%install
%make_install
rm -rf "%{buildroot}/%{_datadir}/pixmaps"
%files -n libpurple-plugin-mattermost
%defattr(-,root,root)
%doc README.md
%{_libdir}/purple-2/libmattermost.so
%changelog