Browse Source

mattermost-plugin-jitsi package update v1.2.0

Signed-off-by: webbuilder_pel7ppc64bebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64bebuilder0 5 years ago
parent
commit
0f32e466eb
  1. 10
      SPECS/mattermost-plugin-jitsi.spec

10
SPECS/mattermost-plugin-jitsi.spec

@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
%define debug_package %{nil}

Name: mattermost-plugin-jitsi
Version: 1.0.1
Version: 1.2.0
Release: 1%{?dist}
Summary: Plugin for Mattermost and Jitsi
License: Apache
@ -46,14 +46,18 @@ go build -o plugin.exe ./server @@ -46,14 +46,18 @@ go build -o plugin.exe ./server
%install
mkdir -p %{buildroot}%{mattermost_home}/plugins/jitsi/{server,webapp}
cp -rv src/github.com/seansackowitz/mattermost-plugin-jitsi/plugin.json %{buildroot}%{mattermost_home}/plugins/jitsi/
sed 's/"executables": {/"executables": { "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/jitsi/plugin.json
sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/jitsi/plugin.json
sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/jitsi/plugin.json
sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/jitsi/plugin.json
cp -rv src/github.com/seansackowitz/mattermost-plugin-jitsi/plugin.exe %{buildroot}%{mattermost_home}/plugins/jitsi/server/
cp -rv src/github.com/seansackowitz/mattermost-plugin-jitsi/webapp/dist/jitsi_bundle.js %{buildroot}%{mattermost_home}/plugins/jitsi/webapp/
cp -rv src/github.com/seansackowitz/mattermost-plugin-jitsi/webapp/dist/main.js %{buildroot}%{mattermost_home}/plugins/jitsi/webapp/


%files
%{mattermost_home}/plugins/jitsi/plugin.json
%{mattermost_home}/plugins/jitsi/server/plugin.exe
%{mattermost_home}/plugins/jitsi/webapp/jitsi_bundle.js
%{mattermost_home}/plugins/jitsi/webapp/main.js


%changelog

Loading…
Cancel
Save