Mageia Bugzilla – Attachment 14479 Details for
Bug 28670
mattermost is an open source, self-hosted Slack-alternative NEW PKG REQUEST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec
mattermost-desktop.spec (text/x-rpm-spec), 1.11 KB, created by
Kristoffer Grundström
on 2024-03-22 13:46:51 CET
(
hide
)
Description:
Proposal spec
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2024-03-22 13:46:51 CET
Size:
1.11 KB
patch
obsolete
>%define debug_package %{nil} > >Name: mattermost-desktop >Version: 5.7.0 >Release: 1%{?dist} >Summary: Mattermost Desktop application >License: Apache-2.0 >Group: Networking/Instant messaging >URL: https://github.com/mattermost/desktop >Source0: %{url}/%{name}-%{version}-linux-x64.tar.gz >Source1: %{name}.desktop >ExclusiveArch: x86_64 >Requires: xdg-utils > >%description >Native desktop application for Mattermost. > >%prep >%setup -q -n %{name}-%{version}-linux-x64 ># rpmlint >find . -type f "(" -name "*.txt" -o -name "*.html" -o -name "*.md" -o -name "*.svg" -o -name "*.bin" ")" -exec chmod -x "{}" "+" > >%build >%{nil} > >%install ># install >install -d -m 755 %{buildroot}/usr/lib/mattermost/ >cp -r * %{buildroot}/usr/lib/mattermost/ ># install desktop >install -D -m 0644 app_icon.png %{buildroot}%{_datadir}/pixmaps/mattermost-desktop.png >install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop > >%files >%license LICENSE.txt >%doc README.md >/usr/lib/mattermost >%{_datadir}/pixmaps/mattermost-desktop.png >%{_datadir}/applications/%{name}.desktop
%define debug_package %{nil} Name: mattermost-desktop Version: 5.7.0 Release: 1%{?dist} Summary: Mattermost Desktop application License: Apache-2.0 Group: Networking/Instant messaging URL: https://github.com/mattermost/desktop Source0: %{url}/%{name}-%{version}-linux-x64.tar.gz Source1: %{name}.desktop ExclusiveArch: x86_64 Requires: xdg-utils %description Native desktop application for Mattermost. %prep %setup -q -n %{name}-%{version}-linux-x64 # rpmlint find . -type f "(" -name "*.txt" -o -name "*.html" -o -name "*.md" -o -name "*.svg" -o -name "*.bin" ")" -exec chmod -x "{}" "+" %build %{nil} %install # install install -d -m 755 %{buildroot}/usr/lib/mattermost/ cp -r * %{buildroot}/usr/lib/mattermost/ # install desktop install -D -m 0644 app_icon.png %{buildroot}%{_datadir}/pixmaps/mattermost-desktop.png install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop %files %license LICENSE.txt %doc README.md /usr/lib/mattermost %{_datadir}/pixmaps/mattermost-desktop.png %{_datadir}/applications/%{name}.desktop
View Attachment As Raw
Actions:
View
Attachments on
bug 28670
: 14479