|
|
adc8bc |
%undefine __cmake_in_source_build
|
|
|
adc8bc |
|
|
|
adc8bc |
Name: woff2
|
|
|
adc8bc |
Version: 1.0.2
|
|
|
a73d56 |
Release: 15%{?dist}
|
|
|
adc8bc |
Summary: Web Open Font Format 2.0 library
|
|
|
adc8bc |
|
|
|
adc8bc |
License: MIT
|
|
|
adc8bc |
URL: https://github.com/google/woff2
|
|
|
adc8bc |
Source0: https://github.com/google/woff2/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
adc8bc |
|
|
|
adc8bc |
# https://github.com/google/woff2/pull/121
|
|
|
adc8bc |
Patch0: covscan.patch
|
|
|
adc8bc |
|
|
|
adc8bc |
BuildRequires: cmake
|
|
|
adc8bc |
BuildRequires: gcc-c++
|
|
|
adc8bc |
BuildRequires: brotli-devel >= 1.0
|
|
|
adc8bc |
|
|
|
adc8bc |
%description
|
|
|
adc8bc |
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0 with
|
|
|
adc8bc |
improved compression that is achieved by using the Brotli algorithm. The primary
|
|
|
adc8bc |
purpose of the WOFF2 format is to efficiently package fonts linked to Web
|
|
|
adc8bc |
documents by means of CSS @font-face rules.
|
|
|
adc8bc |
|
|
|
adc8bc |
%package tools
|
|
|
adc8bc |
Summary: Web Open Font Format 2.0 tools
|
|
|
adc8bc |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
adc8bc |
|
|
|
adc8bc |
%description tools
|
|
|
adc8bc |
Tools for compressing TTF files to WOFF2 format, decompressing WOFF2
|
|
|
adc8bc |
files back to TTF files and dumping WOFF2 file information.
|
|
|
adc8bc |
|
|
|
adc8bc |
%package devel
|
|
|
adc8bc |
Summary: Development files for %{name}
|
|
|
adc8bc |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
adc8bc |
|
|
|
adc8bc |
%description devel
|
|
|
adc8bc |
Development files and utils for %{name}
|
|
|
adc8bc |
|
|
|
adc8bc |
%prep
|
|
|
adc8bc |
%autosetup -p1 -n %{name}-%{version}
|
|
|
adc8bc |
|
|
|
adc8bc |
%build
|
|
|
adc8bc |
%cmake \
|
|
|
adc8bc |
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
|
|
adc8bc |
-DCMAKE_INSTALL_LIBDIR="%{_libdir}" \
|
|
|
adc8bc |
-DCMAKE_SKIP_RPATH=TRUE
|
|
|
adc8bc |
%cmake_build
|
|
|
adc8bc |
|
|
|
adc8bc |
%install
|
|
|
adc8bc |
%cmake_install
|
|
|
adc8bc |
mkdir -p %{buildroot}%{_bindir}/
|
|
|
adc8bc |
|
|
|
a73d56 |
cd %{_vpath_builddir}
|
|
|
adc8bc |
install -m 755 woff2_decompress %{buildroot}%{_bindir}/
|
|
|
adc8bc |
install -m 755 woff2_compress %{buildroot}%{_bindir}/
|
|
|
adc8bc |
install -m 755 woff2_info %{buildroot}%{_bindir}/
|
|
|
adc8bc |
cd -
|
|
|
adc8bc |
|
|
|
adc8bc |
%files
|
|
|
adc8bc |
%license LICENSE
|
|
|
adc8bc |
%{_libdir}/libwoff2common.so.*
|
|
|
adc8bc |
%{_libdir}/libwoff2dec.so.*
|
|
|
adc8bc |
%{_libdir}/libwoff2enc.so.*
|
|
|
adc8bc |
|
|
|
adc8bc |
%files tools
|
|
|
adc8bc |
%attr(755, root, root) %{_bindir}/woff2_compress
|
|
|
adc8bc |
%attr(755, root, root) %{_bindir}/woff2_decompress
|
|
|
adc8bc |
%attr(755, root, root) %{_bindir}/woff2_info
|
|
|
adc8bc |
|
|
|
adc8bc |
%files devel
|
|
|
adc8bc |
%{_includedir}/woff2
|
|
|
adc8bc |
%{_libdir}/libwoff2common.so
|
|
|
adc8bc |
%{_libdir}/libwoff2dec.so
|
|
|
adc8bc |
%{_libdir}/libwoff2enc.so
|
|
|
adc8bc |
%{_libdir}/pkgconfig/libwoff2common.pc
|
|
|
adc8bc |
%{_libdir}/pkgconfig/libwoff2dec.pc
|
|
|
adc8bc |
%{_libdir}/pkgconfig/libwoff2enc.pc
|
|
|
adc8bc |
|
|
|
adc8bc |
%changelog
|
|
|
a73d56 |
* Tue Jul 05 2022 Eike Rathke <erack@redhat.com> - 1.0.2-15
|
|
|
a73d56 |
- Fix 9.1.0 FTBFS
|
|
|
a73d56 |
|
|
|
adc8bc |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-14
|
|
|
adc8bc |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
adc8bc |
Related: rhbz#1991688
|
|
|
adc8bc |
|
|
|
adc8bc |
* Mon Jun 14 2021 Eike Rathke <erack@redhat.com> - 1.0.2-13
|
|
|
adc8bc |
- Add Coverity Scan fixes patch
|
|
|
adc8bc |
|
|
|
adc8bc |
* Mon Apr 19 2021 Eike Rathke <erack@redhat.com> - 1.0.2-12
|
|
|
adc8bc |
- Get rid of all things RPATH
|
|
|
adc8bc |
|
|
|
adc8bc |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-11
|
|
|
adc8bc |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
adc8bc |
|
|
|
adc8bc |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
|
|
|
adc8bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
adc8bc |
|
|
|
adc8bc |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-9
|
|
|
adc8bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
adc8bc |
|
|
|
adc8bc |
* Mon Apr 06 2020 Tomas Popela <tpopela@redhat.com> - 1.0.2-8
|
|
|
adc8bc |
- Package woff2_decompress, woff2_compress and woff2_info in a tools subpackage.
|
|
|
adc8bc |
Thanks to Tomasz Gąsior <kontakt@tomaszgasior.pl>
|
|
|
adc8bc |
|
|
|
adc8bc |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
|
|
|
adc8bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
adc8bc |
|
|
|
adc8bc |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
|
|
|
adc8bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
adc8bc |
|
|
|
adc8bc |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
|
|
|
adc8bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
adc8bc |
|
|
|
adc8bc |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
|
|
|
adc8bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
adc8bc |
|
|
|
adc8bc |
* Mon Mar 05 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-3
|
|
|
adc8bc |
- Rebuild for brotli update
|
|
|
adc8bc |
|
|
|
adc8bc |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
adc8bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
adc8bc |
|
|
|
adc8bc |
* Tue Nov 14 2017 Tomas Popela <tpopela@redhat.com> 1.0.2-1
|
|
|
adc8bc |
- Update to 1.0.2
|
|
|
adc8bc |
|
|
|
adc8bc |
* Mon Oct 09 2017 Tomas Popela <tpopela@redhat.com> 1.0.1-1
|
|
|
adc8bc |
- Initial import (rhbz#1499676)
|