rpms/padauk-fonts/F-8 padauk-fonts.spec,NONE,1.1 sources,1.1,1.2
Minto Joseph
mintojoseph at fedoraproject.org
Fri Jul 18 14:26:16 UTC 2008
Author: mintojoseph
Update of /cvs/pkgs/rpms/padauk-fonts/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6049
Modified Files:
sources
Added Files:
padauk-fonts.spec
Log Message:
initial commit
--- NEW FILE padauk-fonts.spec ---
%define fontname padauk
%define fontdir %{_datadir}/fonts/%{fontname}
%define fontconfdir %{_sysconfdir}/fonts/conf.d
%define archivename ttf-sil-padauk-2.4
Name: %{fontname}-fonts
Version: 2.4
Release: 2%{?dist}
Summary: Padauk font for Burmese and the Myanmar script
Group: User Interface/X
License: OFL
URL: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=Padauk
# The source link is a redirect and is not directly accessible
Source0: %{archivename}.tar.gz
Source1: %{name}-fontconfig.conf
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
%description
Padauk is a Myanmar font covering all currently used characters
in the Myanmar block.The font aims to cover all minority language needs.
At the moment, these do not extend to stylistic variation needs.
The font is a smart font using a Graphite description.
%prep
%setup -q -c
for txt in doc/*.txt ; do
fold -s $txt > $txt.new
sed -i 's/\r//' $txt.new
touch -r $txt $txt.new
mv $txt.new $txt
done
%build
# Nothing there
%install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{fontdir}
install -m 0644 -p font-source/*.ttf %{buildroot}%{fontdir}
install -m 0755 -d %{buildroot}%{fontconfdir}
install -m 0644 -p %{SOURCE1} %{buildroot}%{fontconfdir}/65-%{fontname}.conf
%clean
rm -fr %{buildroot}
%post
if [ -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache %{fontdir} || :
fi
%postun
if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache %{fontdir} || :
fi
%files
%defattr(0644,root,root,0755)
%doc doc/*.txt
%config(noreplace) %{fontconfdir}/65-%{fontname}.conf
%dir %{fontdir}/
%{fontdir}/*.ttf
%changelog
* Fri Jul 15 2008 Minto Joseph <mvaliyav at redhat.com> - 2.4-2
- Changed setup macro and fontconfig rules
- Changed fontconfig prefix
* Fri Jul 15 2008 Minto Joseph <mvaliyav at redhat.com> - 2.4-1
- Changed versioning
- Added configuration file
- Added more description
- Added license file
* Fri Jul 11 2008 Minto Joseph <mvaliyav at redhat.com> - 20080617-1
- initial package
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/padauk-fonts/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 15 Jul 2008 22:11:11 -0000 1.1
+++ sources 18 Jul 2008 14:25:33 -0000 1.2
@@ -0,0 +1 @@
+f328e367efc7425d7b161d1c287d8caa ttf-sil-padauk-2.4.tar.gz
More information about the Fedora-fonts-bugs-list
mailing list