Added updated index.html to sources (#2)

Co-authored-by: Sofia Boldyreva <mooresofia81@gmail.com>
Reviewed-on: rpms/almalinux-indexhtml#2
Co-authored-by: sboldyreva <sboldyreva@noreply.localhost>
Co-committed-by: sboldyreva <sboldyreva@noreply.localhost>
This commit is contained in:
sboldyreva 2024-11-11 12:24:39 +00:00 committed by Andrew Lukoshko
parent ecc9ded4f8
commit 2251fe66f5
3 changed files with 133 additions and 6 deletions

View File

@ -1 +0,0 @@
5b8a27d973ac56d891fad39a84fd525ffa9ccbb6 SOURCES/almalinux-indexhtml-8-7.1.tar.gz

123
SOURCES/index.html Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,8 @@
Name: almalinux-indexhtml
Version: 8
Release: 7.1%{?dist}
Release: 8%{?dist}
Summary: Browser default start page for AlmaLinux
Source: %{name}-%{version}-7.1.tar.gz
Source: index.html
License: Distributable
Group: Documentation
BuildArch: noarch
@ -21,19 +21,24 @@ The Web page provided by indexhtml tells you how to register your AlmaLinux
software and how to get any support that you might need.
%prep
%setup -q -n HTML
%setup -q -c -T
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML
cp -a . $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US/
install -m644 %{SOURCE0} $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/en-US/index.html
ln -sf en-US/index.html $RPM_BUILD_ROOT/%{_defaultdocdir}/HTML/index.html
%files
%{_defaultdocdir}/HTML/*
%changelog
* Wed Nov 06 2024 Sofia Boldyreva <sboldyreva@almalinux.org> - 8-8
- Added updated index.html to sources.
- Updated prep and install sections.
* Tue Jun 08 2021 Andrei Lukoshko <alukoshko@almalinux.org> - 8-7.1
- Update tarball