-
Notifications
You must be signed in to change notification settings - Fork 23
/
purple-mattermost.spec.in
69 lines (48 loc) · 1.82 KB
/
purple-mattermost.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%{!?plugin_version: %define plugin_version @PLUGIN_VERSION@}
Name: purple-mattermost
Version: %{plugin_version}
Release: 1%{?dist}
Summary: Pidgin protocol plugin to connect to Mattermost
Vendor: Eion Robb
Group: Applications/Internet
License: GPLv3
URL: https://github.com/EionRobb/purple-mattermost
Source0: https://github.com/EionRobb/purple-mattermost/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# package version as available on RHEL7/EPEL7
BuildRequires: json-glib-devel >= 1.0.2
BuildRequires: libmarkdown-devel >= 2.1.8
BuildRequires: libpurple-devel >= 2.10.7
%description
A third-party plugin for the Pidgin multi-protocol instant messenger.
It connects libpurple-based instant messaging clients with Mattermost server.
This package provides the protocol plugin for libpurple clients.
%package -n pidgin-mattermost
Summary: Libpurple protocol plugin to connect to Mattermost
Group: Applications/Internet
License: GPLv2+
Requires: %{name} = %{version}-%{release}
%description -n pidgin-mattermost
A third-party plugin for the Pidgin multi-protocol instant messenger.
It connects libpurple-based instant messaging clients with Mattermost server.
This package provides the icon set for Pidgin.
%prep
%setup -q
%build
make
%install
DESTDIR=$RPM_BUILD_ROOT/ make install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%license LICENSE
%doc INSTALL.md README.md VERIFICATION.md
%{_libdir}/purple-*/libmattermost.so
%files -n pidgin-mattermost
%defattr(-,root,root,-)
%{_datadir}/pixmaps/pidgin/protocols/*/mattermost.png
%changelog
* %(date "+%a %b %d %Y") (Automated build) - %{version}-%{release}
- Updated package.
* Wed May 31 2017 Jaroslaw Polok <[email protected]> - 1.1
- Initial packaging.