From d9976e12b6a48d3246c2331f3ceffe5e2ca0ffef Mon Sep 17 00:00:00 2001 From: Dave Ludlow Date: Nov 01 2009 13:01:30 +0000 Subject: Initial checkin --- diff --git a/.cvsignore b/.cvsignore index e69de29..36536db 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Xaporho-1.0.3.2-src.zip diff --git a/61-drehatlas-xaporho.conf b/61-drehatlas-xaporho.conf new file mode 100644 index 0000000..9700a50 --- /dev/null +++ b/61-drehatlas-xaporho.conf @@ -0,0 +1,16 @@ + + + + + fantasy + + Xaporho + + + + Xaporho + + fantasy + + + diff --git a/Makefile.xaporho b/Makefile.xaporho new file mode 100644 index 0000000..28c887e --- /dev/null +++ b/Makefile.xaporho @@ -0,0 +1,18 @@ +BASENAME=Xaporho + +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-xaporho-fonts.spec b/drehatlas-xaporho-fonts.spec new file mode 100644 index 0000000..f54ed18 --- /dev/null +++ b/drehatlas-xaporho-fonts.spec @@ -0,0 +1,60 @@ +%global fontname drehatlas-xaporho +%global fontconf 61-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 1.0.3.2 +Release: 2%{?dist} +Summary: A Latin typeface that is sharp and angular +Group: User Interface/X +License: OFL +URL: http://sourceforge.net/projects/drehatlas-fonts/ +Source0: Xaporho-%{version}-src.zip +Source1: %{fontconf} +Source2: Makefile.xaporho +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch +BuildRequires: fontpackages-devel fontforge +Requires: fontpackages-filesystem + +%description +The Xaporho font was originally inspired by the logo of a hobby rock band named +Xaporho. + +%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} Xaporho.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 +* Fri Oct 30 2009 Dave Ludlow 1.0.3.2-2 +- Fixed typo in summary + +* Sun Oct 25 2009 Dave Ludlow 1.0.3.2-1 +- Initial packaging diff --git a/import.log b/import.log new file mode 100644 index 0000000..c4b4db7 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +drehatlas-xaporho-fonts-1_0_3_2-2_fc12:HEAD:drehatlas-xaporho-fonts-1.0.3.2-2.fc12.src.rpm:1257080436 diff --git a/sources b/sources index e69de29..fed4497 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3999ce6be63d10c894ca79f525cdeac9 Xaporho-1.0.3.2-src.zip