source: projects/specs/trunk/w/woff2/woff2-vl.spec @ 12005

Revision 12005, 2.2 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1Name:           woff2
2Version:        1.0.2
3Release:        5%{?_dist_release}
4Summary:        Web Open Font Format 2.0 library
5
6Vendor:         Project Vine
7Distribution:   Vine Linux
8
9License:        MIT
10URL:            https://github.com/google/woff2
11Source0:        https://github.com/google/woff2/archive/v%{version}/%{name}-%{version}.tar.gz
12
13BuildRequires:  cmake
14BuildRequires:  gcc-c++
15BuildRequires:  brotli-devel >= 1.0
16
17%description
18Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0 with
19improved compression that is achieved by using the Brotli algorithm. The primary
20purpose of the WOFF2 format is to efficiently package fonts linked to Web
21documents by means of CSS @font-face rules.
22
23%package        devel
24Summary:        Development files for %{name}
25Requires:       %{name}%{?_isa} = %{version}-%{release}
26
27%description    devel
28Development files and utils for %{name}
29
30%prep
31%autosetup -n %{name}-%{version}
32
33%build
34mkdir -p %{_target_platform}
35pushd %{_target_platform}
36%cmake .. \
37    -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
38    -DCMAKE_INSTALL_LIBDIR="%{_libdir}"
39popd
40
41make %{?_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)
Note: See TracBrowser for help on using the repository browser.