|
|
673b41 |
%global fontname sil-padauk
|
|
|
673b41 |
%global fontconf 65-%{fontname}
|
|
|
673b41 |
%global archivename padauk-2.8
|
|
|
673b41 |
|
|
|
673b41 |
%global common_desc \
|
|
|
673b41 |
Padauk is a Myanmar font covering all currently used characters \
|
|
|
673b41 |
in the Myanmar block. The font aims to cover all minority language needs. \
|
|
|
673b41 |
At the moment, these do not extend to stylistic variation needs. \
|
|
|
673b41 |
The font is a smart font using a Graphite description.
|
|
|
673b41 |
|
|
|
673b41 |
Name: %{fontname}-fonts
|
|
|
673b41 |
Version: 2.8
|
|
|
673b41 |
Release: 5%{?dist}
|
|
|
673b41 |
Summary: A font for Burmese and the Myanmar script
|
|
|
673b41 |
|
|
|
673b41 |
Group: User Interface/X
|
|
|
673b41 |
License: OFL
|
|
|
673b41 |
URL: http://scripts.sil.org/Padauk
|
|
|
673b41 |
# The source link is a redirect and is not directly accessible
|
|
|
673b41 |
Source0: %{archivename}.zip
|
|
|
673b41 |
Source1: %{name}-fontconfig.conf
|
|
|
673b41 |
Source2: %{name}-book-fontconfig.conf
|
|
|
673b41 |
|
|
|
673b41 |
BuildArch: noarch
|
|
|
673b41 |
BuildRequires: fontpackages-devel
|
|
|
673b41 |
BuildRequires: fonttools
|
|
|
673b41 |
Requires: fontpackages-filesystem
|
|
|
673b41 |
|
|
|
673b41 |
%description
|
|
|
673b41 |
%common_desc
|
|
|
673b41 |
|
|
|
673b41 |
%_font_pkg -f %{fontconf}.conf Padauk.ttf Padauk-bold.ttf
|
|
|
673b41 |
%doc *.txt
|
|
|
673b41 |
|
|
|
673b41 |
%package -n %{fontname}-book-fonts
|
|
|
673b41 |
Summary: A font for Burmese and the Myanmar script
|
|
|
673b41 |
|
|
|
673b41 |
%description -n %{fontname}-book-fonts
|
|
|
673b41 |
Padauk Book family font.
|
|
|
673b41 |
|
|
|
673b41 |
%common_desc
|
|
|
673b41 |
|
|
|
673b41 |
%_font_pkg -n book -f %{fontconf}-book.conf Padauk-book*.ttf
|
|
|
673b41 |
%doc *.txt
|
|
|
673b41 |
|
|
|
673b41 |
%prep
|
|
|
673b41 |
%setup -q -n padauk-2.80
|
|
|
673b41 |
sed -i 's/\r//' OFL.txt
|
|
|
673b41 |
|
|
|
673b41 |
%build
|
|
|
673b41 |
# Following is needed to fix the postscript font name
|
|
|
673b41 |
ttx *.ttf
|
|
|
673b41 |
sed -i 's|áááá±á¬ááº|Padauk|g' Padauk*.ttx
|
|
|
673b41 |
|
|
|
673b41 |
sed -i 's|á
á¬áá¯á¶á¸áá²|Bold|g' Padauk*.ttx
|
|
|
673b41 |
|
|
|
673b41 |
sed -i 's|á
á¬á¡á¯ááº|Book|g' Padauk-book*.ttx
|
|
|
673b41 |
rm *.ttf
|
|
|
673b41 |
ttx Padauk*.ttx
|
|
|
673b41 |
|
|
|
673b41 |
rm *.ttx
|
|
|
673b41 |
|
|
|
673b41 |
|
|
|
673b41 |
%install
|
|
|
673b41 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
673b41 |
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
|
673b41 |
|
|
|
673b41 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
673b41 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
673b41 |
|
|
|
673b41 |
install -m 0644 -p %{SOURCE1} \
|
|
|
673b41 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
|
673b41 |
install -m 0644 -p %{SOURCE2} \
|
|
|
673b41 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-book.conf
|
|
|
673b41 |
|
|
|
673b41 |
ln -s %{_fontconfig_templatedir}/%{fontconf}.conf \
|
|
|
673b41 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}.conf
|
|
|
673b41 |
|
|
|
673b41 |
ln -s %{_fontconfig_templatedir}/%{fontconf}-book.conf \
|
|
|
673b41 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}-book.conf
|
|
|
673b41 |
|
|
|
673b41 |
|
|
|
673b41 |
%changelog
|
|
|
673b41 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.8-5
|
|
|
673b41 |
- Mass rebuild 2013-12-27
|
|
|
673b41 |
|
|
|
673b41 |
* Wed Mar 13 2013 Parag <paragn AT fedoraproject DOT org> - 2.8-4
|
|
|
673b41 |
- Resolves:rh#907330 - Fix the PostScript name in font files
|
|
|
673b41 |
|
|
|
673b41 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-3
|
|
|
673b41 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
673b41 |
|
|
|
673b41 |
* Fri Nov 30 2012 Parag <paragn AT fedoraproject DOT org> - 2.8-2
|
|
|
673b41 |
- Package Padauk Book family font in separate subpackage
|
|
|
673b41 |
|
|
|
673b41 |
* Thu Nov 29 2012 Parag <paragn AT fedoraproject DOT org> - 2.8-1
|
|
|
673b41 |
- Resolves:rh#880012 - upstream new release available 2.8
|
|
|
673b41 |
|
|
|
673b41 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-9
|
|
|
673b41 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
673b41 |
|
|
|
673b41 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-8
|
|
|
673b41 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
673b41 |
|
|
|
673b41 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-7
|
|
|
673b41 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
673b41 |
|
|
|
673b41 |
|
|
|
673b41 |
* Mon May 26 2009 Minto Joseph <mvaliyav at redhat.com> - 2.4-6
|
|
|
673b41 |
- Changed the URL
|
|
|
673b41 |
|
|
|
673b41 |
* Mon May 25 2009 Minto Joseph <mvaliyav at redhat.com> - 2.4-5
|
|
|
673b41 |
- Cleaned up the spec file
|
|
|
673b41 |
- Used Obsoletes for upgrade path from padauk-fonts
|
|
|
673b41 |
|
|
|
673b41 |
* Tue Mar 24 2009 Minto Joseph <mvaliyav at redhat.com> - 2.4-4
|
|
|
673b41 |
- Cleaned up the spec file as per new font packaging guidelines
|
|
|
673b41 |
- Replaced padauk-src.ttf and padaukbold-src.ttf with Padauk.ttf and Padauk-Bold.ttf [490583]
|
|
|
673b41 |
- Renamed the package to sil-padauk-fonts
|
|
|
673b41 |
|
|
|
673b41 |
* Sun Feb 22 2009 Minto Joseph <mvaliyav at redhat.com> - 2.4-3
|
|
|
673b41 |
- Changed the package as per new font packaging guidelines
|
|
|
673b41 |
|
|
|
673b41 |
|
|
|
673b41 |
* Fri Jul 15 2008 Minto Joseph <mvaliyav at redhat.com> - 2.4-2
|
|
|
673b41 |
- Changed setup macro and fontconfig rules
|
|
|
673b41 |
- Changed fontconfig prefix
|
|
|
673b41 |
|
|
|
673b41 |
|
|
|
673b41 |
* Fri Jul 15 2008 Minto Joseph <mvaliyav at redhat.com> - 2.4-1
|
|
|
673b41 |
- Changed versioning
|
|
|
673b41 |
- Added configuration file
|
|
|
673b41 |
- Added more description
|
|
|
673b41 |
- Added license file
|
|
|
673b41 |
|
|
|
673b41 |
* Fri Jul 11 2008 Minto Joseph <mvaliyav at redhat.com> - 20080617-1
|
|
|
673b41 |
- initial package
|
|
|
673b41 |
|