From 2a9ce4285cb0944945a3307a86aef4dcb61e4670 Mon Sep 17 00:00:00 2001 From: Jon Stanley Date: May 05 2008 06:58:48 +0000 Subject: really initial commit to branches --- diff --git a/andyfitz_-_roadstencil.otf b/andyfitz_-_roadstencil.otf new file mode 100644 index 0000000..a974b5d Binary files /dev/null and b/andyfitz_-_roadstencil.otf differ diff --git a/roadstencil-fonts.spec b/roadstencil-fonts.spec new file mode 100644 index 0000000..e3bdbb9 --- /dev/null +++ b/roadstencil-fonts.spec @@ -0,0 +1,63 @@ +%define fontname roadstencil +%define fontdir %{_datadir}/fonts/%{fontname} +%define fontconfdir %{_sysconfdir}/fonts/conf.d + +Name: %{fontname}-fonts +Version: 1.0 +Release: 2%{?dist} +Summary: Roadstencil Fonts + +Group: User Interface/X +License: OFL +URL: http://openfontlibrary.org/media/files/andyfitz/237 +Source0: http://openfontlibrary.org/people/andyfitz/andyfitz_-_roadstencil.otf +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +%description +A rough font influenced by roadwork stencils + +%prep +cp -p %{SOURCE0} $RPM_BUILD_DIR/roadstencil.otf + +%build + + +%install +rm -rf $RPM_BUILD_ROOT + +install -dm 755 $RPM_BUILD_ROOT%{fontdir} +install -pm 644 *.otf $RPM_BUILD_ROOT%{fontdir} + +install -dm 755 $RPM_BUILD_ROOT%{fontconfdir} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +if [ -x %{_bindir}/fc-cache ] ; then + %{_bindir}/fc-cache -f %{fontdir} || : +fi + +%postun +if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then + %{_bindir}/fc-cache -f %{fontdir} || : +fi + + +%files +%defattr(644,root,root,755) +%doc +%dir %{fontdir}/ +%{fontdir}/*.otf + + +%changelog +* Sun May 04 2008 Jon Stanley - 1.0-2 +- Correct source + +* Sun May 04 2008 Jon Stanley - 1.0-1 +- Initial package