|
|
@ -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 |
|
|
|