Rocket-Chat

Client-Paket für Opensuse 13.1 64bit:
https://borwinius.de/progs/rocketchat-2.15-3.x86_64.rpm

Specfile zum umpacken:

rocketchat.spec
#
# spec file for rocketchat app...
#
Summary: Rocket-Chat-Client
Name: rocketchat
Version: 2.15
Release: 3
License: GPL
Group: Applications/Chat
#Source: http://meinserver/suse/app2/13.1/
URL: https://github.com/RocketChat/Rocket.Chat.Electron/releases
Distribution: OpenSuse 13.1
Vendor: irgendwas GmbH
Packager: Richard Borwinius <richard@borwinius.de>
Requires: libnotify4 dbus-1
 
%description
Chatprogramm rocketchat umgepackt auf opensuse 13.1
%prep
#zcat $RPM_SOURCE_DIR/datei.tgz | tar -xvf -
#ls $RPM_SOURCE_DIR
 
%build
#make 
#ls
 
%install
#make install
mkdir -p $RPM_BUILD_ROOT/opt/Rocket.Chat
mkdir -p $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/build
mkdir -p $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries
mkdir -p $RPM_BUILD_ROOT/opt/Rocket.Chat/locales
mkdir -p $RPM_BUILD_ROOT/opt/Rocket.Chat/swiftshader
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/1024x1024/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/24x24/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/256x256/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/512x512/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/96x96/apps
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
 
#ln -s ../../etc/init.d/meindienst %{buildroot}/usr/sbin/rcmeindienst
 
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/1024x1024/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/1024x1024/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/64x64/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/24x24/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/24x24/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/32x32/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/512x512/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/512x512/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/96x96/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/96x96/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/48x48/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/128x128/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/256x256/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/256x256/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/icons/hicolor/16x16/apps/rocketchat-desktop.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/
install -m 644 $RPM_SOURCE_DIR/rocketchat/usr/share/applications/rocketchat-desktop.desktop $RPM_BUILD_ROOT/usr/share/applications/
 
install -m 755 $RPM_SOURCE_DIR/rocketchat/icudtl.dat $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/v8_context_snapshot.bin $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/chrome_100_percent.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/snapshot_blob.bin $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/libffmpeg.so $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/libdbus-1.so.3 $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/resources/electron.asar $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/build/icon.ico $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/build/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/dictionaries/en_GB.dic $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/dictionaries/es_ES.dic $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/dictionaries/pt_BR.dic $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/dictionaries/es_ES.aff $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/dictionaries/pt_BR.aff $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/dictionaries/en_US.dic $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/dictionaries/en_US.aff $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries/
install -m 644 $RPM_SOURCE_DIR/rocketchat/resources/dictionaries/en_GB.aff $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/dictionaries/
install -m 755 $RPM_SOURCE_DIR/rocketchat/resources/app.asar $RPM_BUILD_ROOT/opt/Rocket.Chat/resources/
install -m 755 $RPM_SOURCE_DIR/rocketchat/libEGL.so $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/libGLESv2.so $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/swiftshader/libEGL.so $RPM_BUILD_ROOT/opt/Rocket.Chat/swiftshader/
install -m 755 $RPM_SOURCE_DIR/rocketchat/swiftshader/libGLESv2.so $RPM_BUILD_ROOT/opt/Rocket.Chat/swiftshader/
install -m 644 $RPM_SOURCE_DIR/rocketchat/LICENSES.chromium.html $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/natives_blob.bin $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/resources.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 644 $RPM_SOURCE_DIR/rocketchat/LICENSE.electron.txt $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/chrome_200_percent.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/da.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ru.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/en-GB.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/uk.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/it.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/et.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/nb.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/zh-TW.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/id.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/mr.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/cs.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/hi.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/vi.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ro.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/bn.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/en-US.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/pl.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/lt.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ar.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/sv.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/es-419.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/tr.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ja.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/te.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/lv.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ms.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/de.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/fil.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/es.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/sr.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/gu.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/hu.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ml.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/hr.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/sl.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ta.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/nl.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/fr.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/sk.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/fa.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/he.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ca.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/pt-BR.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/bg.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/fi.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/zh-CN.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/pt-PT.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/el.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/th.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/ko.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/sw.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/am.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/locales/kn.pak $RPM_BUILD_ROOT/opt/Rocket.Chat/locales/
install -m 755 $RPM_SOURCE_DIR/rocketchat/rocketchat-desktop $RPM_BUILD_ROOT/opt/Rocket.Chat/
install -m 755 $RPM_SOURCE_DIR/rocketchat/libVkICD_mock_icd.so $RPM_BUILD_ROOT/opt/Rocket.Chat/
 
%post
#insserv meindienst
#rcmeindienst start
 
%preun
#rcmeindienst stop
#insserv -r meindienst
%postun
rm -rf /opt/Rocket.Chat
 
%files
 
