|
|
6a3bc11 |
%global fontname beteckna
|
|
|
6a3bc11 |
%global common_desc \
|
|
|
6a3bc11 |
This font is available from beteckna.se, it is a geometric sans-serif \
|
|
|
6a3bc11 |
typeface inspired by Paul Renners popular type, Futura. It was drawn by \
|
|
|
6a3bc11 |
Johan Mattsson in Maj 2007. The font is free, licensed under terms of the \
|
|
|
6a3bc11 |
GNU GPL. This version supports English and a few nordic languages. \
|
|
|
6a3bc11 |
Special character ✈ ( ✈ ) depicts two cats.
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%global fontconf 60-%{fontname}-fonts
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
Name: %{fontname}-fonts
|
|
|
6a3bc11 |
Version: 0.3
|
|
|
cda9bf3 |
Release: 20%{?dist}
|
|
|
6a3bc11 |
Summary: Beteckna sans-serif fonts
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
License: GPLv2
|
|
|
6a3bc11 |
URL: http://gnu.ethz.ch/linuks.mine.nu/beteckna/
|
|
|
6a3bc11 |
Source0: http://gnu.ethz.ch/linuks.mine.nu/beteckna/beteckna-0.3.tar.gz
|
|
|
6a3bc11 |
Source1: %{name}-fontconfig.conf
|
|
|
6a3bc11 |
Source2: %{name}-lower-case-fontconfig.conf
|
|
|
6a3bc11 |
Source3: %{name}-small-caps-fontconfig.conf
|
|
Richard Hughes |
173f312 |
Source4: %{fontname}.metainfo.xml
|
|
Richard Hughes |
173f312 |
Source5: %{fontname}-lower-case.metainfo.xml
|
|
Richard Hughes |
173f312 |
Source6: %{fontname}-small-caps.metainfo.xml
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
BuildArch: noarch
|
|
|
6a3bc11 |
BuildRequires: fontforge, fontpackages-devel
|
|
|
4c83106 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%description
|
|
|
6a3bc11 |
%common_desc
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%_font_pkg -f %{fontconf}.conf Beteckna.otf
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%package common
|
|
|
6a3bc11 |
Summary: Common files of %{name}
|
|
|
6a3bc11 |
Requires: fontpackages-filesystem
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%description common
|
|
|
6a3bc11 |
%common_desc
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
This package consists of files used by other %{name} packages.
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
# 1 Lower Case
|
|
|
6a3bc11 |
%package -n %{fontname}-lower-case-fonts
|
|
|
6a3bc11 |
Summary: Beteckna lower case sfd fonts
|
|
|
6a3bc11 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%description -n %{fontname}-lower-case-fonts
|
|
|
6a3bc11 |
%common_desc
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
These are lower case Beteckna Fonts.
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%_font_pkg -f %{fontconf}-lower-case.conf -n lower-case BetecknaLowerCase*.otf
|
|
Richard Hughes |
173f312 |
%{_datadir}/appdata/%{fontname}-lower-case.metainfo.xml
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
# 1 Small Caps
|
|
|
6a3bc11 |
%package -n %{fontname}-small-caps-fonts
|
|
|
6a3bc11 |
Summary: Beteckna small caps sfd fonts
|
|
|
6a3bc11 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%description -n %{fontname}-small-caps-fonts
|
|
|
6a3bc11 |
%common_desc
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
These are small caps Beteckna Fonts.
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%_font_pkg -n small-caps -f %{fontconf}-small-caps.conf BetecknaSmallCaps.otf
|
|
Richard Hughes |
173f312 |
%{_datadir}/appdata/%{fontname}-small-caps.metainfo.xml
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%prep
|
|
|
6a3bc11 |
%setup -q -n beteckna-0.3
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
fold -s CHANGELOG > CHANGELOG.new
|
|
|
6a3bc11 |
sed -i 's/\r//' CHANGELOG.new
|
|
|
6a3bc11 |
touch -r CHANGELOG CHANGELOG.new
|
|
|
6a3bc11 |
mv CHANGELOG.new CHANGELOG
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%build
|
|
|
6a3bc11 |
fontforge -lang=ff -script "-" Beteckna*.sfd << EOF
|
|
|
6a3bc11 |
i = 1
|
|
|
6a3bc11 |
while ( i < \$argc )
|
|
|
6a3bc11 |
Open (\$argv[i], 1)
|
|
|
6a3bc11 |
otfile = \$fontname + ".otf"
|
|
|
6a3bc11 |
Generate(otfile,"otf")
|
|
|
6a3bc11 |
Close()
|
|
|
6a3bc11 |
i++
|
|
|
6a3bc11 |
endloop
|
|
|
6a3bc11 |
EOF
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%install
|
|
|
6a3bc11 |
rm -fr %{buildroot}
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
6a3bc11 |
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
install -m 0644 -p %{SOURCE1} \
|
|
|
6a3bc11 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
|
6a3bc11 |
install -m 0644 -p %{SOURCE2} \
|
|
|
6a3bc11 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-small-caps.conf
|
|
|
6a3bc11 |
install -m 0644 -p %{SOURCE3} \
|
|
|
6a3bc11 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-lower-case.conf
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
for fconf in %{fontconf}.conf %{fontconf}-lower-case.conf %{fontconf}-small-caps.conf ;
|
|
|
6a3bc11 |
do
|
|
|
6a3bc11 |
ln -s %{_fontconfig_templatedir}/$fconf %{buildroot}%{_fontconfig_confdir}/$fconf
|
|
|
6a3bc11 |
done
|
|
|
6a3bc11 |
|
|
Richard Hughes |
173f312 |
# Add AppStream metadata
|
|
Richard Hughes |
173f312 |
install -Dm 0644 -p %{SOURCE4} \
|
|
Richard Hughes |
173f312 |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
Richard Hughes |
173f312 |
install -Dm 0644 -p %{SOURCE5} \
|
|
Richard Hughes |
173f312 |
%{buildroot}%{_datadir}/appdata/%{fontname}-lower-case.metainfo.xml
|
|
Richard Hughes |
173f312 |
install -Dm 0644 -p %{SOURCE6} \
|
|
Richard Hughes |
173f312 |
%{buildroot}%{_datadir}/appdata/%{fontname}-small-caps.metainfo.xml
|
|
Richard Hughes |
173f312 |
|
|
|
6a3bc11 |
%files common
|
|
Richard Hughes |
173f312 |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
6a3bc11 |
%doc AUTHORS LICENSE CHANGELOG readme.html
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
%changelog
|
|
|
cda9bf3 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-20
|
|
|
cda9bf3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
cda9bf3 |
|
|
|
14774c3 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-19
|
|
|
14774c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
14774c3 |
|
|
|
b55c0f8 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-18
|
|
|
b55c0f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b55c0f8 |
|
|
|
030436e |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-17
|
|
|
030436e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
030436e |
|
|
|
e7f26ea |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-16
|
|
|
e7f26ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e7f26ea |
|
|
|
b4f5cd5 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-15
|
|
|
b4f5cd5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b4f5cd5 |
|
|
|
de679e5 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-14
|
|
|
de679e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
de679e5 |
|
|
Richard Hughes |
173f312 |
* Fri Oct 17 2014 Richard Hughes <richard@hughsie.com> - 0.3-13
|
|
Richard Hughes |
173f312 |
- Add a MetaInfo file for the software center; this is a font we want to show.
|
|
Richard Hughes |
173f312 |
|
|
|
c0ffa88 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-12
|
|
|
c0ffa88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c0ffa88 |
|
|
|
407b6ff |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-11
|
|
|
407b6ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
407b6ff |
|
|
|
74f6fb9 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-10
|
|
|
74f6fb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
74f6fb9 |
|
|
|
c03e11f |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-9
|
|
|
c03e11f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
c03e11f |
|
|
|
7392636 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-8
|
|
|
7392636 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7392636 |
|
|
|
df7c5e1 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-7
|
|
|
df7c5e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
df7c5e1 |
|
|
|
4c83106 |
* Thu Jul 08 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3-6
|
|
|
4c83106 |
- Rebuilt in accordance with new licensing guidelines
|
|
|
4c83106 |
|
|
|
38ff3d6 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-5
|
|
|
38ff3d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
38ff3d6 |
|
|
|
6a3bc11 |
* Tue Mar 17 2009 Ankur Sinha <ankursinha AT fedoraproject.org>
|
|
|
6a3bc11 |
- 0.3-4
|
|
|
6a3bc11 |
- Rebuilt and tested with mock in accordance with #476720
|
|
|
6a3bc11 |
* Mon Feb 16 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org>
|
|
|
6a3bc11 |
- 0.3-3
|
|
|
6a3bc11 |
- Rebuilt using Multi spec
|
|
|
6a3bc11 |
|
|
|
6a3bc11 |
|