From 1c844de00fc881ef2ec3455d8297fd5b8aae15ba Mon Sep 17 00:00:00 2001 From: nim Date: Nov 16 2008 21:40:37 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..9831e26 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +heuristica-src-20081109.tar.bz2 diff --git a/apanov-heuristica-fonts-fontconfig.conf b/apanov-heuristica-fonts-fontconfig.conf new file mode 100644 index 0000000..9c1d257 --- /dev/null +++ b/apanov-heuristica-fonts-fontconfig.conf @@ -0,0 +1,22 @@ + + + + + serif + + Heuristica + + + + Heuristica + + serif + + + + Utopia + + Heuristica + + + diff --git a/apanov-heuristica-fonts.spec b/apanov-heuristica-fonts.spec new file mode 100644 index 0000000..48b2314 --- /dev/null +++ b/apanov-heuristica-fonts.spec @@ -0,0 +1,82 @@ +%define fontname apanov-heuristica +%define fontdir %{_datadir}/fonts/%{fontname} +%define fontconfdir %{_sysconfdir}/fonts/conf.d + +%define archivename heuristica-src-%{version} + +Name: %{fontname}-fonts +Version: 20081109 +Release: 1%{?dist} +Summary: Heuristica font + +Group: User Interface/X +License: OFL +URL: ftp://ftp.dvo.ru/pub/Font/%{fontname}/ +Source0: %{url}%{archivename}.tar.bz2 +Source1: %{name}-fontconfig.conf + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch +BuildRequires: fontforge + +%description +Heuristica is a serif latin & cyrillic font, derived from the "Adobe Utopia®" +font that was released to the TeX Users Group under a liberal license. + + +%prep +%setup -q -c + + +%build +make %{?_smp_mflags} all + + +%install +rm -fr %{buildroot} + +install -m 0755 -d %{buildroot}%{fontdir} +install -m 0644 -p Heuristica-*.otf %{buildroot}%{fontdir} + +install -m 0755 -d %{buildroot}%{fontconfdir} +install -m 0644 -p %{SOURCE1} %{buildroot}%{fontconfdir}/61-%{fontname}.conf + + +%clean +rm -fr %{buildroot} + + +%post +if [ -x %{_bindir}/fc-cache ] ; then + %{_bindir}/fc-cache %{fontdir} || : +fi + + +%postun +if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then + %{_bindir}/fc-cache %{fontdir} || : +fi + + +%files +%defattr(0644,root,root,0755) +%doc *.txt + +%config(noreplace) %{fontconfdir}/61-%{fontname}.conf + +%dir %{fontdir} +%{fontdir}/Heuristica-*.otf + + +%changelog +* Sun Nov 16 2008 +- 20081109-1 +↝ Fedora import + +* Fri Oct 10 2008 +- 20080825-1 +ԇ FE-LEGAL lifted — update package in review request + +* Fri Jun 20 2008 +- 20080619-1 +я Initial packaging diff --git a/import.log b/import.log new file mode 100644 index 0000000..4080c58 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +apanov-heuristica-fonts-20081109-1_fc11:HEAD:apanov-heuristica-fonts-20081109-1.fc11.src.rpm:1226871596 diff --git a/sources b/sources index e69de29..137a77e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +05cba594f95ebdd6daa6d8c1c8ca42db heuristica-src-20081109.tar.bz2