diff --git a/.cvsignore b/.cvsignore index e69de29..a98f8e3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +bola.zip diff --git a/import.log b/import.log new file mode 100644 index 0000000..355fdf4 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +ns-bola-fonts-20080203-2_fc12:F-10:ns-bola-fonts-20080203-2.fc12.src.rpm:1257962535 diff --git a/ns-bola-fonts-fontconfig.conf b/ns-bola-fonts-fontconfig.conf new file mode 100644 index 0000000..89131a3 --- /dev/null +++ b/ns-bola-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + fantasy + + Bola + + + + Bola + + fantasy + + + diff --git a/ns-bola-fonts.spec b/ns-bola-fonts.spec new file mode 100644 index 0000000..bd7d72b --- /dev/null +++ b/ns-bola-fonts.spec @@ -0,0 +1,74 @@ +%global fontname ns-bola +%global fontconf 64-%{fontname}.conf + + +Name: %{fontname}-fonts +Version: 20080203 +Release: 2%{?dist} +Summary: Chunky Geometric Fonts + +Group: User Interface/X +License: OFL +URL: http://www.nuevostudio.com/project/bola/ +Source0: http://www.nuevostudio.com/files/downloads/bola.zip +Source1: %{name}-fontconfig.conf +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +%description +A chunky geometric font like many others out there! +It supports diacritics in addition to the basic latin set of characters. +The font was created by Pablo Caro. + +%prep +%setup -q -c -T +unzip -j -L -q %{SOURCE0} +chmod 0644 *.txt +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 + + +%install +rm -fr %{buildroot} + +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p *.ttf %{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} *.ttf + +%doc + + +%changelog +* Tue Nov 10 2009 TK009 +- 20080203-2 +- correction to spec + +* Sat Nov 07 2009 TK009 +- 20080203-1 +- initial packaging + diff --git a/sources b/sources index e69de29..0560128 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8975511e7985a53a8a2b2b6cb1a3881b bola.zip