Initial import
This commit is contained in:
parent
df9c1d0284
commit
b35feb6aaa
@ -0,0 +1 @@
|
|||||||
|
lklug-0.2.2.tar.gz
|
69
lklug-fonts.spec
Normal file
69
lklug-fonts.spec
Normal file
@ -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 <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
|
||||||
|
- Using common template of font spec file
|
||||||
|
|
||||||
|
* 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
|
Loading…
Reference in New Issue
Block a user