Browse Source

update all mattermost plugins

Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64lebuilder0 4 years ago
parent
commit
57c72b0092
  1. 4
      SPECS/mattermost-plugin-jitsi.spec
  2. 5
      SPECS/mattermost-plugin-matterpoll.spec
  3. 3
      SPECS/mattermost-plugin-memes.spec
  4. 4
      SPECS/mattermost-plugin-remind.spec
  5. 7
      SPECS/mattermost-plugin-zoom.spec

4
SPECS/mattermost-plugin-jitsi.spec

@ -40,18 +40,20 @@ go build -o plugin.exe ./server
%install %install
mkdir -p %{buildroot}%{mattermost_home}/plugins/jitsi/{server,webapp} mkdir -p %{buildroot}%{mattermost_home}/plugins/jitsi/{server,webapp}
cp -rv src/github.com/mattermost/mattermost-plugin-jitsi/plugin.json %{buildroot}%{mattermost_home}/plugins/jitsi/ cp -rv src/github.com/mattermost/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 's/"executables": {/"executables": { "linux-%{_arch}": "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/jitsi/plugin.json
sed '/"darwin-amd64"/d' -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 '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/jitsi/plugin.json
sed '/"windows-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/mattermost/mattermost-plugin-jitsi/plugin.exe %{buildroot}%{mattermost_home}/plugins/jitsi/server/ cp -rv src/github.com/mattermost/mattermost-plugin-jitsi/plugin.exe %{buildroot}%{mattermost_home}/plugins/jitsi/server/
cp -rv src/github.com/mattermost/mattermost-plugin-jitsi/webapp/dist/ %{buildroot}%{mattermost_home}/plugins/jitsi/webapp/ cp -rv src/github.com/mattermost/mattermost-plugin-jitsi/webapp/dist/ %{buildroot}%{mattermost_home}/plugins/jitsi/webapp/
cp -rv src/github.com/mattermost/mattermost-plugin-jitsi/assets/ %{buildroot}%{mattermost_home}/plugins/jitsi/




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




%changelog %changelog

5
SPECS/mattermost-plugin-matterpoll.spec

@ -43,18 +43,21 @@ popd
%install %install
mkdir -p %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/{server,webapp} mkdir -p %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/{server,webapp}
cp -rv src/github.com/matterpoll/matterpoll/plugin.json %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/ cp -rv src/github.com/matterpoll/matterpoll/plugin.json %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/
sed 's/"executables": {/"executables": { "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json sed 's/"executables": {/"executable": "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json
sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json
sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json
sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json
sed '/\t },"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json
cp -rv src/github.com/matterpoll/matterpoll/plugin.exe %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/server/ cp -rv src/github.com/matterpoll/matterpoll/plugin.exe %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/server/
cp -rv src/github.com/matterpoll/matterpoll/webapp/dist/ %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/webapp/ cp -rv src/github.com/matterpoll/matterpoll/webapp/dist/ %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/webapp/
cp -rv src/github.com/matterpoll/matterpoll/assets/ %{buildroot}%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/




%files %files
%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json %{mattermost_home}/plugins/com.github.matterpoll.matterpoll/plugin.json
%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/server/plugin.exe %{mattermost_home}/plugins/com.github.matterpoll.matterpoll/server/plugin.exe
%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/webapp/dist/main.js %{mattermost_home}/plugins/com.github.matterpoll.matterpoll/webapp/dist/main.js
%{mattermost_home}/plugins/com.github.matterpoll.matterpoll/assets/




%changelog %changelog

3
SPECS/mattermost-plugin-memes.spec

@ -36,10 +36,11 @@ go build -o plugin.exe ./server
%install %install
mkdir -p %{buildroot}%{mattermost_home}/plugins/memes/server/ mkdir -p %{buildroot}%{mattermost_home}/plugins/memes/server/
cp -rv src/github.com/mattermost/mattermost-plugin-memes/plugin.json %{buildroot}%{mattermost_home}/plugins/memes/ cp -rv src/github.com/mattermost/mattermost-plugin-memes/plugin.json %{buildroot}%{mattermost_home}/plugins/memes/
sed 's/"executables": {/"executables": { "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json sed 's/"executables": {/"executables": { "linux-ppc64le": "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json
sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json
sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json
sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json
sed '/"executable": /d' -i %{buildroot}%{mattermost_home}/plugins/memes/plugin.json
cp -rv src/github.com/mattermost/mattermost-plugin-memes/plugin.exe %{buildroot}%{mattermost_home}/plugins/memes/server/ cp -rv src/github.com/mattermost/mattermost-plugin-memes/plugin.exe %{buildroot}%{mattermost_home}/plugins/memes/server/





4
SPECS/mattermost-plugin-remind.spec

@ -41,16 +41,18 @@ go build -o plugin.exe ./server
%install %install
mkdir -p %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/{server,webapp} mkdir -p %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/{server,webapp}
cp -rv src/github.com/scottleedavis/mattermost-plugin-remind/plugin.json %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/ cp -rv src/github.com/scottleedavis/mattermost-plugin-remind/plugin.json %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/
sed 's/"executables": {/"executables": { "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json sed 's/"executables": {/"executable": "server\/plugin.exe"/' -i %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json
sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json
sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json
sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json
cp -rv src/github.com/scottleedavis/mattermost-plugin-remind/plugin.exe %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/server/ cp -rv src/github.com/scottleedavis/mattermost-plugin-remind/plugin.exe %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/server/
cp -rv src/github.com/scottleedavis/mattermost-plugin-remind/assets %{buildroot}%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/




%files %files
%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json %{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/plugin.json
%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/server/plugin.exe %{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/server/plugin.exe
%{mattermost_home}/plugins/com.github.scottleedavis.mattermost-plugin-remind/assets/




%changelog %changelog

7
SPECS/mattermost-plugin-zoom.spec

@ -45,13 +45,16 @@ sed '/"darwin-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/zoom/plugin.js
sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/zoom/plugin.json sed '/"linux-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/zoom/plugin.json
sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/zoom/plugin.json sed '/"windows-amd64"/d' -i %{buildroot}%{mattermost_home}/plugins/zoom/plugin.json
cp -rv src/github.com/mattermost/mattermost-plugin-zoom/plugin.exe %{buildroot}%{mattermost_home}/plugins/zoom/server/ cp -rv src/github.com/mattermost/mattermost-plugin-zoom/plugin.exe %{buildroot}%{mattermost_home}/plugins/zoom/server/
cp -rv src/github.com/mattermost/mattermost-plugin-zoom/webapp/dist/main.js %{buildroot}%{mattermost_home}/plugins/zoom/webapp/ mkdir -p %{buildroot}%{mattermost_home}/plugins/zoom/webapp/dist/
cp -rv src/github.com/mattermost/mattermost-plugin-zoom/webapp/dist/main.js %{buildroot}%{mattermost_home}/plugins/zoom/webapp/dist/
cp -rv src/github.com/mattermost/mattermost-plugin-zoom/assets/ %{buildroot}%{mattermost_home}/plugins/zoom/




%files %files
%{mattermost_home}/plugins/zoom/plugin.json %{mattermost_home}/plugins/zoom/plugin.json
%{mattermost_home}/plugins/zoom/server/plugin.exe %{mattermost_home}/plugins/zoom/server/plugin.exe
%{mattermost_home}/plugins/zoom/webapp/main.js %{mattermost_home}/plugins/zoom/webapp/dist/main.js
%{mattermost_home}/plugins/zoom/assets/




%changelog %changelog

Loading…
Cancel
Save