169 lines
5.7 KiB
RPMSpec
169 lines
5.7 KiB
RPMSpec
Name: brave-bin
|
|
Version: 1.82.172
|
|
Release: 1mamba
|
|
Summary: Chromium based web browser that blocks ads and trackers by default (binary release)
|
|
Group: Graphical Desktop/Applications/Internet
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://brave.com
|
|
Source: https://github.com/brave/brave-browser/releases/download/v%{version}/brave-browser-%{version}-linux-amd64.zip
|
|
Source1: https://github.com/brave/brave-browser/releases/download/v%{version}/brave-browser-%{version}-linux-arm64.zip
|
|
Source2: brave-bin.sh
|
|
Source3: brave-browser.desktop
|
|
Source4: brave-browser.metainfo.xml
|
|
License: MPL-2.0, BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libQt5Core
|
|
BuildRequires: libQt5Gui
|
|
BuildRequires: libQt5Widgets
|
|
BuildRequires: libQt6Core
|
|
BuildRequires: libQt6Gui
|
|
BuildRequires: libQt6Widgets
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXcomposite-devel
|
|
BuildRequires: libXdamage-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXfixes-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: libalsa-devel
|
|
BuildRequires: libat-spi2-core-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libcups-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libmesa-devel
|
|
BuildRequires: libnspr-devel
|
|
BuildRequires: libnss-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libudev-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libxkbcommon-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
Brave is a Chromium based web browser that blocks ads and trackers by default.
|
|
This package provides the upstream pre-built binary release.
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%global __provides_exclude_from ^%{_libdir}/brave-bin/.*$
|
|
|
|
%prep
|
|
%setup -q -c %{name}-%{version} -T
|
|
%ifarch x86_64
|
|
bsdtar -xf %{SOURCE0}
|
|
%endif
|
|
%ifarch aarch64
|
|
bsdtar -xf %{SOURCE1}
|
|
%endif
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
install -d -m0755 %{buildroot}%{_libdir}/brave-bin
|
|
cp -a * %{buildroot}%{_libdir}/brave-bin/
|
|
|
|
install -D -m0755 %{SOURCE2} %{buildroot}%{_bindir}/brave
|
|
|
|
install -D -m0644 %{SOURCE3} %{buildroot}%{_datadir}/applications/brave-browser.desktop
|
|
install -D -m0644 %{SOURCE4} %{buildroot}%{_metainfodir}/brave-browser.metainfo.xml
|
|
|
|
for size in 16x16 24x24 32x32 48x48 64x64 128x128 256x256; do
|
|
install -D -m0644 product_logo_${size/x*/}.png \
|
|
%{buildroot}%{_datadir}/icons/hicolor/$size/apps/brave-desktop.png
|
|
done
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/brave
|
|
%{_datadir}/applications/brave-browser.desktop
|
|
%{_metainfodir}/brave-browser.metainfo.xml
|
|
%dir %{_libdir}/brave-bin
|
|
%{_libdir}/brave-bin/*
|
|
%attr(4755,root,root) %{_libdir}/brave-bin/chrome-sandbox
|
|
%{_datadir}/icons/hicolor/*/apps/brave-desktop.png
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Wed Oct 01 2025 Automatic Build System <autodist@openmamba.org> 1.82.172-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 20 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.82.170-1mamba
|
|
- update to 1.82.170
|
|
|
|
* Thu Aug 21 2025 Automatic Build System <autodist@openmamba.org> 1.81.136-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 13 2025 Automatic Build System <autodist@openmamba.org> 1.81.135-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Aug 07 2025 Automatic Build System <autodist@openmamba.org> 1.81.131-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 31 2025 Automatic Build System <autodist@openmamba.org> 1.80.125-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 24 2025 Automatic Build System <autodist@openmamba.org> 1.80.124-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 17 2025 Automatic Build System <autodist@openmamba.org> 1.80.122-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 10 2025 Automatic Build System <autodist@openmamba.org> 1.80.120-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jul 02 2025 Automatic Build System <autodist@openmamba.org> 1.80.115-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jun 27 2025 Automatic Build System <autodist@openmamba.org> 1.80.113-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 18 2025 Automatic Build System <autodist@openmamba.org> 1.79.126-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 12 2025 Automatic Build System <autodist@openmamba.org> 1.79.123-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 04 2025 Automatic Build System <autodist@openmamba.org> 1.79.119-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 30 2025 Automatic Build System <autodist@openmamba.org> 1.79.118-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu May 22 2025 Automatic Build System <autodist@openmamba.org> 1.78.102-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu May 08 2025 Automatic Build System <autodist@openmamba.org> 1.78.97-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat May 03 2025 Automatic Build System <autodist@openmamba.org> 1.78.94-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 24 2025 Automatic Build System <autodist@openmamba.org> 1.77.101-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 17 2025 Automatic Build System <autodist@openmamba.org> 1.77.100-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 09 2025 Automatic Build System <autodist@openmamba.org> 1.77.97-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 02 2025 Automatic Build System <autodist@openmamba.org> 1.77.95-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 26 2025 Automatic Build System <autodist@openmamba.org> 1.76.82-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 23 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.76.81-1mamba
|
|
- package created using the webbuild interface
|