2007-10-16 15:57:59 +00:00
|
|
|
%define fontdir %{_datadir}/fonts/madan
|
|
|
|
%define fontname madan
|
|
|
|
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
Version: 1.0
|
2008-08-07 21:00:57 +00:00
|
|
|
Release: 7%{?dist}
|
2007-10-16 15:57:59 +00:00
|
|
|
Summary: Font for Nepali language
|
|
|
|
Group: User Interface/X
|
2008-08-07 21:00:57 +00:00
|
|
|
# No version specified.
|
|
|
|
License: GPL+
|
2007-10-16 15:57:59 +00:00
|
|
|
URL: http://madanpuraskar.org/
|
|
|
|
Source: http://madanpuraskar.org/detail_guide/fonts/Madan.ttf
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides the Madan font for Nepali made by the
|
|
|
|
Madan Puraskar Pustakalaya project.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -c -T
|
|
|
|
cp -p %{SOURCE0} .
|
|
|
|
|
|
|
|
%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 /usr/share/fonts
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ "$1" = "0" ]; then
|
|
|
|
if [ -x %{_bindir}/fc-cache ]; then
|
|
|
|
%{_bindir}/fc-cache /usr/share/fonts
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir %{fontdir}
|
|
|
|
%{fontdir}/*.ttf
|
|
|
|
|
|
|
|
%changelog
|
2008-08-07 21:00:57 +00:00
|
|
|
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-7
|
|
|
|
- fix license tag
|
|
|
|
|
2007-10-16 15:57:59 +00:00
|
|
|
* Mon Oct 15 2007 Rahul Bhalerao <rbhalera@redhat.com> - 1.0-6.fc8
|
|
|
|
- Spec update as per review
|
|
|
|
|
|
|
|
* Thu Oct 11 2007 Rahul Bhalerao <rbhalera@redhat.com> - 1.0-5.fc8
|
|
|
|
- Spec update as per reveiw
|
|
|
|
|
|
|
|
* Wed Sep 26 2007 Rahul Bhalerao <rbhalera@redhat.com> - 1.0-4.fc8
|
|
|
|
- Spec update as per review
|
|
|
|
|
|
|
|
* Fri Sep 21 2007 Rahul Bhalerao <rbahlera@redhat.com> - 1.0-3.fc8
|
|
|
|
- Added LICENSE as Source1
|
|
|
|
|
|
|
|
* Thu Sep 20 2007 Rahul Bhalerao <rbhalera@redhat.com> - 1.0-2.fc8
|
|
|
|
- Removed use of tarball and ghost files
|
|
|
|
|
|
|
|
* Thu Sep 13 2007 Rahul Bhalerao <rbhalera@redhat.com> - 1.0-1.fc8
|
|
|
|
- Initial packaging
|