rpms/samyak-fonts/F-8 samyak-fonts.spec,NONE,1.1 sources,1.1,1.2
Pravin Satpute
pravins at fedoraproject.org
Mon Jan 21 09:35:38 UTC 2008
Author: pravins
Update of /cvs/pkgs/rpms/samyak-fonts/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5025
Modified Files:
sources
Added Files:
samyak-fonts.spec
Log Message:
* Fri Jan 18 2008 Pravin Satpute <psatpute at redhat.com> - 1.1.0-1
- initial packaging
--- NEW FILE samyak-fonts.spec ---
%define fontname samyak
%define fontdir %{_datadir}/fonts/%{fontname}
Name: %{fontname}-fonts
Version: 1.1.0
Release: 1%{?dist}
License: GPLv2
Source: %{fontname}-fonts-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires : dos2unix
Group: User Interface/X
Summary: Samyak Font for Indic Script
URL: https://sarovar.org/projects/samyak/
%description
The Samyak package contains fonts for the display of
Scripts Devanagari, Gujarati, Malayalam, Oriya and Tamil
%prep
%setup -q
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 devanagari/*.ttf %{buildroot}%{fontdir}
install -m 0644 -p malayalam/*.ttf %{buildroot}%{fontdir}
install -m 0644 -p oriya/*.ttf %{buildroot}%{fontdir}
install -m 0644 -p tamil/*.ttf %{buildroot}%{fontdir}
install -m 0644 -p gujarati/*.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,-)
%dir %{fontdir}
%{fontdir}/*.ttf
%changelog
* Fri Jan 18 2008 Pravin Satpute <psatpute at redhat.com> - 1.1.0-1
- initial packaging
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/samyak-fonts/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 Jan 2008 08:56:31 -0000 1.1
+++ sources 21 Jan 2008 09:34:56 -0000 1.2
@@ -0,0 +1 @@
+a887c7f255b13fb1ce0c8adad306a16b samyak-fonts-1.1.0.tar.gz
More information about the Fedora-fonts-bugs-list
mailing list