Name: mattermost-desktop License: Github/Distributable Group: Applications/Internet Summary: Mattermost is an open source, self-hosted Slack-alternativ Version: 4.6.1 Release: 1.tgho1%{?dist} URL: https://about.mattermost.com/downloads/ # ftp://ftp.mozilla.org/pub/addons/337435/ Packager: Valentin Bajrami Vendor: Slimmer AI, https://slimmer.ai Source0: %{name}-%{version}-linux-x64.tar.gz #Source100: Mattermost.sh BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: tar %{?filter_setup: %filter_from_requires /libffmpeg\.so\..*/d %filter_from_requires /libnode\.so\..*/d %filter_from_provides /libffmpeg\.so\..*/d %filter_from_provides /libnode\.so\..*/d } %global __requires_exclude %{?__requires_exclude:__requires_exclude|}^libffmpeg %global __provides_exclude %{?__provides_exclude:__provides_exclude|}^libffmpeg %global __requires_exclude %__requires_exclude|^libnode %global __provides_exclude %__provides_exclude|^libnode %description Mattermost - Private Cloud Slack-alternative Messaging that Works Share messages and files across phones and PCs, with archiving and instant search. Integrate with your existing systems. All while keeping vital communications behind your firewall. Data Center Ready 100% self-hosted solution with integrated authentication, compliance, auditing, high availability and a host of security and management features for enterprise organizations. Slack-compatible, not Slack-limited Mattermost supports a superset of Slack’s popular features, including webhook APIs, along with import of Slack channels, users, and even theme colors. %post %preun %files #defattr(0755,root,root,-) %dir %{_libexecdir}/%{name}-%{version}/ %{_libexecdir}/%{name}-%{version}/* %{_bindir}/Mattermost %{_bindir}/mattermost-desktop %{_datadir}/applications/mattermost-desktop.desktop %{_datadir}/icons/hicolor/256x256/status/mattermost.png %build %install mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/ mkdir -p $RPM_BUILD_ROOT%{_bindir}/ #install -m 755 %{SOURCE100} $RPM_BUILD_ROOT%{_bindir}/Mattermost cd $RPM_BUILD_ROOT%{_libexecdir}/ tar -xzvf %{SOURCE0} mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/icons/hicolor/256x256/status/ cp %{name}-%{version}/mattermost.png ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/256x256/status/mattermost.png mkdir -p $RPM_BUILD_ROOT%{_bindir}/ cd $RPM_BUILD_ROOT%{_bindir}/ ln -s ../libexec/%{name}-%{version}/%{name} %{name} ln -s ../libexec/%{name}-%{version}/%{name} Mattermost cd - mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/ cat << EOF > ${RPM_BUILD_ROOT}/%{_datadir}/applications/mattermost-desktop.desktop [Desktop Entry] Version=1.0 Type=Application Name=Mattermost desktop Comment=Chat using Mattermost GenericName=Instant Messaging Icon=mattermost Exec=mattermost-desktop Terminal=False # no mime-types associated Categories=Network;InstantMessaging;X-Red-Hat-Base; StartupNotify=false EOF %changelog * Wed Oct 14 2020 Valentin Bajrami - 4.5.4 - update * Mon Aug 31 2020 Valentin Bajrami - 4.5.3 - update * Mon Jul 20 2020 Valentin Bajrami - 4.5.1 - Important security bugfix * Fri May 08 2020 Valentin Bajrami - 4.5.0 - update * Fri May 08 2020 Valentin Bajrami - 4.4.1 - update * Wed Feb 26 2020 Valentin Bajrami - 4.4.0 - update * Sat Aug 17 2019 Valentin Bajrami - 4.2.3 - update * Fri Apr 12 2019 Valentin Bajrami - 4.2.1 - update * Wed Jan 16 2019 Valentin Bajrami - 4.2 - update * Fri Jun 22 2018 Valentin Bajrami - 4.1.2-2 - update * Wed May 02 2018 Valentin Bajrami - 4.0.1-2 - update - Fixing icon. * Tue May 30 2017 Jaroslaw Polok - 3.7.0-1 - update * Fri Mar 31 2017 Jaroslaw Polok - 3.6.0-1 - update * Thu Feb 09 2017 Jaroslaw Polok - 3.5.0-1 - update * Tue Oct 11 2016 Jaroslaw Polok - 3.4.1-1 - update * Fri Sep 16 2016 Jaroslaw Polok - 1.3.0-1 - initial release.