5986ab8
%global fontname apanov-heuristica
5986ab8
%global fontconf 61-%{fontname}.conf
1c844de
e51ec62
%global archivename heuristica-ttf-%{version}
0f254fe
%global googlename  evristika
1c844de
1c844de
Name:    %{fontname}-fonts
e51ec62
Version: 1.0.2
14794cc
Release: 5%{?dist}
f33672b
Epoch:   1
c6b8f2b
Summary: A serif latin & cyrillic font
1c844de
a9f5a4c
License:   OFL
e51ec62
URL:       http://sourceforge.net/projects/heuristica/
0f254fe
e51ec62
#we are using binary ttf archive as source archive
e51ec62
#is currently missing required fontforge scripts
e51ec62
#to compile and generate ttf files
e51ec62
Source0:   http://downloads.sourceforge.net/project/heuristica/%{archivename}.tar.xz
a9f5a4c
Source1:   %{name}-fontconfig.conf
97be791
Source2:   %{fontname}.metainfo.xml
1c844de
1c844de
BuildArch:     noarch
a9f5a4c
BuildRequires: fontpackages-devel
7ebe03e
BuildRequires: dos2unix
a9f5a4c
Requires:      fontpackages-filesystem
1c844de
1c844de
%description
9eadd0d
Heuristica is a serif latin & cyrillic font, derived from the “Adobe Utopia”
1c844de
font that was released to the TeX Users Group under a liberal license.
1c844de
1c844de
1c844de
%prep
1c844de
%setup -q -c
e51ec62
dos2unix OFL-FAQ.txt
1c844de
1c844de
%build
1c844de
1c844de
%install
a9f5a4c
install -m 0755 -d %{buildroot}%{_fontdir}
b21a3f8
install -m 0644 -p *\.ttf %{buildroot}%{_fontdir}
1c844de
a9f5a4c
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
a9f5a4c
                   %{buildroot}%{_fontconfig_confdir}
a9f5a4c
a9f5a4c
install -m 0644 -p %{SOURCE1} \
a9f5a4c
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
a9f5a4c
ln -s %{_fontconfig_templatedir}/%{fontconf} \
a9f5a4c
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
1c844de
97be791
# Add AppStream metadata
97be791
install -Dm 0644 -p %{SOURCE2} \
97be791
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
1c844de
cd41082
%_font_pkg -f %{fontconf} *.ttf
1c844de
%doc *.txt
97be791
%{_datadir}/appdata/%{fontname}.metainfo.xml
1c844de
1c844de
%changelog
14794cc
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.2-5
14794cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
14794cc
174aed8
* Fri Dec 12 2014 Parag Nemade <pnemade AT redhat DOT com> - 1:1.0.2-4
174aed8
- Fix metainfo file for & instead of &
174aed8
97be791
* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 1:1.0.2-3
97be791
- Add metainfo file to show this font in gnome-software
97be791
7ebe03e
* Fri Sep 26 2014 Parag Nemade <pnemade AT redhat DOT com> - 1:1.0.2-2
7ebe03e
- Add missing BR: dos2unix
7ebe03e
e51ec62
* Fri Sep 26 2014 Parag Nemade <pnemade AT redhat DOT com> - 1:1.0.2-1
e51ec62
- Update to 1.0.2 release
e51ec62
- Move to using binary ttf as source
e51ec62
018c6a6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.2-8
018c6a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
018c6a6
ac50216
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.2-7
ac50216
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ac50216
bc918a2
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.2-6
bc918a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bc918a2
eaf99e0
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.2-5
eaf99e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eaf99e0
cf15721
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.2-4
cf15721
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cf15721
f58fcc4
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.2-3
f58fcc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f58fcc4
061d2f3
* Sun Jul 25 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
061d2f3
- 1:0.2.2-2
061d2f3
— Rebuild with new xgridfit
061d2f3
0f254fe
* Sun Jun 13 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
0f254fe
- 1:0.2.2-1
0f254fe
— Switch to new upstream hosting
0f254fe
c6b8f2b
* Sun Jun 6 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
85cea6e
- 1:0.2.1-2
c6b8f2b
b21a3f8
* Sun Nov 22 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
b21a3f8
- 1:0.2-5
b21a3f8
— remove evil duplicate TTF files
b21a3f8
cd41082
* Fri Oct  9 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
af04fb9
- 1:0.2-4
af04fb9
– not smp-safe upstream makefile
cd41082
- 1:0.2-3
cd41082
— fonttools has been fixed ⇒ generate TTFs
cd41082
ff73d8b
* Sun Sep 13 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
ff73d8b
- 1:0.2-2
ff73d8b
— make Bold Italic Bold Italic not BoldItalic
ff73d8b
f33672b
* Sun Sep  6 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
f33672b
- 1:0.2-1
f33672b
f33672b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
f33672b
- 20090507-2
f33672b
— Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
77bde07
7a46b44
* Tue Jul 14 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
7a46b44
- 20090507-1
7a46b44
7a46b44
* Sun Mar 15 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
7a46b44
- 20090125-5
acbfce4
— Make sure F11 font packages have been built with F11 fontforge
acbfce4
7a46b44
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
7a46b44
- 20090125-4
7a46b44
— Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e8796f4
12ae90c
* Sun Feb 22 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
12ae90c
- 20090125-3
12ae90c
— fix url (thanks nirik)
12ae90c
ece90cf
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
ece90cf
- 20090125-2
ece90cf
— prepare for F11 mass rebuild, new rpm and new fontpackages
ece90cf
ece90cf
*Fri Jan 30 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
9eadd0d
- 20090125-1
9eadd0d
ece90cf
* Sun Nov 23 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
a9f5a4c
- 20081109-3
a9f5a4c
ᛤ ‘rpm-fonts’ renamed to “fontpackages”
a9f5a4c
ece90cf
* Sun Nov 16 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
a9f5a4c
- 20081109-2
a9f5a4c
▤ Rebuild using new « rpm-fonts »
1c844de
- 20081109-1
1c844de
↝ Fedora import
1c844de
ece90cf
* Fri Oct 10 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
1c844de
- 20080825-1
1c844de
ԇ FE-LEGAL lifted — update package in review request
1c844de
ece90cf
* Fri Jun 20 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
1c844de
- 20080619-1
1c844de
я Initial packaging