diff --git a/.gitea/workflows/build-material-icons-fonts.yml b/.gitea/workflows/build-material-icons-fonts.yml
new file mode 100644
index 0000000..afe30c2
--- /dev/null
+++ b/.gitea/workflows/build-material-icons-fonts.yml
@@ -0,0 +1,32 @@
+name: Build material-icons-fonts
+on:
+ push:
+ branches:
+ - main
+ paths:
+ - .gitea/workflows/build-material-icons-fonts.yml
+ - "material-icons-fonts.spec"
+ workflow_dispatch:
+
+jobs:
+ build_push:
+ name: Build and push image
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Setup environment
+ shell: bash
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y podman iptables
+
+ # These stage versions are pinned by https://github.com/renovatebot/renovate
+ - name: Checkout
+ uses: actions/checkout@v6 # v5
+
+ - name: Build RPM and Upload
+ uses: https://git.hydrosaber.com/hydros/build-rpm@main
+ with:
+ spec-file-path: ./material-icons-fonts.spec
+ repository-user: eriq12
+ repository-user-token: ${{ secrets.RPM_PACKAGE_TOKEN }}
diff --git a/material-icons-fonts.spec b/material-icons-fonts.spec
new file mode 100644
index 0000000..2635226
--- /dev/null
+++ b/material-icons-fonts.spec
@@ -0,0 +1,54 @@
+%global commit0 b2c0f61d8a99224bd99924f3d0471d9f146c9a54
+%global shortcommit0 %{sub %{commit0} 1 7}
+%global bumpver 1
+
+Version: 4.0.0%{?bumpver:^%{bumpver}.git%{shortcommit0}}
+Release: %autorelease
+URL: https://google.github.io/material-design-icons/
+
+%global fontlicense Apache-2.0
+%global fontlicenses LICENSE
+%global fontdocs README.md
+%global fontfamily Material Icons
+%global fontsummary Google material design system icons
+%global fonts font/*.otf font/*.ttf variablefont/*.ttf
+%global fontorg com.google
+%global fontconfs %{SOURCE1}
+
+%global fontdescription %{expand:
+Material design icons is the official icon set from Google. The icons
+are designed under the material design guidelines.}
+
+Source1: 65-%{fontpkgname}.conf
+
+BuildRequires: git-core
+
+%fontpkg
+
+%prep
+%setup -c
+git clone --single-branch --branch=master --filter=blob:none --sparse --depth=1 https://github.com/google/material-design-icons.git .
+git sparse-checkout init --cone
+git sparse-checkout set font variablefont
+git checkout %{commit0}
+
+%build
+%fontbuild
+
+%install
+%fontinstall
+metainfo=%{buildroot}%{_metainfodir}/%{fontorg}.%{name}.metainfo.xml
+
+# The Fedora font macros generate invalid metainfo; see bz 1943727.
+sed -e 's,updatecontact,update_contact,g' \
+ -e 's,,\1,' \
+ -e 's,,Material Icons Outlined Regular\n Material Icons Round Regular\n Material Icons Sharp Regular\n Material Icons Two Tone Regular,' \
+ -i $metainfo
+
+%check
+%fontcheck
+
+%fontfiles
+
+%changelog
+%autochangelog