2013-12-11 15:17:15 +00:00
|
|
|
Name: ttembed
|
|
|
|
Version: 1.1
|
2022-01-22 03:14:56 +00:00
|
|
|
Release: 17%{?dist}
|
2013-12-11 15:17:15 +00:00
|
|
|
Summary: Remove embedding limitations from TrueType fonts
|
|
|
|
License: Public Domain
|
|
|
|
URL: https://github.com/hisdeedsaredust/ttembed
|
|
|
|
Source0: https://github.com/hisdeedsaredust/ttembed/archive/v%{version}.tar.gz
|
|
|
|
|
2021-01-09 00:11:51 +00:00
|
|
|
BuildRequires: make
|
2018-07-24 14:02:52 +00:00
|
|
|
BuildRequires: gcc
|
2013-12-11 15:17:15 +00:00
|
|
|
%description
|
|
|
|
Remove embedding limitations from TrueType fonts, by setting the fsType field
|
|
|
|
in the OS/2 table to zero. That's it; this program is a one-trick pony.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="$CFLAGS %{optflags}"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d %{buildroot}%{_bindir}
|
|
|
|
install -p -m 755 %{name} %{buildroot}%{_bindir}
|
|
|
|
install -d %{buildroot}%{_mandir}/man1/
|
|
|
|
install -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%doc LICENSE README.md
|
|
|
|
|
|
|
|
%check
|
|
|
|
# smoke test - fail on not font file
|
|
|
|
echo 'not a font' > test
|
|
|
|
if [[ "$(./ttembed test 2>&1)" != "test: Not TTF/OTF" ]] ; then
|
|
|
|
echo "TEST FAIL: not a font input test" 1>&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
rm test
|
|
|
|
|
|
|
|
%changelog
|
2022-01-22 03:14:56 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 19:46:25 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-27 22:25:26 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 13:01:17 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-31 02:14:43 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-27 02:07:09 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-03 10:28:43 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 08:00:43 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 19:40:25 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 09:38:03 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 20:45:01 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 16:28:55 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-05 02:06:42 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 03:31:34 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-18 06:26:56 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 09:12:37 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-12-11 15:17:15 +00:00
|
|
|
* Mon Dec 2 2013 Petr Vobornik <pvoborni@redhat.com> - 1.1-1
|
|
|
|
- initial package
|