jomolhari-fonts package import

This commit is contained in:
Marcin Garski 2007-04-13 11:58:17 +00:00
parent 75fd229fe6
commit 8640cbea9a
3 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1 @@
jomolhari-alpha003c.zip

69
jomolhari-fonts.spec Normal file
View File

@ -0,0 +1,69 @@
%define fontdir %{_datadir}/fonts/jomolhari
Name: jomolhari-fonts
Version: 0.003
Release: 3%{?dist}
Summary: Jomolhari a Bhutanese style font for Tibetan and Dzongkha
Group: User Interface/X
License: SIL Open Font License
URL: http://www.btinternet.com/~c.fynn/tibetan/fonts/jomolhari.html
Source0: http://www.btinternet.com/~c.fynn/tibetan/fonts/download/jomolhari-alpha003c.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
Jomolhari is an TrueType OpenType Bhutanese style font for Dzongkha and
Tibetan text. It is based on Bhutanese manuscript examples, supports the
Unicode and the Chinese encoding for Tibetan.
The font supports the standard combinations used in most texts.
%prep
%setup -q -c
%build
# Empty build section
%install
rm -rf $RPM_BUILD_ROOT
install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
install -p -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
for i in FONTLOG.txt OFL-FAQ.txt OFL.txt
do
tr -d '\r' < $i > ${i}.tmp
mv -f ${i}.tmp $i
done
%post
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts
fi
%postun
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts
fi
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc FONTLOG.txt OFL-FAQ.txt OFL.txt
%{fontdir}/
%changelog
* Fri Apr 06 2007 Marcin Garski <mgarski[AT]post.pl> 0.003-3
- Update to 0.003c
- Change license from GPL to OFL
* Fri Mar 23 2007 Marcin Garski <mgarski[AT]post.pl> 0.003-2
- Extend description section
* Mon Mar 12 2007 Marcin Garski <mgarski[AT]post.pl> 0.003-1
- Initial specfile

View File

@ -0,0 +1 @@
0d03b98a7184a966815b85e7556e8bcb jomolhari-alpha003c.zip