Initial import
This commit is contained in:
parent
bb8389c010
commit
7e54ae4675
@ -0,0 +1 @@
|
||||
Madan.ttf
|
69
madan-fonts.spec
Normal file
69
madan-fonts.spec
Normal file
@ -0,0 +1,69 @@
|
||||
%define fontdir %{_datadir}/fonts/madan
|
||||
%define fontname madan
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.0
|
||||
Release: 6%{?dist}
|
||||
Summary: Font for Nepali language
|
||||
Group: User Interface/X
|
||||
License: GPL
|
||||
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
|
||||
* 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
|
Loading…
Reference in New Issue
Block a user