5d62478
%global fontname drehatlas-widelands
5d62478
%global fontconf 61-%{fontname}.conf
25c3754
%global metapkgver 2010-02-06
5d62478
5d62478
# This is a highly-stylized titling font, so picking an ideal substitute with
5d62478
# fontconfig is pointless
5d62478
5d62478
Name:		%{fontname}-fonts
25c3754
Version:	1.0.3.1
Christopher Meng e9a3ec4
Release:	11%{?dist}
5d62478
Summary:	A Latin typeface inspired by feudal calligraphy
5d62478
License:	OFL
5d62478
URL:		http://www.drehatlas.de/
25c3754
Source0:	http://downloads.sourceforge.net/project/drehatlas-fonts/Font-Packages/COMPLETE/drehatlas-fonts-%{metapkgver}.zip
5d62478
Source1:	%{fontconf}
5d62478
BuildArch:	noarch
5d62478
BuildRequires:	fontpackages-devel fontforge
5d62478
Requires:	fontpackages-filesystem
5d62478
5d62478
%description
25c3754
This font was created by Peter Schwanemann as a logo for the Widelands project,
25c3754
but has since been enhanced.  The font is decorative and not really usable for
5d62478
real texts, but it looks nice for logos, banners or similar stuff.  All normal
5d62478
latin glyphs and arabic numbers are included and usable.
5d62478
5d62478
%prep
5d62478
%setup -q -c %{name}-%{version}
25c3754
cd drehatlas-fonts-%{metapkgver}/Widelands-%{version}
5d62478
# Wrap the license file at 80 chars
5d62478
fold -s LICENSE > LICENSE.new
5d62478
touch -r LICENSE LICENSE.new
5d62478
mv LICENSE.new LICENSE
5d62478
5d62478
%build
5d62478
5d62478
%install
25c3754
cd drehatlas-fonts-%{metapkgver}/Widelands-%{version}
25c3754
5d62478
install -m 0755 -d %{buildroot}%{_fontdir}
5d62478
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
5d62478
5d62478
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
5d62478
	%{buildroot}%{_fontconfig_confdir}
5d62478
5d62478
install -m 0644 -p %{SOURCE1} \
5d62478
	%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
5d62478
5d62478
ln -s %{_fontconfig_templatedir}/%{fontconf} \
5d62478
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
5d62478
5d62478
%_font_pkg -f %{fontconf} *.otf
25c3754
%doc drehatlas-fonts-%{metapkgver}/Widelands-%{version}/LICENSE drehatlas-fonts-%{metapkgver}/Widelands-%{version}/FONTLOG
5d62478
5d62478
%changelog
Christopher Meng e9a3ec4
* Thu Aug 08 2013 Christopher Meng <rpm@cicku.me> - 1.0.3.1-11
Christopher Meng e9a3ec4
- SPEC cleanup.
Christopher Meng e9a3ec4
3a9f521
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3.1-10
3a9f521
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3a9f521
147fefb
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3.1-9
147fefb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
147fefb
f6f61bb
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3.1-8
f6f61bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f6f61bb
d2deea0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3.1-7
d2deea0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d2deea0
aabdf4b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3.1-6
aabdf4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aabdf4b
Adam Tkac 30ac546
* Fri Aug 20 2010 Adam Tkac <atkac redhat com> 1.0.3.1-5
Adam Tkac 30ac546
- rebuild to ensure F14 has bigger NVR than F13
Adam Tkac 30ac546
bfcf040
* Mon Mar 08 2010 Dave Ludlow <dave@adsllc.com> 1.0.3.1-3
25c3754
- Update for upstream release
25c3754
5d62478
* Sat Oct 17 2009 Dave Ludlow <dave@adsllc.com> 1.0.2.2-6
5d62478
- Remove "Preferred Family" data via a fontforge script instead of ugly hack
5d62478
5d62478
* Sat Oct 17 2009 Dave Ludlow <dave@adsllc.com> 1.0.2.2-5
5d62478
- Prevent font from being called 'Decorative' instead of 'Widelands'
5d62478
5d62478
* Fri Oct 16 2009 Dave Ludlow <dave@adsllc.com> 1.0.2.2-4
5d62478
- Rename from olfb-widelands to drehatlas-widelands
5d62478
- Update conversion Makefile to be more general
5d62478
5d62478
* Wed Oct 14 2009 Dave Ludlow <dave@adsllc.com> 1.0.2.2-3
5d62478
- Update for Fedora packaging guidelines
5d62478
5d62478
* Wed Oct 14 2009 Dave Ludlow <dave@adsllc.com> 1.0.2.2-1
5d62478
- Initial packaging