From 3f38b8c911044f04367ceb133df5500671b11644 Mon Sep 17 00:00:00 2001 From: James Antill Date: Thu, 26 May 2022 14:26:50 -0400 Subject: [PATCH] Auto sync2gitlab import of sil-padauk-fonts-3.003-1.el8.src.rpm --- .gitignore | 1 + EMPTY | 1 - sil-padauk-book.metainfo.xml | 7 ++ sil-padauk-fonts-book-fontconfig.conf | 16 +++ sil-padauk-fonts-fontconfig.conf | 16 +++ sil-padauk-fonts.spec | 160 ++++++++++++++++++++++++++ sil-padauk.metainfo.xml | 8 ++ sources | 1 + 8 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 EMPTY create mode 100644 sil-padauk-book.metainfo.xml create mode 100644 sil-padauk-fonts-book-fontconfig.conf create mode 100644 sil-padauk-fonts-fontconfig.conf create mode 100644 sil-padauk-fonts.spec create mode 100644 sil-padauk.metainfo.xml create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7e484b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/padauk-3.003.zip diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sil-padauk-book.metainfo.xml b/sil-padauk-book.metainfo.xml new file mode 100644 index 0000000..9488796 --- /dev/null +++ b/sil-padauk-book.metainfo.xml @@ -0,0 +1,7 @@ + + + + sil-padauk-book + CC0-1.0 + sil-padauk + diff --git a/sil-padauk-fonts-book-fontconfig.conf b/sil-padauk-fonts-book-fontconfig.conf new file mode 100644 index 0000000..90dcd07 --- /dev/null +++ b/sil-padauk-fonts-book-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + Padauk Book + + sans-serif + + + + sans-serif + + Padauk Book + + + diff --git a/sil-padauk-fonts-fontconfig.conf b/sil-padauk-fonts-fontconfig.conf new file mode 100644 index 0000000..d5ffc70 --- /dev/null +++ b/sil-padauk-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + Padauk + + sans-serif + + + + sans-serif + + Padauk + + + diff --git a/sil-padauk-fonts.spec b/sil-padauk-fonts.spec new file mode 100644 index 0000000..ff87f32 --- /dev/null +++ b/sil-padauk-fonts.spec @@ -0,0 +1,160 @@ +%global fontname sil-padauk +%global fontconf 65-%{fontname} + +%global common_desc \ +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 \ +on all OpenType and Graphite based systems. + +Name: %{fontname}-fonts +Version: 3.003 +Release: 1%{?dist} +Summary: A font for Burmese and the Myanmar script + +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 + +%description +%common_desc + +%_font_pkg -f %{fontconf}.conf Padauk-Regular.ttf Padauk-Bold.ttf +%doc *.txt documentation +%{_datadir}/appdata/%{fontname}.metainfo.xml + +%package -n %{fontname}-book-fonts +Summary: A font for Burmese and the Myanmar script + +%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 +%autosetup -n padauk-%{version} +sed -i 's/\r//' *.txt documentation/DOCUMENTATION.txt + +%build +# nothing to do here + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p *.ttf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf +install -m 0644 -p %{SOURCE2} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-book.conf + +ln -s %{_fontconfig_templatedir}/%{fontconf}.conf \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf}.conf + +ln -s %{_fontconfig_templatedir}/%{fontconf}-book.conf \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf}-book.conf + +# Add AppStream metadata +install -Dm 0644 -p %{SOURCE3} \ + %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml +install -Dm 0644 -p %{SOURCE4} \ + %{buildroot}%{_datadir}/appdata/%{fontname}-book.metainfo.xml + +%changelog +* Wed Jul 11 2018 Parag Nemade - 3.003-1 +- Update to new upstream release + +* Fri Feb 09 2018 Fedora Release Engineering - 3.002-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.002-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Parag Nemade - 3.002-1 +- Update to 3.002 + +* Fri Feb 05 2016 Fedora Release Engineering - 2.8-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Jul 13 2015 Parag Nemade - 2.8-9 +- Fix fonttools issue (rh#1240005,rh#1242549) +- Modernize spec + +* Fri Jun 19 2015 Fedora Release Engineering - 2.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Oct 16 2014 Richard Hughes - 2.8-7 +- Add a MetaInfo file for the software center; this is a font we want to show. + +* Sun Jun 08 2014 Fedora Release Engineering - 2.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 2.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Mar 13 2013 Parag - 2.8-4 +- Resolves:rh#907330 - Fix the PostScript name in font files + +* Thu Feb 14 2013 Fedora Release Engineering - 2.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 30 2012 Parag - 2.8-2 +- Package Padauk Book family font in separate subpackage + +* Thu Nov 29 2012 Parag - 2.8-1 +- Resolves:rh#880012 - upstream new release available 2.8 + +* Sat Jul 21 2012 Fedora Release Engineering - 2.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 2.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 2.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + + +* Tue May 26 2009 Minto Joseph - 2.4-6 +- Changed the URL + +* Mon May 25 2009 Minto Joseph - 2.4-5 +- Cleaned up the spec file +- Used Obsoletes for upgrade path from padauk-fonts + +* Tue Mar 24 2009 Minto Joseph - 2.4-4 +- Cleaned up the spec file as per new font packaging guidelines +- Replaced padauk-src.ttf and padaukbold-src.ttf with Padauk.ttf and Padauk-Bold.ttf [490583] +- Renamed the package to sil-padauk-fonts + +* Sun Feb 22 2009 Minto Joseph - 2.4-3 +- Changed the package as per new font packaging guidelines + + +* Tue Jul 15 2008 Minto Joseph - 2.4-2 +- Changed setup macro and fontconfig rules +- Changed fontconfig prefix + + +* Tue Jul 15 2008 Minto Joseph - 2.4-1 +- Changed versioning +- Added configuration file +- Added more description +- Added license file + +* Fri Jul 11 2008 Minto Joseph - 20080617-1 +- initial package + diff --git a/sil-padauk.metainfo.xml b/sil-padauk.metainfo.xml new file mode 100644 index 0000000..109510e --- /dev/null +++ b/sil-padauk.metainfo.xml @@ -0,0 +1,8 @@ + + + + sil-padauk + CC0-1.0 + Padauk + A font for Burmese and the Myanmar script + diff --git a/sources b/sources new file mode 100644 index 0000000..2f4cee4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (padauk-3.003.zip) = 773ad5b4cdefb6ab8d2f4f8c84d628df2e8bb40cf2972f47fedada05a10117d9d44a16bd250fe446c443ac431721341890be515799a7b4b2857d810dceccf738