Mageia Bugzilla – Attachment 10014 Details for
Bug 22689
Wire - An encrypted web based chat client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Spec file to build an RPM
wire-desktop.spec (text/plain), 1.96 KB, created by
Kristoffer Grundström
on 2018-03-03 15:49:57 CET
(
hide
)
Description:
Spec file to build an RPM
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2018-03-03 15:49:57 CET
Size:
1.96 KB
patch
obsolete
>%global __provides_exclude_from %{_libdir}/%{name}/.*\\.so >%global privlibs libffmpeg|libnode >%global __requires_exclude ^(%{privlibs})\\.so|lodash.some|commander|glob|uglify-js >%global debug_package %{nil} > >Summary: Modern communication, full privacy >Name: wire-desktop >Version: 3.0.2816 >Release: %mkrel 1 >License: GPLv3 >URL: https://wire.com >Source0: https://github.com/wireapp/%{name}/archive/release/%{version}.tar.gz#/%{name}-%{version}.tar.gz >Source1: %{name}.desktop > >BuildRequires: desktop-file-utils >BuildRequires: git >BuildRequires: hicolor-icon-theme >BuildRequires: npm >= 3.10.0 > >%description >Wire is an open source, cross-platform, encrypted instant messaging client. It >uses the Internet to make voice and video calls; send text messages, files, >images, videos, audio files and user drawings depending on the clients used. It >can be used on any of the available clients, requiring a phone number or email >for registration. > >%prep >%autosetup -n %{name}-release-%{version} > >%build >npm install >%ifarch x86_64 >./node_modules/grunt/bin/grunt --arch=x64 --target=rpm linux-other >%else >./node_modules/grunt/bin/grunt --arch=i586 --target=rpm linux-other >%endif > >%install >mkdir -p %{buildroot}%{_libdir}/%{name} >cp -r wrap/dist/linux*unpacked/* \ > %{buildroot}%{_libdir}/%{name}/ > >mkdir -p %{buildroot}%{_datadir}/applications >install -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop > >desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop > >mkdir -p %{buildroot}%{_bindir} >for size in 32 256; do > mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps > install -m644 resources/icons/${size}x${size}.png \ > %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png >done > >cd %{buildroot}%{_bindir} >ln -s ../%{_lib}/%{name}/wire-desktop >cd - > >%files >%license LICENSE >%doc README.md >%{_bindir}/%{name} >%dir %{_libdir}/%{name} >%{_libdir}/%{name}/* >%{_datadir}/icons/hicolor/*/apps/%{name}.png >%{_datadir}/applications/%{name}.desktop
%global __provides_exclude_from %{_libdir}/%{name}/.*\\.so %global privlibs libffmpeg|libnode %global __requires_exclude ^(%{privlibs})\\.so|lodash.some|commander|glob|uglify-js %global debug_package %{nil} Summary: Modern communication, full privacy Name: wire-desktop Version: 3.0.2816 Release: %mkrel 1 License: GPLv3 URL: https://wire.com Source0: https://github.com/wireapp/%{name}/archive/release/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.desktop BuildRequires: desktop-file-utils BuildRequires: git BuildRequires: hicolor-icon-theme BuildRequires: npm >= 3.10.0 %description Wire is an open source, cross-platform, encrypted instant messaging client. It uses the Internet to make voice and video calls; send text messages, files, images, videos, audio files and user drawings depending on the clients used. It can be used on any of the available clients, requiring a phone number or email for registration. %prep %autosetup -n %{name}-release-%{version} %build npm install %ifarch x86_64 ./node_modules/grunt/bin/grunt --arch=x64 --target=rpm linux-other %else ./node_modules/grunt/bin/grunt --arch=i586 --target=rpm linux-other %endif %install mkdir -p %{buildroot}%{_libdir}/%{name} cp -r wrap/dist/linux*unpacked/* \ %{buildroot}%{_libdir}/%{name}/ mkdir -p %{buildroot}%{_datadir}/applications install -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop mkdir -p %{buildroot}%{_bindir} for size in 32 256; do mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps install -m644 resources/icons/${size}x${size}.png \ %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png done cd %{buildroot}%{_bindir} ln -s ../%{_lib}/%{name}/wire-desktop cd - %files %license LICENSE %doc README.md %{_bindir}/%{name} %dir %{_libdir}/%{name} %{_libdir}/%{name}/* %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/applications/%{name}.desktop
View Attachment As Raw
Actions:
View
Attachments on
bug 22689
:
10013
|
10014
|
10040
|
11097
|
11098