[12449] | 1 | Summary: Web Open Font Format 2.0 library |
---|
[12005] | 2 | Name: woff2 |
---|
| 3 | Version: 1.0.2 |
---|
[12449] | 4 | Release: 6%{?_dist_release} |
---|
[12005] | 5 | Vendor: Project Vine |
---|
| 6 | Distribution: Vine Linux |
---|
| 7 | |
---|
| 8 | License: MIT |
---|
| 9 | URL: https://github.com/google/woff2 |
---|
| 10 | Source0: https://github.com/google/woff2/archive/v%{version}/%{name}-%{version}.tar.gz |
---|
| 11 | |
---|
| 12 | BuildRequires: cmake |
---|
| 13 | BuildRequires: gcc-c++ |
---|
| 14 | BuildRequires: brotli-devel >= 1.0 |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0 with |
---|
| 18 | improved compression that is achieved by using the Brotli algorithm. The primary |
---|
| 19 | purpose of the WOFF2 format is to efficiently package fonts linked to Web |
---|
| 20 | documents by means of CSS @font-face rules. |
---|
| 21 | |
---|
| 22 | %package devel |
---|
| 23 | Summary: Development files for %{name} |
---|
| 24 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 25 | |
---|
| 26 | %description devel |
---|
| 27 | Development files and utils for %{name} |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %autosetup -n %{name}-%{version} |
---|
| 31 | |
---|
| 32 | %build |
---|
| 33 | mkdir -p %{_target_platform} |
---|
| 34 | pushd %{_target_platform} |
---|
| 35 | %cmake .. \ |
---|
| 36 | -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ |
---|
| 37 | -DCMAKE_INSTALL_LIBDIR="%{_libdir}" |
---|
| 38 | popd |
---|
| 39 | |
---|
| 40 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | %make_install -C %{_target_platform} |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %license LICENSE |
---|
| 47 | %{_libdir}/libwoff2common.so.* |
---|
| 48 | %{_libdir}/libwoff2dec.so.* |
---|
| 49 | %{_libdir}/libwoff2enc.so.* |
---|
| 50 | |
---|
| 51 | %files devel |
---|
| 52 | %{_includedir}/woff2 |
---|
| 53 | %{_libdir}/libwoff2common.so |
---|
| 54 | %{_libdir}/libwoff2dec.so |
---|
| 55 | %{_libdir}/libwoff2enc.so |
---|
| 56 | %{_libdir}/pkgconfig/libwoff2common.pc |
---|
| 57 | %{_libdir}/pkgconfig/libwoff2dec.pc |
---|
| 58 | %{_libdir}/pkgconfig/libwoff2enc.pc |
---|
| 59 | |
---|
| 60 | %changelog |
---|
[12449] | 61 | * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-6 |
---|
| 62 | - rebuilt with current environment. |
---|
| 63 | |
---|
[12005] | 64 | * Thu Jan 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-5 |
---|
| 65 | - initial build for Vine Linux. |
---|
| 66 | |
---|
| 67 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4 |
---|
| 68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 69 | |
---|
| 70 | * Mon Mar 05 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-3 |
---|
| 71 | - Rebuild for brotli update |
---|
| 72 | |
---|
| 73 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2 |
---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 75 | |
---|
| 76 | * Tue Nov 14 2017 Tomas Popela <tpopela@redhat.com> 1.0.2-1 |
---|
| 77 | - Update to 1.0.2 |
---|
| 78 | |
---|
| 79 | * Mon Oct 09 2017 Tomas Popela <tpopela@redhat.com> 1.0.1-1 |
---|
| 80 | - Initial import (rhbz#1499676) |
---|