0cc7d49
%global fontname adf-tribun
0cc7d49
%global fontconf 60-%{fontname}.conf
0cc7d49
0cc7d49
%global archivename Tribun-Std
0cc7d49
0cc7d49
Name:    %{fontname}-fonts
0cc7d49
Version: 1.13
9993fd7
Release: 16%{?dist}
0cc7d49
Summary: A newsprint-like serif typeface
0cc7d49
0cc7d49
License:   GPLv2+ with exceptions
0cc7d49
URL:       http://arkandis.tuxfamily.org/adffonts.html
0cc7d49
Source0:   http://arkandis.tuxfamily.org/fonts/%{archivename}.zip
0cc7d49
Source1:   http://arkandis.tuxfamily.org/docs/Tribun-Cat.pdf
Richard Hughes 3b71db9
Source2:   %{fontname}.metainfo.xml
0cc7d49
Source11:  %{name}-fontconfig.conf
adf805b
0cc7d49
0cc7d49
BuildArch:     noarch
0cc7d49
BuildRequires: fontpackages-devel
0cc7d49
Requires:      fontpackages-filesystem
0cc7d49
0cc7d49
%description
0cc7d49
Hirwen Harendal started in 1999 the realization of a first font family, aiming
0cc7d49
to create another “Times New Roman”… He does not consider this endeavour a huge
0cc7d49
success. However, he transformed Tribun progessively since then to give it its
0cc7d49
own character.
0cc7d49
0cc7d49
The idea was to achieve newsprint-like rendering. To this effect, the glyph
0cc7d49
bodies, serifs, or even extenders are not normalised and use irregular strokes.
0cc7d49
This is most visible in italics though those variations stay imperceptible at
0cc7d49
small sizes.
0cc7d49
0cc7d49
Italics proved time-consuming. They are never an easy thing to draw.
0cc7d49
Nevertheless, the designer considers them very close to those of “Times”, with
0cc7d49
some variations.
0cc7d49
0cc7d49
The medium weight uses a stronger stroke. It can be used for emphasis, or for
0cc7d49
effects in titles. That being said it has also been used for body copy. It is
0cc7d49
also slightly expanded to complete the face offerings.
0cc7d49
0cc7d49
The condensed version is a bit unusual, since it stands in for both normal and
0cc7d49
medium condensed. After several trials, Hirwen decided an intermediate weight
0cc7d49
rendered much better both for document display and in print. Secondly, he took
0cc7d49
great care to keep readability excellent, and this even for italics.
0cc7d49
0cc7d49
This font family is particularly well suited for text, display, or
0cc7d49
presentations. It is also ideal for all Web publications. It can serve as
0cc7d49
alternative to “Times New Roman” and other similar fonts.
0cc7d49
0cc7d49
0cc7d49
%prep
0cc7d49
%setup -q -n %{archivename}
0cc7d49
install -m 0644 -p %{SOURCE1} .
0cc7d49
for txt in NOTICE */COPYING ; do
0cc7d49
   fold -s $txt > $txt.new &&\
0cc7d49
   sed -i 's/\r//' $txt.new &&\
0cc7d49
   touch -r $txt $txt.new &&\
0cc7d49
   mv $txt.new $txt
0cc7d49
done
0cc7d49
0cc7d49
0cc7d49
%build
0cc7d49
0cc7d49
0cc7d49
%install
0cc7d49
rm -fr %{buildroot}
0cc7d49
0cc7d49
install -m 0755 -d %{buildroot}%{_fontdir}
0cc7d49
install -m 0644 -p TTF/*.ttf %{buildroot}%{_fontdir}
0cc7d49
0cc7d49
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
0cc7d49
                   %{buildroot}%{_fontconfig_confdir}
0cc7d49
0cc7d49
install -m 0644 -p %{SOURCE11} \
0cc7d49
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
0cc7d49
ln -s %{_fontconfig_templatedir}/%{fontconf} \
0cc7d49
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
0cc7d49
Richard Hughes 3b71db9
# Add AppStream metadata
Richard Hughes 3b71db9
install -Dm 0644 -p %{SOURCE2} \
Richard Hughes 3b71db9
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
0cc7d49
0cc7d49
0cc7d49
%_font_pkg -f %{fontconf} *.ttf
Richard Hughes 3b71db9
%{_datadir}/appdata/%{fontname}.metainfo.xml
0cc7d49
0cc7d49
%doc NOTICE TTF/COPYING *.pdf
0cc7d49
0cc7d49
%changelog
9993fd7
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-16
9993fd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9993fd7
dbbfc0a
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-15
dbbfc0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
dbbfc0a
a312724
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-14
a312724
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a312724
c50aed2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-13
c50aed2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c50aed2
9e6902c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-12
9e6902c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9e6902c
2cc8203
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-11
2cc8203
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2cc8203
f5fa5ae
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-10
f5fa5ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f5fa5ae
Richard Hughes 3b71db9
* Fri Oct 17 2014 Richard Hughes <richard@hughsie.com> - 1.13-9
Richard Hughes 3b71db9
- Add a MetaInfo file for the software center; this is a font we want to show.
Richard Hughes 3b71db9
29403dc
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-8
29403dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
29403dc
f63e340
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-7
f63e340
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f63e340
0d39f87
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-6
0d39f87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0d39f87
4e08fa4
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-5
4e08fa4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4e08fa4
9503628
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
9503628
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9503628
8b671c8
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
8b671c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8b671c8
566e4e0
* Fri Nov  5 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
566e4e0
- 1.13-2
566e4e0
— upstream in-place update (Tribun ADF Std Cond)
566e4e0
0cc7d49
* Sat Oct 10 2009 <nicolas.mailhot at laposte.net>
0cc7d49
- 1.13-1
0cc7d49
— Initial release