|
|
@ -1,8 +1,6 @@
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: woff2
|
|
|
|
Name: woff2
|
|
|
|
Version: 1.0.2
|
|
|
|
Version: 1.0.2
|
|
|
|
Release: 15%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Web Open Font Format 2.0 library
|
|
|
|
Summary: Web Open Font Format 2.0 library
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
@ -13,7 +11,6 @@ Source0: https://github.com/google/woff2/archive/v%{version}/%{name}-%{ve
|
|
|
|
Patch0: covscan.patch
|
|
|
|
Patch0: covscan.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
BuildRequires: brotli-devel >= 1.0
|
|
|
|
BuildRequires: brotli-devel >= 1.0
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -22,14 +19,6 @@ 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
|
|
|
|
purpose of the WOFF2 format is to efficiently package fonts linked to Web
|
|
|
|
documents by means of CSS @font-face rules.
|
|
|
|
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
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
@ -41,21 +30,17 @@ Development files and utils for %{name}
|
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cmake \
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
|
|
|
%cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR="%{_libdir}" \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR="%{_libdir}"
|
|
|
|
-DCMAKE_SKIP_RPATH=TRUE
|
|
|
|
popd
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd %{_vpath_builddir}
|
|
|
|
%install
|
|
|
|
install -m 755 woff2_decompress %{buildroot}%{_bindir}/
|
|
|
|
%make_install -C %{_target_platform}
|
|
|
|
install -m 755 woff2_compress %{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
install -m 755 woff2_info %{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
cd -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
@ -63,11 +48,6 @@ cd -
|
|
|
|
%{_libdir}/libwoff2dec.so.*
|
|
|
|
%{_libdir}/libwoff2dec.so.*
|
|
|
|
%{_libdir}/libwoff2enc.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
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/woff2
|
|
|
|
%{_includedir}/woff2
|
|
|
|
%{_libdir}/libwoff2common.so
|
|
|
|
%{_libdir}/libwoff2common.so
|
|
|
@ -78,45 +58,17 @@ cd -
|
|
|
|
%{_libdir}/pkgconfig/libwoff2enc.pc
|
|
|
|
%{_libdir}/pkgconfig/libwoff2enc.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Jul 05 2022 Eike Rathke <erack@redhat.com> - 1.0.2-15
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.0.2-5
|
|
|
|
- Fix 9.1.0 FTBFS
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-14
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 14 2021 Eike Rathke <erack@redhat.com> - 1.0.2-13
|
|
|
|
|
|
|
|
- Add Coverity Scan fixes patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 19 2021 Eike Rathke <erack@redhat.com> - 1.0.2-12
|
|
|
|
|
|
|
|
- Get rid of all things RPATH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-11
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 06 2020 Tomas Popela <tpopela@redhat.com> - 1.0.2-8
|
|
|
|
|
|
|
|
- Package woff2_decompress, woff2_compress and woff2_info in a tools subpackage.
|
|
|
|
|
|
|
|
Thanks to Tomasz Gąsior <kontakt@tomaszgasior.pl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
|
|
|
|
* Mon Feb 01 2021 Eike Rathke <erack@redhat.com> - 1.0.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Resolves: rhbz#1919435 bump NVR for rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
|
|
|
|
* Wed Oct 10 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Fix Coverity scan issues
|
|
|
|
|
|
|
|
- Resolves: rhbz#1637782
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 05 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-3
|
|
|
|
* Mon Jul 16 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-3
|
|
|
|
- Rebuild for brotli update
|
|
|
|
- Rebuild for brotli update
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
|