File rambox.spec of Package rambox

#
# spec file for package rambox
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%define debug_package %{nil}

Name:           rambox
Version:        0.7.7
Release:        lp150.9.1
Summary:        Combines common messaging and emailing apps
License:        MIT
Group:          Productivity/Networking/Instant Messenger
Url:            http://rambox.pro
ExclusiveArch:  x86_64
Packager:       Alessandro de Oliveira Faria (A.K.A CABELO) <cabelo@opensuse.org> 
Source0:        https://github.com/ramboxapp/community-edition/releases/download/%{version}/Rambox-%{version}-linux-x64.tar.gz
Source1:        %{name}.desktop
Source2:        %{name}.png
Source3:        %{name}.1
Source4:	%{name}.sh
Requires(post): update-desktop-files

%description
Free and Open Source messaging and emailing app that combines common web
applications into one.

%prep
%setup -q -n Rambox-%{version}-linux-x64

%build

%install
mkdir -p %{buildroot}/{opt/rambox,usr/{bin,share/{pixmaps,applications,man/man1}}}
cp -R * %{buildroot}/opt/%{name}
cp %{SOURCE2} %{buildroot}%{_datadir}/pixmaps
cp %{SOURCE3} %{buildroot}%{_datadir}/man/man1
install -Dm755 %{SOURCE4} %{buildroot}%{_bindir}/%{name}
cp %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
%suse_update_desktop_file -i %{name}
chmod +x %{buildroot}/opt/%{name}/%{name}

%post
%desktop_database_post

%postun
%desktop_database_postun

%files
%defattr(-,root,root)
/opt/rambox
%{_bindir}/%{name}
%{_mandir}/man?/%{name}*.?.*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

%changelog
* Sun Sep 11 2016 dap.darkness@gmail.com
- 0.4.2, check for change log:
  * https://github.com/saenzramiro/rambox/releases/tag/0.4.2
* Mon Aug  8 2016 dap.darkness@gmail.com
- 0.4.1:
  * Fixed links, images and attachments in Skype.
  * Added new services
  * Zoho Email
  * Zoho Chat
  * Roundcube
  * Horde
  * SquirrelMail
  * Fixed Steam Chat badge.
  * Fixed HipChat.
  * Fixed TweetDeck.
  * Fixed Gitter.
  * Edit Services name on grid row by double click.
  * Group services in two groups, left and right.
  * Persistent Lock, on restart app keeps locked.
  * Ask for password twice on Lock to confirm.
  * Added Offline feature to each service by double click.
  * Added Preferences menu, to configure Rambox.
  * Start Minimized.
  * Auto Hide menu bar.
  * Show in Taskbar.
  * Keep Rambox in taskbar when close it.
  * Start automatically on system startup.
  * There will be notice to download the new version.
  * Added *Check for update....
  * Fixed Slack Notifications.
  * Fixed Login bugs.
  * Added the possibility to Inject Custom JS Code to any service.
  * Fixed code injection.
  * Fixed Linux icon.
  * Fixed Linux tray icon.
  * Added Trust invalid authority certificates option.
  * Allow only single instance for Rambox.
  * Added keyboard shortcuts for DnD (F1) and Lock (F2).
  * Added Auth0 SSO Rambox logins for Twitter, Facebook and Github.
  * And more minor bugs!
* Tue Jul 19 2016 dap.darkness@gmail.com
- Imported from Arch linux (0.4.0).
- Adapted for openSUSE.
openSUSE Build Service is sponsored by