2024-01-05 17:48:48 +01:00
|
|
|
Name: signal-desktop
|
2024-01-05 17:48:48 +01:00
|
|
|
Version: 5.51.0
|
2024-01-05 17:48:48 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:48:48 +01:00
|
|
|
Summary: Signal Desktop links with Signal on Android or iOS and lets you message from your computers
|
|
|
|
Group: Graphical Desktop/Applications/Internet
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://signal.org/
|
|
|
|
Source: https://github.com/signalapp/Signal-Desktop.git/v%{version}/Signal-Desktop-%{version}.tar.bz2
|
|
|
|
Source2: signal-desktop.desktop
|
|
|
|
Patch0: signal-desktop-5.40.1-expire-from-source-date-epoch.patch
|
|
|
|
Patch1: signal-desktop-5.40.1-fix-better-sqlite-ssl-error.patch
|
|
|
|
License: Affero GNU Public License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 17:48:48 +01:00
|
|
|
#libffmpeg.so()(64bit): unidentified build requirement
|
2024-01-05 17:48:48 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libat-spi2-atk-devel
|
|
|
|
BuildRequires: libat-spi2-core-devel
|
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libcups-devel
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libmesa-devel
|
|
|
|
BuildRequires: libnspr-devel
|
|
|
|
BuildRequires: libnss-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libvips-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: git-lfs
|
|
|
|
|
|
|
|
%description
|
|
|
|
Signal Desktop links with Signal on Android or iOS and lets you message from your computers.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Signal-Desktop-%{version}
|
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
%global __provides_exclude_from ^%{_libdir}/signal-desktop/.*$
|
|
|
|
|
|
|
|
# Requires Nodejs 16.13.2
|
2024-01-05 17:48:48 +01:00
|
|
|
export PROFILE=/dev/null
|
|
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
|
|
|
|
export NVM_DIR="$HOME/.nvm"
|
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
2024-01-05 17:48:48 +01:00
|
|
|
nvm install 16.13.2
|
2024-01-05 17:48:48 +01:00
|
|
|
|
|
|
|
# git-lfs hook needs to be installed for one of the dependencies
|
|
|
|
git lfs install
|
|
|
|
|
|
|
|
# Allow higher Node versions
|
|
|
|
#sed 's#"node": "#&>=#' -i package.json
|
|
|
|
|
|
|
|
%patch0 -p1 -b .expire-from-source-date-epoch
|
|
|
|
#%patch1 -p1
|
|
|
|
|
|
|
|
yarn install
|
|
|
|
#--ignore-engines
|
|
|
|
|
|
|
|
%build
|
|
|
|
#:<< _EOF
|
|
|
|
export NVM_DIR="$HOME/.nvm"
|
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
|
|
|
|
|
|
|
export SOURCE_DATE_EPOCH=`date +%s`
|
|
|
|
|
|
|
|
yarn generate
|
|
|
|
yarn build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
install -d -m0755 %{buildroot}{%{_libdir},%{_bindir}}
|
|
|
|
cp -a release/linux-unpacked %{buildroot}%{_libdir}/signal-desktop
|
|
|
|
ln -s ../%{_lib}/signal-desktop/signal-desktop %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/signal-desktop.desktop
|
|
|
|
|
|
|
|
for i in 16 24 32 48 64 128 256 512 1024; do
|
|
|
|
install -D -m0644 build/icons/png/${i}x${i}.png \
|
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/signal-desktop.png
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/signal-desktop
|
|
|
|
%{_datadir}/applications/signal-desktop.desktop
|
|
|
|
%dir %{_libdir}/signal-desktop
|
|
|
|
%{_libdir}/signal-desktop/*
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/signal-desktop.png
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:48:48 +01:00
|
|
|
* Fri Jul 22 2022 Automatic Build System <autodist@mambasoft.it> 5.51.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Fri Jul 15 2022 Automatic Build System <autodist@mambasoft.it> 5.50.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Sat Jul 09 2022 Automatic Build System <autodist@mambasoft.it> 5.49.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Sat Jul 02 2022 Automatic Build System <autodist@mambasoft.it> 5.48.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Fri Jun 24 2022 Automatic Build System <autodist@mambasoft.it> 5.47.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Fri Jun 17 2022 Automatic Build System <autodist@mambasoft.it> 5.46.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Thu Jun 09 2022 Automatic Build System <autodist@mambasoft.it> 5.45.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Fri Jun 03 2022 Automatic Build System <autodist@mambasoft.it> 5.45.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Fri May 27 2022 Automatic Build System <autodist@mambasoft.it> 5.44.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Thu May 26 2022 Automatic Build System <autodist@mambasoft.it> 5.44.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Sat May 14 2022 Automatic Build System <autodist@mambasoft.it> 5.43.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 5.42.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:48:48 +01:00
|
|
|
* Wed Apr 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.40.1-3mamba
|
|
|
|
- rebuilt with nvm to install compatible nodejs versione (16.13.0)
|
|
|
|
|
|
|
|
* Tue Apr 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.40.1-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sat Apr 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.40.1-1mamba
|
|
|
|
- package created using the webbuild interface
|