Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Tomas Popela
4bd63a2f51 Fix the month in changelog 2020-04-06 12:51:00 +02:00
Tomas Popela
cf27a2313a Package woff2_decompress, woff2_compress and woff2_info in a tools subpackage.
Thanks to Tomasz Gąsior <kontakt@tomaszgasior.pl>
2020-04-06 12:50:23 +02:00
Tomasz Gąsior
afbed0d1dc Add woff2-tools package 2020-04-06 12:49:29 +02:00

View file

@ -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