6fdc407
%global fontname gfs-garaldus
6fdc407
%global fontconf 61-%{fontname}.conf
842f221
6fdc407
%global archivename GFS_GARALDUS
842f221
842f221
Name:    %{fontname}-fonts
842f221
Version: 20080707
80c03ed
Release: 17%{?dist}
842f221
Summary: GFS Garaldus majuscule Greek font
842f221
2f309ab
License:   OFL
2f309ab
URL:       http://www.greekfontsociety.gr/pages/en_typefaces_majuscules.html
2f309ab
Source0:   http://www.greekfontsociety.gr/%{archivename}.zip
2f309ab
Source1:   %{name}-fontconfig.conf
1ef7dfb
Source2:   %{fontname}.metainfo.xml
2f309ab
2f309ab
BuildArch:     noarch
2f309ab
BuildRequires: fontpackages-devel
2f309ab
Requires:      fontpackages-filesystem
842f221
842f221
%description
842f221
As it is known, the Greek alphabet was used in majuscule form for over a
842f221
millennium before the minuscule letters gradually replaced it until they became
842f221
the official script in the 9th century A.D. Thereafter, majuscule letters were
842f221
confined to sparse use as initials or elaborate titles until the Italian
842f221
Renaissance.
842f221
842f221
The new art of Typography, as well as the need of the humanists to mimic the
842f221
ancient Greco-Roman period brought back the extensive use of the majuscule
842f221
letter-forms in both Latin and Greek typography. Greek books of the time were
842f221
printed using the contemporary Byzantine hand with which they combined capital
842f221
letters modelled on the Roman antiquity, i.e. with thick and thin strokes and
842f221
serifs. At the same time the Byzantine majuscule tradition, principally used on
842f221
theological editions, remainned alive until the early 19th century.
842f221
842f221
It has been designed by George D. Matthiopoulos.
842f221
842f221
842f221
%prep
842f221
%setup -q -c -T
842f221
unzip -j -L -q %{SOURCE0}
842f221
chmod 0644 *.txt
842f221
for txt in *.txt ; do
842f221
   fold -s $txt > $txt.new
842f221
   sed -i 's/\r//' $txt.new
842f221
   touch -r $txt $txt.new
842f221
   mv $txt.new $txt
842f221
done
842f221
842f221
842f221
%build
842f221
842f221
842f221
%install
2f309ab
install -m 0755 -d %{buildroot}%{_fontdir}
2f309ab
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
2f309ab
2f309ab
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
2f309ab
                   %{buildroot}%{_fontconfig_confdir}
842f221
2f309ab
install -m 0644 -p %{SOURCE1} \
2f309ab
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
2f309ab
ln -s %{_fontconfig_templatedir}/%{fontconf} \
2f309ab
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
842f221
1ef7dfb
# Add AppStream metadata
cecb5c4
install -Dm 0644 -p %{SOURCE2} \
1ef7dfb
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
842f221
2f309ab
%_font_pkg -f %{fontconf} *.otf
842f221
%doc *.txt
1ef7dfb
%{_datadir}/appdata/%{fontname}.metainfo.xml
842f221
2f309ab
%changelog
80c03ed
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20080707-17
80c03ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
80c03ed
5ee3dbf
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20080707-16
5ee3dbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5ee3dbf
035fa27
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20080707-15
035fa27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
035fa27
9794bf8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-14
9794bf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9794bf8
1ef7dfb
* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 20080707-13
1ef7dfb
- Add metainfo file to show this font in gnome-software
1ef7dfb
596c691
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-12
596c691
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
596c691
6215fcd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-11
6215fcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6215fcd
f544553
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-10
f544553
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f544553
eb65642
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-9
eb65642
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eb65642
381a09f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-8
381a09f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
381a09f
cee4196
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-7
cee4196
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cee4196
a393b38
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-6
a393b38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a393b38
9d45716
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080707-5
9d45716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9d45716
27e1cbf
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
27e1cbf
- 20080707-4
27e1cbf
— prepare for F11 mass rebuild, new rpm and new fontpackages
27e1cbf
27e1cbf
* Sun Nov 23 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2f309ab
- 20080707-3
2f309ab
ᛤ ‘rpm-fonts’ renamed to “fontpackages”
842f221
27e1cbf
* Fri Nov 14 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2f309ab
- 20080707-2
2f309ab
▤ Rebuild using new « rpm-fonts »
842f221
842f221
* Mon Jul 21 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
842f221
- 20080707-1
842f221
Φ initial packaging