Browse Source

mattermost-plugins update

Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64lebuilder0 5 years ago
parent
commit
1cace56d8b
  1. 2
      SPECS/mattermost-plugin-github.spec
  2. 3
      SPECS/mattermost-plugin-jitsi.spec
  3. 1
      SPECS/mattermost-plugin-rssfeed.spec
  4. 22
      SPECS/mattermost-plugin-voice.spec
  5. 16
      SPECS/mattermost-plugin-walltime.spec

2
SPECS/mattermost-plugin-github.spec

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

Name: mattermost-plugin-github
Version: 0.10.2
Version: 0.11.0
Release: 1%{?dist}
URL: https://github.com/mattermost/mattermost-plugin-github
Summary: Plugin for Mattermost and Github

3
SPECS/mattermost-plugin-jitsi.spec

@ -27,8 +27,9 @@ git clone https://github.com/seansackowitz/mattermost-plugin-jitsi @@ -27,8 +27,9 @@ git clone https://github.com/seansackowitz/mattermost-plugin-jitsi
%build
export GOPATH=`pwd`
export PATH="bin:"$PATH
export GO111MODULE=on
cd src/github.com/seansackowitz/mattermost-plugin-jitsi
#git checkout tags/v%{version}
git checkout tags/v%{version}
pushd webapp
npm install
npm run build

1
SPECS/mattermost-plugin-rssfeed.spec

@ -28,6 +28,7 @@ git clone https://github.com/wbernest/mattermost-plugin-rssfeed @@ -28,6 +28,7 @@ git clone https://github.com/wbernest/mattermost-plugin-rssfeed
%build
export GOPATH=`pwd`
export PATH="bin:"$PATH
export GO111MODULE=on
cd src/github.com/wbernest/mattermost-plugin-rssfeed
pushd server
#$GOPATH/bin/dep ensure

22
SPECS/mattermost-plugin-voice.spec

@ -43,20 +43,20 @@ popd @@ -43,20 +43,20 @@ popd


%install
mkdir -p %{buildroot}%{mattermost_home}/plugins/voice/{server,webapp}/dist/
cp -rv src/github.com/mattermost/mattermost-plugin-voice/plugin.json %{buildroot}%{mattermost_home}/plugins/voice/
sed 's/"executables": {/"executables": { "server\/dist\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/voice/plugin.json
sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/voice/plugin.json
sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/voice/plugin.json
sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/voice/plugin.json
cp -rv src/github.com/mattermost/mattermost-plugin-voice/plugin.exe %{buildroot}%{mattermost_home}/plugins/voice/server/dist/
cp -rv src/github.com/mattermost/mattermost-plugin-voice/webapp/dist/main.js %{buildroot}%{mattermost_home}/plugins/voice/webapp/dist/
mkdir -p %{buildroot}%{mattermost_home}/plugins/com.mattermost.voice/{server,webapp}/dist/
cp -rv src/github.com/mattermost/mattermost-plugin-voice/plugin.json %{buildroot}%{mattermost_home}/plugins/com.mattermost.voice/
sed 's/"executables": {/"executables": { "server\/dist\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/com.mattermost.voice/plugin.json
sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.mattermost.voice/plugin.json
sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.mattermost.voice/plugin.json
sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.mattermost.voice/plugin.json
cp -rv src/github.com/mattermost/mattermost-plugin-voice/plugin.exe %{buildroot}%{mattermost_home}/plugins/com.mattermost.voice/server/dist/
cp -rv src/github.com/mattermost/mattermost-plugin-voice/webapp/dist/main.js %{buildroot}%{mattermost_home}/plugins/com.mattermost.voice/webapp/dist/


%files
%{mattermost_home}/plugins/voice/plugin.json
%{mattermost_home}/plugins/voice/server/dist/plugin.exe
%{mattermost_home}/plugins/voice/webapp/dist/main.js
%{mattermost_home}/plugins/com.mattermost.voice/plugin.json
%{mattermost_home}/plugins/com.mattermost.voice/server/dist/plugin.exe
%{mattermost_home}/plugins/com.mattermost.voice/webapp/dist/main.js


%changelog

16
SPECS/mattermost-plugin-walltime.spec

@ -22,8 +22,6 @@ export GOPATH=`pwd` @@ -22,8 +22,6 @@ export GOPATH=`pwd`
go get -u -v github.com/pkg/errors
mkdir -p src/github.com/mattermost/
cd src/github.com/mattermost/
git clone https://github.com/mattermost/mattermost-server
git clone https://github.com/mattermost/mattermost-webapp
git clone https://github.com/mattermost/mattermost-plugin-walltime


@ -31,16 +29,20 @@ git clone https://github.com/mattermost/mattermost-plugin-walltime @@ -31,16 +29,20 @@ git clone https://github.com/mattermost/mattermost-plugin-walltime
export GOPATH=`pwd`
export PATH="bin:"$PATH
cd src/github.com/mattermost/mattermost-plugin-walltime
make
pushd webapp
npm install
npm run build
popd


%install
mkdir -p %{buildroot}%{mattermost_home}/plugins
cp -rv src/github.com/mattermost/mattermost-plugin-walltime/dist/com.mattermost.walltime-plugin/ %{buildroot}%{mattermost_home}/plugins/
mkdir -p %{buildroot}%{mattermost_home}/plugins/com.mattermost.walltime/webapp/dist/
cp -rv src/github.com/mattermost/mattermost-plugin-walltime/webapp/dist/main.js %{buildroot}%{mattermost_home}/plugins/com.mattermost.walltime/webapp/dist/
cp -rv src/github.com/mattermost/mattermost-plugin-walltime/plugin.json %{buildroot}%{mattermost_home}/plugins/com.mattermost.walltime/plugin.json


%files
%{mattermost_home}/plugins/com.mattermost.walltime-plugin/plugin.json
%{mattermost_home}/plugins/com.mattermost.walltime-plugin/webapp/dist/main.js
%{mattermost_home}/plugins/com.mattermost.walltime/plugin.json
%{mattermost_home}/plugins/com.mattermost.walltime/webapp/dist/main.js

%changelog

Loading…
Cancel
Save