rpms/charis-fonts/devel charis-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Roozbeh Pournader (roozbeh) fedora-extras-commits at redhat.com
Sun Feb 19 14:46:55 UTC 2006


Author: roozbeh

Update of /cvs/extras/rpms/charis-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21673/devel

Modified Files:
	.cvsignore sources 
Added Files:
	charis-fonts.spec 
Log Message:
auto-import charis-fonts-4.0.02-1 on branch devel from charis-fonts-4.0.02-1.src.rpm


--- NEW FILE charis-fonts.spec ---
%define fontdir         %{_datadir}/fonts/charis

Name:           charis-fonts
Version:        4.0.02
Release:        1
Summary:        Charis SIL fonts

Group:          User Interface/X
License:        SIL Open Font License
URL:            http://scripts.sil.org/CharisSILFont
# Source0 can be downloaded from http://scripts.sil.org/CharisSIL_download#FontsDownload
Source0:        CharisSIL%{version}.r1.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

%description
Charis SIL provides glyphs for a wide range of Latin and Cyrillic characters.
Charis is similar to Bitstream Charter, one of the first fonts designed
specifically for laser printers. It is highly readable and holds up well in
less-than-ideal reproduction environments. It also has a full set of styles
- regular, italic, bold, bold italic - and so is more useful in general
publishing than Doulos SIL. Charis is a serif proportionally spaced font
optimized for readability in long printed documents.


%prep
%setup -q -c
%{__sed} -i 's/\r//' *.txt


%build


%install
rm -rf $RPM_BUILD_ROOT

install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}

# "touch" all files we've got flagged as %ghost  but which are not
# present in the RPM_BUILD_ROOT when RPM looks for files
/bin/touch $RPM_BUILD_ROOT%{fontdir}/fonts.cache-1


%clean
rm -rf $RPM_BUILD_ROOT


%post
if [ -x %{_bindir}/fc-cache ]; then
  %{_bindir}/fc-cache %{_datadir}/fonts
fi


%postun
if [ "$1" = "0" ]; then
  if [ -x %{_bindir}/fc-cache ]; then
    %{_bindir}/fc-cache %{_datadir}/fonts
  fi
fi


%files
%defattr(0644,root,root,0755)
%doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt CharisSIL4FontDocumentation.pdf

%dir %{fontdir}
%{fontdir}/*.ttf
%ghost %{fontdir}/fonts.cache-1


%changelog
* Sat Feb 18 2006 Roozbeh Pournader <roozbeh at farsiweb.info> - 4.0.02-1
- Initial packaging, based on gentium-fonts


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/charis-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Feb 2006 14:38:56 -0000	1.1
+++ .cvsignore	19 Feb 2006 14:46:54 -0000	1.2
@@ -0,0 +1 @@
+CharisSIL4.0.02.r1.zip


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/charis-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Feb 2006 14:38:56 -0000	1.1
+++ sources	19 Feb 2006 14:46:54 -0000	1.2
@@ -0,0 +1 @@
+73b5b2c262d75326a661faca5823abfe  CharisSIL4.0.02.r1.zip




More information about the scm-commits mailing list