Author: ankursinha
Update of /cvs/pkgs/rpms/oldstandard-sfd-fonts/F-9 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24015/F-9
Modified Files: .cvsignore sources Added Files: import.log oldstandard-sfd-fonts-fontconfig.conf oldstandard-sfd-fonts.spec Log Message:
* Sun Feb 1 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.0.2-3 - first koji commit
--- NEW FILE import.log --- oldstandard-sfd-fonts-2_0_2-3_fc10:F-9:oldstandard-sfd-fonts-2.0.2-3.fc10.src.rpm:1233487888
--- NEW FILE oldstandard-sfd-fonts-fontconfig.conf --- <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <test name="family"> <string>Old Standard</string> </test> </match> <match target="pattern"> <test name="family"> <string>serif</string> </test> </match> <alias binding="same"> <family>Old Standard</family> <accept> <family>Old Standard TTF</family> </accept> </alias> <alias binding="same"> <family>Old Standard</family> <accept> <family>Old Standard SFD</family> </accept> </alias> <alias> <family>serif</family> <prefer> <family>Old Standard SFD</family> </prefer> </alias>
</fontconfig>
--- NEW FILE oldstandard-sfd-fonts.spec --- %define fontname oldstandard %define fontconf 60-%{fontname}.conf
Name: %{fontname}-sfd-fonts Version: 2.0.2 Release: 3%{?dist} Summary: Old Standard True-Type Fonts
Group: User Interface/X License: OFL URL: http://www.thessalonica.org.ru/en/fonts.html Source0: http://www.thessalonica.org.ru/downloads/oldstandard-2.0.2.src.zip Source1: %{name}-fontconfig.conf Source2: http://www.thessalonica.org.ru/downloads/oldstand-manual.pdf
# guidelines say this can be used BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildRequires: fontforge,fontpackages-devel Requires: fontpackages-filesystem
%description The Old Standard font family is an attempt to revive a specific type of Modern (classicist) style of serif typefaces, very commonly used in various editions printed in the late 19th and early 20th century, but almost completely abandoned later.
%prep %setup -q -c -n oldstandard-%{version}
for i in $(ls OldStandard*.sfd);do sed -i -e 's/OldStandardTT/OldStandardSFD/' -e 's/Old \Standard \TT/Old \Standard \SFD/' $i; done for txt in OFL* ; do sed 's/\r//' $txt > $txt.new touch -r $txt $txt.new mv $txt.new $txt done
install -m 644 -p %{SOURCE2} .
%build fontforge -script "-" OldStandard*.sfd <<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 755 -d %{buildroot}%{_fontdir} install -m 644 -p *.ttf %{buildroot}%{_fontdir}
install -m 755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir}
install -m 644 -p %{SOURCE1} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf}
%clean rm -rf %{buildroot}
%_font_pkg -f %{fontconf} *.ttf
%doc *.txt *.pdf
%dir %{_fontdir}/
%changelog * Tue Jan 20 2009 Ankur Sinha ankursinha@fedoraproject.org - 2.0.2-3 - corrected the fontconfig * Sun Jan 4 2009 Ankur Sinha ankursinha@fedoraproject.org - 2.0.2-2 - Rebuild according to new packaging guidelines * Mon Dec 15 2008 Ankur Sinha ankursinha@fedoraproject.org - 2.0.2-1 - Rebuilt for f10 with minor changes to spec file. (#457947 at bugzilla) - changed version number as per FONTLOG.txt in source zip file.
Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/oldstandard-sfd-fonts/F-9/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 29 Jan 2009 00:35:36 -0000 1.1 +++ .cvsignore 1 Feb 2009 11:40:53 -0000 1.2 @@ -0,0 +1,2 @@ +oldstand-manual.pdf +oldstandard-2.0.2.src.zip
Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/oldstandard-sfd-fonts/F-9/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 29 Jan 2009 00:35:36 -0000 1.1 +++ sources 1 Feb 2009 11:40:53 -0000 1.2 @@ -0,0 +1,2 @@ +f793623cb703f27e6d57d498e7de2e28 oldstand-manual.pdf +9c001e7a2d2f86d3943a8f011aea8bbf oldstandard-2.0.2.src.zip