diff --git a/.cvsignore b/.cvsignore index e69de29..e7b7b5a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +silkscreen.tar.gz diff --git a/silkscreen-fonts.spec b/silkscreen-fonts.spec new file mode 100644 index 0000000..1b728d8 --- /dev/null +++ b/silkscreen-fonts.spec @@ -0,0 +1,59 @@ +%define fontname silkscreen +%define fontdir %{_datadir}/fonts/%{fontname} +%define fontconfdir %{_sysconfdir}/fonts/conf.d + +Name: %{fontname}-fonts +Summary: Silkscreen four member type family +Version: 1.0 +Release: 1%{?dist} +# License attribution confirmed by author and Open Font Library +# http://openfontlibrary.org/media/files/jkottke/218 +License: OFL +Group: User Interface/X +Source0: http://www.kottke.org/plus/type/silkscreen/download/silkscreen.tar.gz +URL: http://www.kottke.org/plus/type/silkscreen/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +%description +Silkscreen is a four member type family for your Web graphics created by Jason +Kottke. Silkscreen is best used in places where extremely small graphical +display type is needed. The primary use is for navigational items (nav bars, +menus, etc), but it works well wherever small type is needed. In order to +preserve the proper spacing and letterforms, Silkscreen should be used at 8pt. +multiples (8pt., 16pt., 24pt., etc.) with anti-aliasing turned off. + +%prep +%setup -q -c -n %{name} + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -m 0755 -d $RPM_BUILD_ROOT%{fontdir} +install -m 0644 -p *.ttf $RPM_BUILD_ROOT%{fontdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +if [ -x %{_bindir}/fc-cache ]; then + %{_bindir}/fc-cache -f %{fontdir} || : +fi + +%postun +if [ "$1" = "0" ]; then + if [ -x %{_bindir}/fc-cache ]; then + %{_bindir}/fc-cache -f %{fontdir} || : + fi +fi + +%files +%defattr(0644,root,root,0755) +%doc readme.txt +%dir %{fontdir} +%{fontdir}/*.ttf + +%changelog +* Tue Dec 11 2007 Tom "spot" Callaway 1.0-1 +- Initial package for Fedora diff --git a/sources b/sources index e69de29..f947d1b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +65906f9bfd73c4042e609a7f80abe168 silkscreen.tar.gz