From b35feb6aaa6891e6c10a4934ac7962b7c84d36cf Mon Sep 17 00:00:00 2001 From: Rahul Bhalerao Date: Wed, 17 Oct 2007 11:47:38 +0000 Subject: [PATCH] Initial import --- .cvsignore | 1 + lklug-fonts.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+) create mode 100644 lklug-fonts.spec diff --git a/.cvsignore b/.cvsignore index e69de29..724cf6b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lklug-0.2.2.tar.gz diff --git a/lklug-fonts.spec b/lklug-fonts.spec new file mode 100644 index 0000000..8f7cb84 --- /dev/null +++ b/lklug-fonts.spec @@ -0,0 +1,69 @@ +%define fontname lklug +%define fontdir %{_datadir}/fonts/%{fontname} + +Name: %{fontname}-fonts +Version: 0.2.2 +Release: 5%{?dist} +License: GPLv2+ +Source: lklug-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +Group: User Interface/X +Summary: Fonts for Sinhala language +URL: http://sinhala.sourceforge.net/ + +%description +The lklug-fonts package contains fonts for the display of +Sinhala. The original font for TeX/LaTeX is developed by Yannis +Haralambous and are in GPL. OTF tables are added by Anuradha +Ratnaweera and Harshani Devadithya. + + +%prep +%setup -q -n %{fontname}-%{version} + +%build +echo "Nothing to do in Build." + +%install +rm -rf %{buildroot} + +install -m 0755 -d %{buildroot}%{fontdir} +install -m 0644 -p *.ttf %{buildroot}%{fontdir} + +%clean +rm -rf %{buildroot} + +%post +if [ -x %{_bindir}/fc-cache ]; then + %{_bindir}/fc-cache %{fontdir} +fi + +%postun +if [ "$1" = "0" ]; then + if [ -x %{_bindir}/fc-cache ]; then + %{_bindir}/fc-cache %{fontdir}/fonts + fi +fi + +%files +%defattr(-,root,root,-) +%doc license.txt COPYING +%dir %{fontdir} +%{fontdir}/*.ttf + +%changelog +* Wed Oct 17 2007 Rahul Bhalerao - 0.2.2-5 +- Added sfd file into srpm + +* Thu Oct 11 2007 Rahul Bhalerao - 0.2.2-4 +- Updated according to the review + +* Thu Oct 04 2007 Rahul Bhalerao - 0.2.2-3 +- Using common template of font spec file + +* Thu Oct 04 2007 Rahul Bhalerao - 0.2.2-2 +- Spec cleanup + +* Thu Oct 04 2007 Rahul Bhalerao - 0.2.2-1 +- Split package from fonts-sinhala to reflect upstream project name diff --git a/sources b/sources index e69de29..588cf26 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e49de1140705e0ee97d851165516192c lklug-0.2.2.tar.gz