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