Your Name acb7487
%global fontname levien-museum
Your Name acb7487
%global fontconf 61-%{fontname}.conf
Your Name acb7487
Your Name acb7487
Name:           %{fontname}-fonts
Your Name acb7487
Version:        1.0
41a383a
Release:        15%{?dist}
Your Name acb7487
Summary:        Based on historical metal Centaur fonts
Your Name acb7487
Your Name acb7487
License:        OFL
Your Name acb7487
URL:            http://levien.com/type/myfonts/museum.html
Your Name acb7487
Source0:        http://levien.com/type/myfonts/museum.zip
Your Name acb7487
Source1:        %{name}-fontconfig.conf
Richard Hughes 1297f94
Source2:        %{fontname}.metainfo.xml
Your Name acb7487
BuildArch:      noarch
Your Name acb7487
BuildRequires:  fontpackages-devel
Your Name acb7487
Requires:       fontpackages-filesystem
Your Name acb7487
Your Name acb7487
%description
Your Name acb7487
The Museum fonts are based on historical metal Centaur fonts.
Your Name acb7487
Your Name acb7487
%define debug_package %{nil}
Your Name acb7487
Your Name acb7487
%prep
Your Name acb7487
%setup -q -n museum
Your Name acb7487
Your Name acb7487
%build
Your Name acb7487
Your Name acb7487
%install
Your Name acb7487
rm -rf %{buildroot}
Your Name acb7487
install -m 0755 -d %{buildroot}%{_fontdir}
Your Name acb7487
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
Your Name acb7487
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
Your Name acb7487
                   %{buildroot}%{_fontconfig_confdir}
Your Name acb7487
install -m 0644 -p %{SOURCE1} \
Your Name acb7487
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
Your Name acb7487
Your Name acb7487
ln -s %{_fontconfig_templatedir}/%{fontconf} \
Your Name acb7487
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
Your Name acb7487
Richard Hughes 1297f94
# Add AppStream metadata
Richard Hughes 1297f94
install -Dm 0644 -p %{SOURCE2} \
Richard Hughes 1297f94
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
Your Name acb7487
Your Name acb7487
Your Name acb7487
%_font_pkg -f %{fontconf} *.otf
Richard Hughes 1297f94
%{_datadir}/appdata/%{fontname}.metainfo.xml
Your Name acb7487
Your Name acb7487
Your Name acb7487
%changelog
41a383a
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-15
41a383a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
41a383a
cb14072
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-14
cb14072
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cb14072
8aee9b8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-13
8aee9b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8aee9b8
172806f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-12
172806f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
172806f
7f953aa
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-11
7f953aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7f953aa
85174d4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-10
85174d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
85174d4
c93447c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
c93447c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c93447c
Richard Hughes 1297f94
* Sat Oct 18 2014 Richard Hughes <richard@hughsie.com> - 1.0-8
Richard Hughes 1297f94
- Add a MetaInfo file for the software center; this is a font we want to show.
Richard Hughes 1297f94
eb7267c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7
eb7267c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
eb7267c
b71fcb1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6
b71fcb1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b71fcb1
572d007
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
572d007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
572d007
ef3a1d3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
ef3a1d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ef3a1d3
7d77f7f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
7d77f7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7d77f7f
8028069
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
8028069
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8028069
Your Name acb7487
Your Name acb7487
* Thu Nov 11 2010 Susmit Shannigrahi <susmit at fedoraproject.org> - 1.0-1
Your Name acb7487
- Made minor adjustments in spec file
Your Name acb7487
- Set fontconfig priority to 61
Your Name acb7487
- Upstream does not provide version info. Considering as post-release.
Your Name acb7487
Your Name acb7487
* Mon Nov 08 2010 Susmit Shannigrahi <susmit at fedoraproject.org> - 1.0-1
Your Name acb7487
- Initial packaging
Your Name acb7487