38fc494
%global fontname foundation-icons
38fc494
%global fontconf 60-%{fontname}.conf
38fc494
38fc494
Name:           %{fontname}-fonts
38fc494
Version:        3.0
987ce3c
Release:        13%{?dist}
38fc494
Summary:        Foundation Icons font
38fc494
38fc494
License:        MIT
38fc494
URL:            https://zurb.com/playground/foundation-icon-fonts-3
38fc494
Source0:        https://zurb.com/playground/uploads/upload/upload/288/foundation-icons.zip
38fc494
Source1:        %{name}-fontconfig.conf
38fc494
38fc494
Patch1:         foundation-icons-fonts-3.0-fix_css.patch
38fc494
38fc494
BuildArch:      noarch
38fc494
BuildRequires:  fontpackages-devel
38fc494
38fc494
Requires:       fontpackages-filesystem
38fc494
38fc494
38fc494
%description
38fc494
A custom collection of 283 icons that are stored in a handy font.
38fc494
38fc494
This package contains the TrueType font file which is typically used locally.
38fc494
38fc494
38fc494
%package web
38fc494
Requires:       %{fontname}-fonts = %{version}-%{release}
38fc494
Summary:        Foundation Icons font css file
38fc494
38fc494
%description web
38fc494
A custom collection of 283 icons that are stored in a handy font.
38fc494
38fc494
This package contains the CSS file for use on a webserver.
38fc494
38fc494
38fc494
%prep
38fc494
%autosetup -n foundation-icons
38fc494
38fc494
38fc494
%build
38fc494
38fc494
38fc494
%install
38fc494
install -m 0755 -d %{buildroot}%{_fontdir}
38fc494
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
38fc494
38fc494
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
38fc494
                   %{buildroot}%{_fontconfig_confdir}
38fc494
38fc494
install -m 0644 -p %{SOURCE1} \
38fc494
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
38fc494
ln -s %{_fontconfig_templatedir}/%{fontconf} \
38fc494
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
38fc494
38fc494
mkdir -p %{buildroot}%{_datadir}/foundation-icons-web/
38fc494
cp -a foundation-icons.css %{buildroot}%{_datadir}/foundation-icons-web/
38fc494
38fc494
38fc494
%_font_pkg -f %{fontconf} *.ttf
38fc494
38fc494
%files web
38fc494
%{_datadir}/foundation-icons-web/
38fc494
38fc494
38fc494
%changelog
987ce3c
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-13
987ce3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
987ce3c
cde1065
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-12
cde1065
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
cde1065
6edc786
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-11
6edc786
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
6edc786
502b072
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-10
502b072
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
502b072
4f1e125
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-9
4f1e125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
4f1e125
a5b7fc8
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-8
a5b7fc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a5b7fc8
318961e
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-7
318961e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
318961e
2f6c95a
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-6
2f6c95a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2f6c95a
a573147
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-5
a573147
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a573147
4425096
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-4
4425096
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4425096
1aac490
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-3
1aac490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1aac490
38fc494
* Wed Jul 17 2019 Xavier Bachelot <xavier@bachelot.org> - 3.0-2
38fc494
- Package TTF font only and add patch to fix CSS accordingly.
38fc494
- Update descriptions and summaries.
38fc494
- Drop commented out appstream support.
38fc494
38fc494
* Tue Jun 04 2019 Xavier Bachelot <xavier@bachelot.org> - 3.0-1
38fc494
- Initial package.