|
|
@ -1,84 +1,86 @@
|
|
|
|
Version: 3.003
|
|
|
|
%global fontname sil-padauk
|
|
|
|
Release: 15%{?dist}
|
|
|
|
%global fontconf 65-%{fontname}
|
|
|
|
URL: https://software.sil.org/padauk/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global foundry SIL
|
|
|
|
%global common_desc \
|
|
|
|
%global fontlicense OFL-1.1
|
|
|
|
|
|
|
|
%global fontlicenses LICENSE.md
|
|
|
|
|
|
|
|
%global fontdocs *.txt documentation
|
|
|
|
|
|
|
|
%global fontdocsex %{fontlicenses}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global common_description %{expand:
|
|
|
|
|
|
|
|
Padauk is a pan Burma font designed to support all Myanmar script based \
|
|
|
|
Padauk is a pan Burma font designed to support all Myanmar script based \
|
|
|
|
languages. It covers all of the Unicode Myanmar script blocks and works \
|
|
|
|
languages. It covers all of the Unicode Myanmar script blocks and works \
|
|
|
|
on all OpenType and Graphite based systems.}
|
|
|
|
on all OpenType and Graphite based systems.
|
|
|
|
|
|
|
|
|
|
|
|
%global fontfamily0 Padauk
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
%global fontsummary0 A font for Burmese and the Myanmar script
|
|
|
|
Version: 3.003
|
|
|
|
%global fonts0 Padauk-*.ttf
|
|
|
|
Release: 9%{?dist}
|
|
|
|
%global fontconfs0 %{SOURCE10}
|
|
|
|
Summary: A font for Burmese and the Myanmar script
|
|
|
|
%global fontdescription0 %{expand:
|
|
|
|
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package provide the base fonts.}
|
|
|
|
License: OFL
|
|
|
|
|
|
|
|
URL: https://software.sil.org/padauk/
|
|
|
|
|
|
|
|
Source0: https://github.com/silnrsi/font-padauk/releases/download/v%{version}/padauk-%{version}.zip
|
|
|
|
|
|
|
|
Source1: %{name}-fontconfig.conf
|
|
|
|
|
|
|
|
Source2: %{name}-book-fontconfig.conf
|
|
|
|
|
|
|
|
Source3: %{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
Source4: %{fontname}-book.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
|
|
|
|
BuildRequires: fonttools
|
|
|
|
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
|
|
|
|
|
|
|
|
%global fontfamily2 Padauk Book
|
|
|
|
%description
|
|
|
|
%global fontsummary2 Padauk Book fonts
|
|
|
|
%common_desc
|
|
|
|
%global fonts2 PadaukBook*.ttf
|
|
|
|
|
|
|
|
%global fontconfs2 %{SOURCE11}
|
|
|
|
|
|
|
|
%global fontdescription2 %{expand:
|
|
|
|
|
|
|
|
%global fontpkgname2 sil-padauk-book-fonts
|
|
|
|
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package provide Padauk Book family font.}
|
|
|
|
%_font_pkg -f %{fontconf}.conf Padauk-Regular.ttf Padauk-Bold.ttf
|
|
|
|
|
|
|
|
%doc *.txt documentation
|
|
|
|
|
|
|
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/silnrsi/font-padauk/releases/download/v%{version}/padauk-%{version}.zip
|
|
|
|
%package -n %{fontname}-book-fonts
|
|
|
|
Source10: 65-%{fontpkgname0}.conf
|
|
|
|
Summary: A font for Burmese and the Myanmar script
|
|
|
|
Source11: 65-%{fontpkgname2}.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%fontpkg -a
|
|
|
|
%description -n %{fontname}-book-fonts
|
|
|
|
|
|
|
|
Padauk Book family font.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n book -f %{fontconf}-book.conf PadaukBook*.ttf
|
|
|
|
|
|
|
|
%{_datadir}/appdata/%{fontname}-book.metainfo.xml
|
|
|
|
|
|
|
|
%doc *.txt documentation
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n padauk-3.003
|
|
|
|
%autosetup -n padauk-%{version}
|
|
|
|
%linuxtext *.txt documentation/*.txt
|
|
|
|
sed -i 's/\r//' *.txt documentation/DOCUMENTATION.txt
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%fontbuild -a
|
|
|
|
# nothing to do here
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%fontinstall -a
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
|
|
|
|
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
|
%fontcheck -a
|
|
|
|
%{buildroot}%{_fontconfig_confdir}
|
|
|
|
|
|
|
|
|
|
|
|
%fontfiles -a
|
|
|
|
install -m 0644 -p %{SOURCE1} \
|
|
|
|
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
|
|
%changelog
|
|
|
|
install -m 0644 -p %{SOURCE2} \
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.003-15
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-book.conf
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.003-14
|
|
|
|
ln -s %{_fontconfig_templatedir}/%{fontconf}.conf \
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}.conf
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.003-13
|
|
|
|
ln -s %{_fontconfig_templatedir}/%{fontconf}-book.conf \
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}-book.conf
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 23 2023 Parag Nemade <pnemade AT fedoraproject DOT org> - 3.003-12
|
|
|
|
# Add AppStream metadata
|
|
|
|
- Convert to new fonts packaging guidelines
|
|
|
|
install -Dm 0644 -p %{SOURCE3} \
|
|
|
|
- Migrate to SPDX license expression
|
|
|
|
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
install -Dm 0644 -p %{SOURCE4} \
|
|
|
|
|
|
|
|
%{buildroot}%{_datadir}/appdata/%{fontname}-book.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.003-11
|
|
|
|
%changelog
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.003-9
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.003-10
|
|
|
|
Related: rhbz#1991688
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.003-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.003-8
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.003-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.003-7
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.003-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|