2007-04-13 11:58:17 +00:00
|
|
|
%define fontdir %{_datadir}/fonts/jomolhari
|
|
|
|
|
|
|
|
Name: jomolhari-fonts
|
|
|
|
Version: 0.003
|
2008-04-29 20:01:47 +00:00
|
|
|
Release: 5%{?dist}
|
2007-04-13 11:58:17 +00:00
|
|
|
Summary: Jomolhari a Bhutanese style font for Tibetan and Dzongkha
|
|
|
|
|
|
|
|
Group: User Interface/X
|
2007-08-31 09:31:50 +00:00
|
|
|
License: OFL
|
2008-04-29 20:01:47 +00:00
|
|
|
URL: http://chris.fynn.googlepages.com/jomolhari
|
2007-08-31 09:31:50 +00:00
|
|
|
Source0: http://download.savannah.nongnu.org/releases/free-tibetan/jomolhari/jomolhari-alpha003c.zip
|
2007-04-13 11:58:17 +00:00
|
|
|
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
|
2008-04-29 20:01:47 +00:00
|
|
|
* Tue Apr 29 2008 Marcin Garski <mgarski[AT]post.pl> 0.003-5
|
|
|
|
- Update URL
|
|
|
|
|
2007-08-31 09:31:50 +00:00
|
|
|
* Fri Aug 31 2007 Marcin Garski <mgarski[AT]post.pl> 0.003-4
|
|
|
|
- Fix license tag
|
|
|
|
|
2007-04-13 11:58:17 +00:00
|
|
|
* 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
|