Author: adsllc
Update of /cvs/pkgs/rpms/drehatlas-widelands-fonts/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14723/devel
Modified Files: .cvsignore sources Added Files: 61-drehatlas-widelands.conf Makefile.widelands drehatlas-widelands-fonts.spec import.log Log Message: * Sat Oct 17 2009 Dave Ludlow dave@adsllc.com 1.0.2.2-4 - Initial CVS checkin
--- NEW FILE 61-drehatlas-widelands.conf --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> <fontconfig> <alias> <family>fantasy</family> <prefer> <family>Widelands</family> </prefer> </alias> <alias> <family>Widelands</family> <default> <family>fantasy</family> </default> </alias> </fontconfig>
--- NEW FILE Makefile.widelands --- BASENAME=Widelands
all: $(BASENAME).otf $(BASENAME).ttf
$(BASENAME).ttf: $(BASENAME).sfd convert-ttf.pe fontforge -script convert-ttf.pe
convert-ttf.pe: echo "Open('$(BASENAME).sfd')" > convert-ttf.pe # Remove the inappropriate en_US Preferred Font Famly = Decorative attr echo "SetTTFName(0x409,16,'')" >> convert-otf.pe echo "Generate('$(BASENAME).ttf')" >> convert-ttf.pe
$(BASENAME).otf: $(BASENAME).sfd convert-otf.pe fontforge -script convert-otf.pe
convert-otf.pe: echo "Open('$(BASENAME).sfd')" > convert-otf.pe # Remove the inappropriate en_US Preferred Font Famly = Decorative attr echo "SetTTFName(0x409,16,'')" >> convert-otf.pe echo "Generate('$(BASENAME).otf')" >> convert-otf.pe
--- NEW FILE drehatlas-widelands-fonts.spec --- %global fontname drehatlas-widelands %global fontconf 61-%{fontname}.conf
# This is a highly-stylized titling font, so picking an ideal substitute with # fontconfig is pointless
Name: %{fontname}-fonts Version: 1.0.2.2 Release: 6%{?dist} Summary: A Latin typeface inspired by feudal calligraphy Group: User Interface/X License: OFL URL: http://www.drehatlas.de/ Source0: widelands-%{version}.zip Source1: %{fontconf} Source2: Makefile.widelands BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: fontpackages-devel fontforge Requires: fontpackages-filesystem
%description This font was created by Peter Schwanemann as a logo for the Widelands project, but has since been enhanced. The font is decorative and not really usable for real texts, but it looks nice for logos, banners or similar stuff. All normal latin glyphs and arabic numbers are included and usable.
%prep %setup -q -c %{name}-%{version} # Wrap the license file at 80 chars fold -s LICENSE > LICENSE.new touch -r LICENSE LICENSE.new mv LICENSE.new LICENSE
%build # A .ttf file is included, but .otf is preferred. make -f %{SOURCE2} Widelands.otf
%install rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p *.otf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf}
%clean rm -fr %{buildroot}
%_font_pkg -f %{fontconf} *.otf %doc LICENSE FONTLOG
%changelog * Sat Oct 17 2009 Dave Ludlow dave@adsllc.com 1.0.2.2-6 - Remove "Preferred Family" data via a fontforge script instead of ugly hack
* Sat Oct 17 2009 Dave Ludlow dave@adsllc.com 1.0.2.2-5 - Prevent font from being called 'Decorative' instead of 'Widelands'
* Fri Oct 16 2009 Dave Ludlow dave@adsllc.com 1.0.2.2-4 - Rename from olfb-widelands to drehatlas-widelands - Update conversion Makefile to be more general
* Wed Oct 14 2009 Dave Ludlow dave@adsllc.com 1.0.2.2-3 - Update for Fedora packaging guidelines
* Wed Oct 14 2009 Dave Ludlow dave@adsllc.com 1.0.2.2-1 - Initial packaging
--- NEW FILE import.log --- drehatlas-widelands-fonts-1_0_2_2-6_fc11:HEAD:drehatlas-widelands-fonts-1.0.2.2-6.fc11.src.rpm:1255813424
Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/drehatlas-widelands-fonts/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- .cvsignore 17 Oct 2009 20:40:07 -0000 1.1 +++ .cvsignore 17 Oct 2009 21:05:36 -0000 1.2 @@ -0,0 +1 @@ +widelands-1.0.2.2.zip
Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/drehatlas-widelands-fonts/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- sources 17 Oct 2009 20:40:07 -0000 1.1 +++ sources 17 Oct 2009 21:05:36 -0000 1.2 @@ -0,0 +1 @@ +fff7953388ffe152a242e368c3bc42de widelands-1.0.2.2.zip
fonts-bugs@lists.fedoraproject.org