diff --git a/.cvsignore b/.cvsignore index e69de29..a4e24ae 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ofl-font-warenderbibliothek-1.0.1.1.zip diff --git a/61-drehatlas-warender-bibliothek.conf b/61-drehatlas-warender-bibliothek.conf new file mode 100644 index 0000000..dfa5cc2 --- /dev/null +++ b/61-drehatlas-warender-bibliothek.conf @@ -0,0 +1,16 @@ + + + + + fantasy + + Warender Bibliothek + + + + Warender Bibliothek + + fantasy + + + diff --git a/Makefile.warender-bibliothek b/Makefile.warender-bibliothek new file mode 100644 index 0000000..c9623ba --- /dev/null +++ b/Makefile.warender-bibliothek @@ -0,0 +1,18 @@ +BASENAME=WarenderBibliothek + +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 + 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 + echo "Generate('$(BASENAME).otf')" >> convert-otf.pe + diff --git a/drehatlas-warender-bibliothek-fonts.spec b/drehatlas-warender-bibliothek-fonts.spec new file mode 100644 index 0000000..79040f2 --- /dev/null +++ b/drehatlas-warender-bibliothek-fonts.spec @@ -0,0 +1,61 @@ +%global fontname drehatlas-warender-bibliothek +%global fontconf 61-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 1.0.1.1 +Release: 1%{?dist} +Summary: A Latin typeface that is decorative, surreal, and hairy +Group: User Interface/X +License: OFL +URL: http://www.drehatlas.de/ +Source0: ofl-font-warenderbibliothek-%{version}.zip +Source1: %{fontconf} +Source2: Makefile.warender-bibliothek +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 and originally based on a hand drawn +font created for a Pen & Paper RPG. Nowadays the font gets more and more +complete and should give the possibility of creating fantasy and/or decorative +logos, headings and other texts. The font was not created to be used in body +texts, as it is too complex and not as easy to read as a simple sans serif +font. + +%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} WarenderBibliothek.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 1.0.1.1-1 +- Initial packaging diff --git a/import.log b/import.log new file mode 100644 index 0000000..8f0db8a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +drehatlas-warender-bibliothek-fonts-1_0_1_1-1_fc11:HEAD:drehatlas-warender-bibliothek-fonts-1.0.1.1-1.fc11.src.rpm:1255979443 diff --git a/sources b/sources index e69de29..5973c76 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +43591cfe34b1b8ba9df7fac1f51fa33b ofl-font-warenderbibliothek-1.0.1.1.zip