Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bd63a2f51 | ||
|
|
cf27a2313a | ||
|
|
afbed0d1dc |
1 changed files with 24 additions and 1 deletions
25
woff2.spec
25
woff2.spec
|
|
@ -1,6 +1,6 @@
|
|||
Name: woff2
|
||||
Version: 1.0.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Web Open Font Format 2.0 library
|
||||
|
||||
License: MIT
|
||||
|
|
@ -17,6 +17,14 @@ improved compression that is achieved by using the Brotli algorithm. The primary
|
|||
purpose of the WOFF2 format is to efficiently package fonts linked to Web
|
||||
documents by means of CSS @font-face rules.
|
||||
|
||||
%package tools
|
||||
Summary: Web Open Font Format 2.0 tools
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description tools
|
||||
Tools for compressing TTF files to WOFF2 format, decompressing WOFF2
|
||||
files back to TTF files and dumping WOFF2 file information.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
|
@ -39,6 +47,12 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|||
|
||||
%install
|
||||
%make_install -C %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
mkdir -p %{buildroot}%{_bindir}/
|
||||
install -m 755 woff2_decompress %{buildroot}%{_bindir}/
|
||||
install -m 755 woff2_compress %{buildroot}%{_bindir}/
|
||||
install -m 755 woff2_info %{buildroot}%{_bindir}/
|
||||
popd
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
|
@ -46,6 +60,11 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|||
%{_libdir}/libwoff2dec.so.*
|
||||
%{_libdir}/libwoff2enc.so.*
|
||||
|
||||
%files tools
|
||||
%attr(755, root, root) %{_bindir}/woff2_compress
|
||||
%attr(755, root, root) %{_bindir}/woff2_decompress
|
||||
%attr(755, root, root) %{_bindir}/woff2_info
|
||||
|
||||
%files devel
|
||||
%{_includedir}/woff2
|
||||
%{_libdir}/libwoff2common.so
|
||||
|
|
@ -56,6 +75,10 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|||
%{_libdir}/pkgconfig/libwoff2enc.pc
|
||||
|
||||
%changelog
|
||||
* Mon Apr 06 2020 Tomas Popela <tpopela@redhat.com> - 1.0.2-7
|
||||
- Package woff2_decompress, woff2_compress and woff2_info in a tools subpackage.
|
||||
Thanks to Tomasz Gąsior <kontakt@tomaszgasior.pl>
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue