%define gst_version   1.0
%define nspr_version  4.35
%define nss_version   3.98
%define rust_version  1.65.0
%define cargo_version 1.65.0
%define llvm_version  17.0

Summary:              The Mozilla Firefox project is a redesign of Mozilla's browser
Summary(ru_RU.UTF-8): Интернет-браузер Mozilla Firefox

Name: firefox-repack
Version: 124.0.1
Release: alt2
License: MPL-2.0
Group: Networking/WWW
URL: https://www.mozilla.org/firefox/
Source: https://git.altlinux.org/tasks/344191/build/20/x86_64/rpms/firefox-124.0.1-alt2.x86_64.rpm
Conflicts:	firefox
Provides: webclient
Requires: mozilla-common
Requires: libvpx8

Obsoletes: firefox-ru <= 70.0.1
Obsoletes: firefox-uk <= 70.0.1
Obsoletes: firefox-kk <= 70.0.1
Obsoletes: firefox-wayland <= 104.0.2

Provides: firefox-ru = %EVR
Provides: firefox-uk = %EVR
Provides: firefox-kk = %EVR
Provides: firefox-wayland = %EVR

# ALT#30732
#Requires: gst-plugins-ugly%gst_version

Requires: libnspr >= %nspr_version
Requires: libnss >= %nss_version

#AutoProv: no
#undefine __find_provides
##AutoReq: no
#undefine __find_requires
# Do not try autogenerate prereq/conflicts/obsoletes and check files
#undefine __check_files
#undefine __find_prereq
#undefine __find_conflicts
#undefine __find_obsoletes
# Be sure buildpolicy set to do nothing
##%define __spec_install_post %{nil}
# Something that need for rpm-4.1
#define _missing_doc_files_terminate_build 0

%description
The Mozilla Firefox project is a redesign of Mozilla's browser component,
written using the XUL user interface language and designed to be
cross-platform.

# ALT#30732
Recommends: ffmpeg
#gst-plugins-ugly%gst_version

%description -l ru_RU.UTF-8
Интернет-браузер Mozilla Firefox - кроссплатформенная модификация браузера Mozilla,
созданная с использованием языка XUL для описания интерфейса пользователя.

# ALT#30732
Recommends: ffmpeg
#gst-plugins-ugly%gst_version

%prep
%build
%install
%__mkdir_p %buildroot
cd %buildroot
rpm2cpio %SOURCE0 |cpio -idmv

%files
/*
#%exclude /usr/share/help

%changelog
* Sat Jan 13 2024 sfs <sfslinux@gmail.com> 124.0.1-alt2
- light repack
