Author: nim
Update of /cvs/extras/rpms/gfs-porson-fonts/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24677/F-7
Modified Files:
.cvsignore sources
Added Files:
gfs-porson-fonts-fontconfig.conf gfs-porson-fonts.spec
Log Message:
initial import
--- NEW FILE gfs-porson-fonts-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/61-gfs-porson.conf
Define settings for GFS Porson fonts
© 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<alias>
<family>GFS Porson</family>
<default>
<family>serif</family>
</default>
</alias>
</fontconfig>
--- NEW FILE gfs-porson-fonts.spec ---
%define fontname gfs-porson
%define fontdir %{_datadir}/fonts/%{fontname}
%define fontconfdir %{_sysconfdir}/fonts/conf.d
%define archivename GFS_Porson_OT
Name: %{fontname}-fonts
Version: 20060908
Release: 3%{?dist}
Summary: GFS Porson Greek font
Group: User Interface/X
License: OFL
URL:
http://www.greekfontsociety.org/pages/en_typefaces19th.html
Source0:
http://www.greekfontsociety.org/%{archivename}.zip
Source1: %{name}-fontconfig.conf
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
%description
In England, during the 1790’s, Cambridge University Press decided to procure a
new set of Greek types. The university’s great scholar of Classics, Richard
Porson was asked to produce a typeface based on his handsome handwriting and
Richard Austin was commissioned to cut the types. The type was completed in
1808, after the untimely death of Porson the previous year. Its success was
immediate and since then the classical editions in Great Britain and the
U.S.A. use it, almost invariably.
In 1913, Monotype released the typeface with some corrections, notably
replacing the upright capitals suggested by Porson with inclined ones. In
Greece the typeface was used under the name Pelasgika type.
GFS Porson is based on the Monotype version, though using upright capitals, as
in the original.
%prep
%setup -q -n %{archivename}
for txt in *.txt ; do
fold -s $txt > $txt.new
sed -i 's/\r//' $txt.new
touch -r $txt $txt.new
mv $txt.new $txt
done
%build
# Nothing there
%install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{fontdir}
install -m 0644 -p *.otf %{buildroot}%{fontdir}
install -m 0755 -d %{buildroot}%{fontconfdir}
install -m 0644 -p %{SOURCE1} %{buildroot}%{fontconfdir}/61-%{fontname}.conf
%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 *.txt *.pdf
%config(noreplace) %{fontconfdir}/61-%{fontname}.conf
%dir %{fontdir}
%{fontdir}/*.otf
%changelog
* Mon Nov 26 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
☠ 20060908-3
⚑ Re-size description so the paupers that can not afford a 80th column in
their terminal are not discriminated against.
(Courtesy: the 79-column-liberation-front cell that subverted the rpmlint
codebase)
* Sun Nov 25 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
☺ 20060908-2
✓ initial packaging
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gfs-porson-fonts/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 Nov 2007 20:01:05 -0000 1.1
+++ .cvsignore 27 Nov 2007 21:23:45 -0000 1.2
@@ -0,0 +1 @@
+GFS_Porson_OT.zip
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gfs-porson-fonts/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Nov 2007 20:01:05 -0000 1.1
+++ sources 27 Nov 2007 21:23:45 -0000 1.2
@@ -0,0 +1 @@
+a06cbd0d75493dcff0986b5f70818873 GFS_Porson_OT.zip