Mageia Bugzilla – Attachment 11648 Details for
Bug 26638
Running a locally built viber rpm fails with a message about an incompatible Qt library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
viber.spec (text/x-rpm-spec), 1.99 KB, created by
Kristoffer Grundström
on 2020-05-18 05:45:07 CEST
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2020-05-18 05:45:07 CEST
Size:
1.99 KB
patch
obsolete
>%define _enable_debug_package 0 >%define debug_package %{nil} >%define __os_install_post /usr/lib/rpm/brp-compress %{nil} > >Summary: Free Text & Calls. >Name: viber >Version: 12.0.0.7 >Release: %mkrel 1 >License: Commercial >Group: Networking/Chat >URL: https://www.viber.com/download/ >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root >Source0: viber.desktop >Source1: viber.sh >BuildRequires: binutils >BuildRequires: xz >BuildRequires: tar >AutoReqProv: no >Requires: gstreamer1.0-plugins-base >Requires: gstreamer1.0-libav >Requires: gstreamer1.0-plugins-bad >Requires: gstreamer1.0-plugins-good >Requires: gstreamer1.0-plugins-ugly >Requires: pulseaudio >Requires: libpulseaudio0 >Requires: libnss3 >Requires: libopenssl1.1 > >%description >Join Viber for Desktop to for a one-of-a-kind calling and messaging experience right on your computer! >With Viber for Desktop you can make free international calls from your computer to any other Viber >user, resting assured your calls and messages are protected by end-to-end encryption. >Feel free to call, text, send photos and video messages, play YouTube videos and express yourself >with stickers and GIFs no matter your location.Viber for Desktop also provides you with Viber Out's >low-rate calling plans to any landline or mobile so you can reach out to friends and family who >don't have an internet connection or cell phone. Easily sync between your mobile's chat history >and contact list in order to start enjoying Viber for Desktop. > > >%prep >%setup -T -n %{name} -c > >%build > >%install >rm -rf %buildroot >mkdir -p %buildroot/%{_bindir} > >#download source >pushd $RPM_SOURCE_DIR >wget -nc "https://download.cdn.viber.com/cdn/desktop/Linux/viber.rpm" >popd > >pushd $RPM_SOURCE_DIR >rpm2cpio viber.rpm | (cd %buildroot; cpio -idmv) >popd > >#desktop file >install -m 0644 %SOURCE0 %buildroot/%{_datadir}/applications/viber.desktop > >#script to run under KDE Plasma >install -m 0755 %SOURCE1 %buildroot/%{_bindir}/viber > >%clean >rm -rf %buildroot > >%files >%defattr(-,root,root,-) >%{_bindir}/viber >/opt/viber >%{_datadir}
%define _enable_debug_package 0 %define debug_package %{nil} %define __os_install_post /usr/lib/rpm/brp-compress %{nil} Summary: Free Text & Calls. Name: viber Version: 12.0.0.7 Release: %mkrel 1 License: Commercial Group: Networking/Chat URL: https://www.viber.com/download/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Source0: viber.desktop Source1: viber.sh BuildRequires: binutils BuildRequires: xz BuildRequires: tar AutoReqProv: no Requires: gstreamer1.0-plugins-base Requires: gstreamer1.0-libav Requires: gstreamer1.0-plugins-bad Requires: gstreamer1.0-plugins-good Requires: gstreamer1.0-plugins-ugly Requires: pulseaudio Requires: libpulseaudio0 Requires: libnss3 Requires: libopenssl1.1 %description Join Viber for Desktop to for a one-of-a-kind calling and messaging experience right on your computer! With Viber for Desktop you can make free international calls from your computer to any other Viber user, resting assured your calls and messages are protected by end-to-end encryption. Feel free to call, text, send photos and video messages, play YouTube videos and express yourself with stickers and GIFs no matter your location.Viber for Desktop also provides you with Viber Out's low-rate calling plans to any landline or mobile so you can reach out to friends and family who don't have an internet connection or cell phone. Easily sync between your mobile's chat history and contact list in order to start enjoying Viber for Desktop. %prep %setup -T -n %{name} -c %build %install rm -rf %buildroot mkdir -p %buildroot/%{_bindir} #download source pushd $RPM_SOURCE_DIR wget -nc "https://download.cdn.viber.com/cdn/desktop/Linux/viber.rpm" popd pushd $RPM_SOURCE_DIR rpm2cpio viber.rpm | (cd %buildroot; cpio -idmv) popd #desktop file install -m 0644 %SOURCE0 %buildroot/%{_datadir}/applications/viber.desktop #script to run under KDE Plasma install -m 0755 %SOURCE1 %buildroot/%{_bindir}/viber %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{_bindir}/viber /opt/viber %{_datadir}
View Attachment As Raw
Actions:
View
Attachments on
bug 26638
: 11648 |
11649
|
11650