6a67814
%global fontname gfs-artemisia
6a67814
%global fontconf 60-%{fontname}.conf
5592ea9
6a67814
%global archivename GFS_ARTEMISIA_OT
5592ea9
5592ea9
Name:    %{fontname}-fonts
5592ea9
Version: 20070415
70a7948
Release: 12%{?dist}
5592ea9
Summary: GFS Artemisia fonts
5592ea9
c59ea6a
Group:     User Interface/X
c59ea6a
License:   OFL
c59ea6a
URL:       http://www.greekfontsociety.gr/pages/en_typefaces20th.html
c59ea6a
Source0:   http://www.greekfontsociety.gr/%{archivename}.zip
c59ea6a
Source1:   %{name}-fontconfig.conf
5592ea9
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
c59ea6a
c59ea6a
BuildArch:     noarch
c59ea6a
BuildRequires: fontpackages-devel
c59ea6a
Requires:      fontpackages-filesystem
5592ea9
5592ea9
%description
f4cd857
The type family GFS Artemisia was designed by the painter-engraver Takis
f4cd857
Katsoulidis and reflects his style and typographic acumen. It is largely his
f4cd857
effort to offer, from a different perspective, a type face which, like Times
f4cd857
Greek, would be applicable to a wide spectrum of uses and equally agreeable and
5592ea9
legible.
5592ea9
5592ea9
The typeface has been digitised by George D. Matthiopoulos.
5592ea9
5592ea9
5592ea9
%prep
89fa42d
%setup -q -c -T
8a9c547
unzip -j -L -q %{SOURCE0}
fa10713
chmod 0644 *.txt
5592ea9
for txt in *.txt ; do
5592ea9
   fold -s $txt > $txt.new
5592ea9
   sed -i 's/\r//' $txt.new
5592ea9
   touch -r $txt $txt.new
5592ea9
   mv $txt.new $txt
5592ea9
done
5592ea9
5592ea9
5592ea9
%build
5592ea9
5592ea9
5592ea9
%install
5592ea9
rm -fr %{buildroot}
5592ea9
c59ea6a
install -m 0755 -d %{buildroot}%{_fontdir}
c59ea6a
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
c59ea6a
c59ea6a
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
c59ea6a
                   %{buildroot}%{_fontconfig_confdir}
5592ea9
c59ea6a
install -m 0644 -p %{SOURCE1} \
c59ea6a
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
c59ea6a
ln -s %{_fontconfig_templatedir}/%{fontconf} \
c59ea6a
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
5592ea9
5592ea9
5592ea9
%clean
5592ea9
rm -fr %{buildroot}
5592ea9
5592ea9
c59ea6a
%_font_pkg -f %{fontconf} *.otf
5592ea9
5592ea9
%doc *.txt *.pdf
246c323
5592ea9
c59ea6a
%changelog
70a7948
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20070415-12
70a7948
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
70a7948
389d9aa
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20070415-11
389d9aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
389d9aa
246c323
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
246c323
- 20070415-10
246c323
— prepare for F11 mass rebuild, new rpm and new fontpackages
246c323
246c323
* Sun Nov 23 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
c59ea6a
- 20070415-9
c59ea6a
ᛤ ‘rpm-fonts’ renamed to “fontpackages”
5592ea9
246c323
* Fri Nov 14 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
c59ea6a
- 20070415-8
c59ea6a
▤ Rebuild using new « rpm-fonts »
5592ea9
246c323
* Fri Jul 11 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
85e3856
- 20070415-7
85e3856
⌖ Fedora 10 alpha general package cleanup
85e3856
fa10713
* Wed Apr 30 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
fa10713
- 20070415-6
fa10713
⥁ Yet another prep fix®
fa10713
1ec9fcb
* Mon Mar 17 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
89fa42d
- 20070415-5
1ec9fcb
⚰ RIP OSX zip metadata. You won't be missed.
f4cd857
f4cd857
* Sun Feb 17 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
f4cd857
- 20070415-2
f4cd857
⌂ Update URL
f4cd857
5592ea9
* Sun Nov 25 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
5592ea9
☺ 20070415-1
5592ea9
✓ initial packaging