2007-10-17 11:47:38 +00:00
|
|
|
%define fontname lklug
|
2009-08-03 05:32:43 +00:00
|
|
|
%define cvsdate 20090803
|
2010-02-24 06:43:14 +00:00
|
|
|
%global fontconf 65-%{fontname}.conf
|
2009-03-10 16:48:42 +00:00
|
|
|
|
2010-02-24 06:43:14 +00:00
|
|
|
Name: %{fontname}-fonts
|
2009-03-10 16:48:42 +00:00
|
|
|
# Do not trust font metadata versionning unless you've checked upstream does
|
|
|
|
# update versions on file changes. When in doubt use the timestamp of the most
|
|
|
|
# recent file as version.
|
2010-02-24 06:43:14 +00:00
|
|
|
Version: 0.6
|
2010-02-25 11:16:00 +00:00
|
|
|
Release: 3.%{cvsdate}cvs%{?dist}
|
2010-02-24 06:43:14 +00:00
|
|
|
Summary: Fonts for Sinhala language
|
|
|
|
Group: User Interface/X
|
2010-02-25 11:16:00 +00:00
|
|
|
License: GPLv2
|
2010-02-24 06:43:14 +00:00
|
|
|
URL: http://sinhala.sourceforge.net/
|
2009-08-03 05:32:43 +00:00
|
|
|
# cvs snapshot created with following steps
|
|
|
|
#cvs -z3 -d:pserver:anonymous@sinhala.cvs.sourceforge.net:/cvsroot/sinhala co -P sinhala/fonts
|
|
|
|
#cd sinhala/fonts/
|
|
|
|
#tar -czf lklug-%{cvsdate}.tar.gz convert.ff COPYING CREDITS lklug.sfd Makefile README.fonts
|
|
|
|
|
|
|
|
|
2010-02-24 06:43:14 +00:00
|
|
|
Source: lklug-%{cvsdate}.tar.gz
|
|
|
|
Source1: %{fontconf}
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: fontpackages-devel fontforge
|
|
|
|
Requires: fontpackages-filesystem
|
2009-03-10 16:48:42 +00:00
|
|
|
|
2007-10-17 11:47:38 +00:00
|
|
|
%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
|
2009-08-03 05:32:43 +00:00
|
|
|
%setup -q -c
|
2009-03-10 16:48:42 +00:00
|
|
|
|
2007-10-17 11:47:38 +00:00
|
|
|
%build
|
2009-08-03 05:32:43 +00:00
|
|
|
make
|
2007-10-17 11:47:38 +00:00
|
|
|
|
|
|
|
%install
|
2009-03-10 16:48:42 +00:00
|
|
|
rm -fr %{buildroot}
|
2007-10-17 11:47:38 +00:00
|
|
|
|
2009-03-10 16:48:42 +00:00
|
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
2007-10-17 11:47:38 +00:00
|
|
|
|
2010-02-24 06:43:14 +00:00
|
|
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
|
%{buildroot}%{_fontconfig_confdir}
|
|
|
|
|
|
|
|
install -m 0644 -p %{SOURCE1} \
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
|
|
|
|
|
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
|
|
2007-10-17 11:47:38 +00:00
|
|
|
%clean
|
2009-03-10 16:48:42 +00:00
|
|
|
rm -fr %{buildroot}
|
|
|
|
|
2010-02-24 06:43:14 +00:00
|
|
|
%_font_pkg -f %{fontconf} *.ttf
|
2009-08-03 05:32:43 +00:00
|
|
|
%doc CREDITS COPYING README.fonts
|
2009-03-10 16:48:42 +00:00
|
|
|
%dir %{_fontdir}
|
|
|
|
|
2007-10-17 11:47:38 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-02-25 11:16:00 +00:00
|
|
|
* Thu Feb 25 2010 Pravin Satpute <psatpute@redhat.com> - 0.6-3.20090803cvs
|
|
|
|
- resolved bug 568262, license tag
|
|
|
|
|
2010-02-24 06:43:14 +00:00
|
|
|
* Wed Feb 24 2010 Pravin Satpute <psatpute@redhat.com> - 0.6-2.20090803cvs
|
|
|
|
- added .conf file, bug 567610
|
|
|
|
|
2009-08-03 05:32:43 +00:00
|
|
|
* Mon Aug 03 2009 Parag <pnemade@redhat.com> - 0.6-1.20090803cvs
|
|
|
|
- update to cvs snapshot 20090803.
|
|
|
|
|
2009-07-25 11:10:50 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-10 17:36:54 +00:00
|
|
|
* Tue Mar 10 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.2.2-9
|
|
|
|
- Dropping previous release.
|
|
|
|
|
2009-03-10 16:48:42 +00:00
|
|
|
* Mon Mar 09 2009 Rahul Bhalerao <rbhalera@redhat.com> - 0.2.2-8
|
|
|
|
- Following new font packaging guidelines
|
|
|
|
|
2009-02-25 20:41:37 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-06-27 09:17:16 +00:00
|
|
|
* Fri Jun 27 2008 Rahul Bhalerao <rbhalera@redhat.com> - 0.2.2-6
|
|
|
|
- Updated spec to obsolete fonts-sinhala
|
|
|
|
|
2007-10-17 11:47:38 +00:00
|
|
|
* Wed Oct 17 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.2.2-5
|
|
|
|
- Added sfd file into srpm
|
|
|
|
|
|
|
|
* Thu Oct 11 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.2.2-4
|
|
|
|
- Updated according to the review
|
|
|
|
|
|
|
|
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.2.2-3
|
2009-03-10 16:48:42 +00:00
|
|
|
- Using common template of font spec file
|
2007-10-17 11:47:38 +00:00
|
|
|
|
|
|
|
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.2.2-2
|
|
|
|
- Spec cleanup
|
|
|
|
|
|
|
|
* Thu Oct 04 2007 Rahul Bhalerao <rbhalera@redhat.com> - 0.2.2-1
|
|
|
|
- Split package from fonts-sinhala to reflect upstream project name
|