/usr/share/icons/hicolor/1024x1024/apps/rocketchat-desktop.png
/usr/share/icons/hicolor/64x64/apps/rocketchat-desktop.png
#/opt/Rocket.Chat/rocketchat-desktop.png
/usr/share/icons/hicolor/24x24/apps/rocketchat-desktop.png
/usr/share/icons/hicolor/32x32/apps/rocketchat-desktop.png
/usr/share/icons/hicolor/512x512/apps/rocketchat-desktop.png
/usr/share/icons/hicolor/96x96/apps/rocketchat-desktop.png
/usr/share/icons/hicolor/48x48/apps/rocketchat-desktop.png
/usr/share/icons/hicolor/128x128/apps/rocketchat-desktop.png
/usr/share/icons/hicolor/256x256/apps/rocketchat-desktop.png
/usr/share/icons/hicolor/16x16/apps/rocketchat-desktop.png
/usr/share/applications/rocketchat-desktop.desktop
 
/opt/Rocket.Chat/icudtl.dat
/opt/Rocket.Chat/v8_context_snapshot.bin
/opt/Rocket.Chat/chrome_100_percent.pak
/opt/Rocket.Chat/snapshot_blob.bin
/opt/Rocket.Chat/libffmpeg.so
/opt/Rocket.Chat/libdbus-1.so.3
/opt/Rocket.Chat/resources/electron.asar
/opt/Rocket.Chat/resources/build/icon.ico
/opt/Rocket.Chat/resources/dictionaries/en_GB.dic
/opt/Rocket.Chat/resources/dictionaries/es_ES.dic
/opt/Rocket.Chat/resources/dictionaries/pt_BR.dic
/opt/Rocket.Chat/resources/dictionaries/es_ES.aff
/opt/Rocket.Chat/resources/dictionaries/pt_BR.aff
/opt/Rocket.Chat/resources/dictionaries/en_US.dic
/opt/Rocket.Chat/resources/dictionaries/en_US.aff
/opt/Rocket.Chat/resources/dictionaries/en_GB.aff
/opt/Rocket.Chat/resources/app.asar
/opt/Rocket.Chat/libEGL.so
/opt/Rocket.Chat/libGLESv2.so
/opt/Rocket.Chat/swiftshader/libEGL.so
/opt/Rocket.Chat/swiftshader/libGLESv2.so
/opt/Rocket.Chat/LICENSES.chromium.html
/opt/Rocket.Chat/natives_blob.bin
/opt/Rocket.Chat/resources.pak
/opt/Rocket.Chat/LICENSE.electron.txt
/opt/Rocket.Chat/chrome_200_percent.pak
/opt/Rocket.Chat/locales/da.pak
/opt/Rocket.Chat/locales/ru.pak
/opt/Rocket.Chat/locales/en-GB.pak
/opt/Rocket.Chat/locales/uk.pak
/opt/Rocket.Chat/locales/it.pak
/opt/Rocket.Chat/locales/et.pak
/opt/Rocket.Chat/locales/nb.pak
/opt/Rocket.Chat/locales/zh-TW.pak
/opt/Rocket.Chat/locales/id.pak
/opt/Rocket.Chat/locales/mr.pak
/opt/Rocket.Chat/locales/cs.pak
/opt/Rocket.Chat/locales/hi.pak
/opt/Rocket.Chat/locales/vi.pak
/opt/Rocket.Chat/locales/ro.pak
/opt/Rocket.Chat/locales/bn.pak
/opt/Rocket.Chat/locales/en-US.pak
/opt/Rocket.Chat/locales/pl.pak
/opt/Rocket.Chat/locales/lt.pak
/opt/Rocket.Chat/locales/ar.pak
/opt/Rocket.Chat/locales/sv.pak
/opt/Rocket.Chat/locales/es-419.pak
/opt/Rocket.Chat/locales/tr.pak
/opt/Rocket.Chat/locales/ja.pak
/opt/Rocket.Chat/locales/te.pak
/opt/Rocket.Chat/locales/lv.pak
/opt/Rocket.Chat/locales/ms.pak
/opt/Rocket.Chat/locales/de.pak
/opt/Rocket.Chat/locales/fil.pak
/opt/Rocket.Chat/locales/es.pak
/opt/Rocket.Chat/locales/sr.pak
/opt/Rocket.Chat/locales/gu.pak
/opt/Rocket.Chat/locales/hu.pak
/opt/Rocket.Chat/locales/ml.pak
/opt/Rocket.Chat/locales/hr.pak
/opt/Rocket.Chat/locales/sl.pak
/opt/Rocket.Chat/locales/ta.pak
/opt/Rocket.Chat/locales/nl.pak
/opt/Rocket.Chat/locales/fr.pak
/opt/Rocket.Chat/locales/sk.pak
/opt/Rocket.Chat/locales/fa.pak
/opt/Rocket.Chat/locales/he.pak
/opt/Rocket.Chat/locales/ca.pak
/opt/Rocket.Chat/locales/pt-BR.pak
/opt/Rocket.Chat/locales/bg.pak
/opt/Rocket.Chat/locales/fi.pak
/opt/Rocket.Chat/locales/zh-CN.pak
/opt/Rocket.Chat/locales/pt-PT.pak
/opt/Rocket.Chat/locales/el.pak
/opt/Rocket.Chat/locales/th.pak
/opt/Rocket.Chat/locales/ko.pak
/opt/Rocket.Chat/locales/sw.pak
/opt/Rocket.Chat/locales/am.pak
/opt/Rocket.Chat/locales/kn.pak
/opt/Rocket.Chat/rocketchat-desktop
/opt/Rocket.Chat/libVkICD_mock_icd.so
 
%changelog
* Tue Jul 2 2019 richard
  initial creation