Blame SPECS/woff2.spec

178cf4
Name:           woff2
178cf4
Version:        1.0.2
4ed4eb
Release:        5%{?dist}
178cf4
Summary:        Web Open Font Format 2.0 library
178cf4
178cf4
License:        MIT
178cf4
URL:            https://github.com/google/woff2
178cf4
Source0:        https://github.com/google/woff2/archive/v%{version}/%{name}-%{version}.tar.gz
178cf4
4ed4eb
# https://github.com/google/woff2/pull/121
178cf4
Patch0:         covscan.patch
178cf4
178cf4
BuildRequires:  cmake
178cf4
BuildRequires:  brotli-devel >= 1.0
178cf4
178cf4
%description
178cf4
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0 with
178cf4
improved compression that is achieved by using the Brotli algorithm. The primary
178cf4
purpose of the WOFF2 format is to efficiently package fonts linked to Web
178cf4
documents by means of CSS @font-face rules.
178cf4
178cf4
%package        devel
178cf4
Summary:        Development files for %{name}
178cf4
Requires:       %{name}%{?_isa} = %{version}-%{release}
178cf4
178cf4
%description    devel
178cf4
Development files and utils for %{name}
178cf4
178cf4
%prep
178cf4
%autosetup -p1 -n %{name}-%{version}
178cf4
178cf4
%build
178cf4
mkdir -p %{_target_platform}
178cf4
pushd %{_target_platform}
178cf4
%cmake .. \
178cf4
    -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
178cf4
    -DCMAKE_INSTALL_LIBDIR="%{_libdir}"
178cf4
popd
178cf4
178cf4
make %{?_smp_mflags} -C %{_target_platform}
178cf4
178cf4
%install
178cf4
%make_install -C %{_target_platform}
178cf4
178cf4
%files
178cf4
%license LICENSE
178cf4
%{_libdir}/libwoff2common.so.*
178cf4
%{_libdir}/libwoff2dec.so.*
178cf4
%{_libdir}/libwoff2enc.so.*
178cf4
178cf4
%files devel
178cf4
%{_includedir}/woff2
178cf4
%{_libdir}/libwoff2common.so
178cf4
%{_libdir}/libwoff2dec.so
178cf4
%{_libdir}/libwoff2enc.so
178cf4
%{_libdir}/pkgconfig/libwoff2common.pc
178cf4
%{_libdir}/pkgconfig/libwoff2dec.pc
178cf4
%{_libdir}/pkgconfig/libwoff2enc.pc
178cf4
178cf4
%changelog
4ed4eb
* Mon Feb 01 2021 Eike Rathke <erack@redhat.com> - 1.0.2-5
4ed4eb
- Resolves: rhbz#1919435 bump NVR for rebuild
4ed4eb
178cf4
* Wed Oct 10 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-4
178cf4
- Fix Coverity scan issues
178cf4
- Resolves: rhbz#1637782
178cf4
178cf4
* Mon Jul 16 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-3
178cf4
- Rebuild for brotli update
178cf4
178cf4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
178cf4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
178cf4
178cf4
* Tue Nov 14 2017 Tomas Popela <tpopela@redhat.com> 1.0.2-1
178cf4
- Update to 1.0.2
178cf4
178cf4
* Mon Oct 09 2017 Tomas Popela <tpopela@redhat.com> 1.0.1-1
178cf4
- Initial import (rhbz#1499676)