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

Kevin Fenzi (kevin) fedora-extras-commits at redhat.com
Mon Feb 4 21:29:09 UTC 2008


Author: kevin

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

Modified Files:
	sources .cvsignore 
Added Files:
	inconsolata-fonts.spec 
Log Message:
Initial package for fedora



--- NEW FILE inconsolata-fonts.spec ---
%define fontname inconsolata
%define fontdir %{_datadir}/fonts/%{fontname}
%define fontconfdir %{_sysconfdir}/fonts/conf.d

Name: %{fontname}-fonts
Version: 1.009
Release: 1%{?dist}
Summary: Inconsolata fonts
Group: User Interface/X
License: OFL
URL: http://www.levien.com/type/myfonts/inconsolata.html
	
Source0: http://www.levien.com/type/myfonts/Inconsolata.sfd
	
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: fontforge

%description
A monospace font, designed for code listings and the like, in print.

%prep

%build
fontforge -script "-" %{SOURCE0} <<EOF
i = 1
while ( i < \$argc )
  Open (\$argv[i], 1)
  Generate (\$fontname + ".ttf")
  PrintSetup (5)
  PrintFont (0, 0, "", \$fontname + "-sample.pdf")
  Close()
  i++
endloop
EOF

%install
rm -fr %{buildroot}

install -m 0755 -d %{buildroot}%{fontdir}
install -m 0644 -p *.ttf %{buildroot}%{fontdir}

%clean
rm -fr %{buildroot}

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

%{_bindir}/fc-cache -f %{fontdir} || :

fi

%postun

if [ "$1" = "0" ]; then

if [ -x %{_bindir}/fc-cache ]; then

%{_bindir}/fc-cache -f %{fontdir} || :

fi

fi

%files
%defattr(0644,root,root,0755)
%doc *.pdf
%dir %{fontdir}
%{fontdir}/*.ttf

%changelog 
* Sat Feb 02 2008 Kevin Fenzi <kevin at tummy.com> - 1.009-1
- Initial package for fedora


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/inconsolata-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Feb 2008 19:51:39 -0000	1.1
+++ sources	4 Feb 2008 21:28:34 -0000	1.2
@@ -0,0 +1 @@
+378f8830bc66804d5fe2e7338598e654  Inconsolata.sfd


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/inconsolata-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Feb 2008 19:51:39 -0000	1.1
+++ .cvsignore	4 Feb 2008 21:28:34 -0000	1.2
@@ -0,0 +1 @@
+Inconsolata.sfd




More information about the fedora-extras-commits mailing list