2007-10-16 16:15:51 +00:00
|
|
|
%define fontname kacst
|
|
|
|
%define fontdir %{_datadir}/fonts/%{fontname}
|
|
|
|
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
Version: 1.6.2
|
2008-07-23 10:14:53 +00:00
|
|
|
Release: 3%{?dist}
|
2007-10-16 16:15:51 +00:00
|
|
|
License: GPLv2
|
|
|
|
Source: http://downloads.sourceforge.net/sourceforge/arabeyes/%{fontname}_fonts_%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
Group: User Interface/X
|
2008-07-23 10:14:53 +00:00
|
|
|
#Provides can be dropped in F11
|
|
|
|
Provides: fonts-arabic = 2.1-2
|
|
|
|
Obsoletes: fonts-arabic <= 2.1-2
|
2007-10-16 16:15:51 +00:00
|
|
|
Summary: Fonts for arabic from arabeyes project
|
|
|
|
URL: http://www.arabeyes.org/resources.php
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains fonts for the display of Arabic
|
|
|
|
from the King Abdulaziz City for Science & Technology(kacst).
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n KacstArabicFonts-1.6.2
|
|
|
|
find . -not -name \*.ttf -type f -exec dos2unix -k {} \;
|
|
|
|
|
|
|
|
%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}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc *.TXT
|
|
|
|
%dir %{fontdir}
|
|
|
|
%{fontdir}/*.ttf
|
|
|
|
|
|
|
|
%changelog
|
2008-07-23 10:14:53 +00:00
|
|
|
* Wed Jul 23 2008 Rahul Bhalerao <rbhalera@redhat.com> - 1.6.2-3.fc10
|
|
|
|
- Obsoleted dead package fonts-arabic
|
|
|
|
|
2007-10-16 16:15:51 +00:00
|
|
|
* Mon Oct 15 2007 Rahul Bhalerao <rbhalera@redhat.com> - 1.6.2-2.fc8
|
|
|
|
- Used dos2unix
|
|
|
|
|
|
|
|
* Thu Oct 12 2007 Rahul Bhalerao <rbhalera@redhat.com> - 1.6.2-1.fc8
|
|
|
|
- Initial Packaging
|