]> git.pld-linux.org Git - SPECS.git/blob - mattermost.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / mattermost.spec
1 # TODO
2 # - build from source
3 # - finish installation http://docs.mattermost.com/install/prod-rhel-7.html
4
5 Summary:        Mattermost is an open source, self-hosted Slack-alternative
6 Name:           mattermost
7 Version:        2.2.0
8 Release:        0.1
9 License:        MIT
10 Group:          Applications/Networking
11 Source0:        https://releases.mattermost.com/%{version}/%{name}-team-%{version}-linux-amd64.tar.gz
12 URL:            http://www.mattermost.org/
13 ExclusiveArch:  %{x8664}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _appdir /opt/mattermost
17
18 %description
19 As an alternative to proprietary SaaS messaging, Mattermost brings all
20 your team communication into one place, making it searchable and
21 accessible anywhere.
22
23 %prep
24 %setup -qc
25 mv mattermost/* .
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_appdir}
30 cp -a api bin config i18n logs web $RPM_BUILD_ROOT%{_appdir}
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %doc README.md MIT-COMPILED-LICENSE.md NOTICE.txt
38 %attr(755,root,root) %{_appdir}/bin/platform
39 %dir %{_appdir}
40 %dir %{_appdir}/web
41 %{_appdir}/web/static
42 %{_appdir}/web/templates
43 %dir %{_appdir}/api
44 %{_appdir}/api/templates
45 %dir %{_appdir}/bin
46 %{_appdir}/config
47 %dir %{_appdir}/i18n
48 %{_appdir}/i18n/en.json
49 %lang(es) %{_appdir}/i18n/es.json
50 %lang(fr) %{_appdir}/i18n/fr.json
51 %lang(pt) %{_appdir}/i18n/pt.json
This page took 0.123313 seconds and 3 git commands to generate.