1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Summary: Text shaping library |
---|
4 | Name: harfbuzz |
---|
5 | Version: 2.6.4 |
---|
6 | Release: 2%{?_dist_release} |
---|
7 | Group: System Environment/Libraries |
---|
8 | Vendor: Project Vine |
---|
9 | Distribution: Vine Linux |
---|
10 | |
---|
11 | License: MIT |
---|
12 | URL: http://www.freedesktop.org/wiki/Software/HarfBuzz |
---|
13 | Source0: https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: glib2-devel |
---|
17 | BuildRequires: cairo-devel |
---|
18 | BuildRequires: freetype2-devel |
---|
19 | BuildRequires: libicu-devel |
---|
20 | |
---|
21 | |
---|
22 | %description |
---|
23 | HarfBuzz is an OpenType text shaping engine. |
---|
24 | |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Development tools for %{name} |
---|
28 | Summary(ja): %{name} の開発環境 |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires: %{name}-icu = %{version}-%{release} |
---|
32 | Requires: pkgconfig |
---|
33 | Requires: libicu-devel |
---|
34 | Provides: %{name}-icu-devel = %{version}-%{release} |
---|
35 | Obsoletes: %{name}-icu-devel < 2.0.0 |
---|
36 | |
---|
37 | %description devel |
---|
38 | Header files and libraries for building a extension library for the |
---|
39 | %{name}. |
---|
40 | |
---|
41 | |
---|
42 | %package icu |
---|
43 | Summary: ICU library for %{name} |
---|
44 | Summary(ja): %{name} 用 ICU ライブラリ |
---|
45 | Group: System Environment/Libraries |
---|
46 | Requires: %{name} = %{version}-%{release} |
---|
47 | |
---|
48 | %description icu |
---|
49 | This package contains icu library for %{name}. |
---|
50 | |
---|
51 | |
---|
52 | %package docs |
---|
53 | Summary: Documentation for %{name} |
---|
54 | Summary(ja): %{name} 用のドキュメント |
---|
55 | Group: Documentation |
---|
56 | Requires: %{name} = %{version}-%{release} |
---|
57 | BuildArch: noarch |
---|
58 | |
---|
59 | %description docs |
---|
60 | This package contains documentation for %{name}. |
---|
61 | |
---|
62 | |
---|
63 | # compat32 |
---|
64 | %package -n compat32-%{name} |
---|
65 | Summary: Text shaping library |
---|
66 | Group: System Environment/Libraries |
---|
67 | Requires: %{name} = %{version}-%{release} |
---|
68 | |
---|
69 | %description -n compat32-%{name} |
---|
70 | HarfBuzz is an OpenType text shaping engine. |
---|
71 | |
---|
72 | |
---|
73 | %package -n compat32-%{name}-devel |
---|
74 | Summary: Development tools for %{name} |
---|
75 | Summary(ja): %{name} の開発環境 |
---|
76 | Group: Development/Libraries |
---|
77 | Requires: compat32-%{name} = %{version}-%{release} |
---|
78 | Requires: pkgconfig |
---|
79 | |
---|
80 | %description -n compat32-%{name}-devel |
---|
81 | Header files and libraries for building a extension library for the |
---|
82 | %{name}. |
---|
83 | |
---|
84 | |
---|
85 | |
---|
86 | %prep |
---|
87 | %setup -q |
---|
88 | |
---|
89 | |
---|
90 | %build |
---|
91 | %configure \ |
---|
92 | --with-gobject \ |
---|
93 | --disable-static |
---|
94 | |
---|
95 | %{__make} %{?_smp_mflags} |
---|
96 | |
---|
97 | |
---|
98 | %install |
---|
99 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
100 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
101 | |
---|
102 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
103 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
104 | |
---|
105 | |
---|
106 | %clean |
---|
107 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
108 | |
---|
109 | %post -p /sbin/ldconfig |
---|
110 | |
---|
111 | %postun -p /sbin/ldconfig |
---|
112 | |
---|
113 | %post icu -p /sbin/ldconfig |
---|
114 | |
---|
115 | %postun icu -p /sbin/ldconfig |
---|
116 | |
---|
117 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
118 | |
---|
119 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
120 | |
---|
121 | |
---|
122 | %files |
---|
123 | %defattr(-,root,root,-) |
---|
124 | %license COPYING |
---|
125 | %doc ChangeLog NEWS README |
---|
126 | %{_bindir}/hb-ot-shape-closure |
---|
127 | %{_bindir}/hb-shape |
---|
128 | %{_bindir}/hb-subset |
---|
129 | %{_bindir}/hb-view |
---|
130 | %{_libdir}/libharfbuzz.so.* |
---|
131 | %{_libdir}/libharfbuzz-gobject.so.* |
---|
132 | %{_libdir}/libharfbuzz-subset.so.* |
---|
133 | |
---|
134 | %files devel |
---|
135 | %defattr(-,root,root,-) |
---|
136 | %{_includedir}/%{name} |
---|
137 | %{_libdir}/cmake/harfbuzz |
---|
138 | %{_libdir}/libharfbuzz*.so |
---|
139 | %{_libdir}/pkgconfig/%{name}*.pc |
---|
140 | |
---|
141 | %files icu |
---|
142 | %defattr(-,root,root,-) |
---|
143 | %{_libdir}/libharfbuzz-icu.so.* |
---|
144 | |
---|
145 | %files docs |
---|
146 | %defattr(-,root,root,-) |
---|
147 | %{_datadir}/gtk-doc/html/%{name} |
---|
148 | |
---|
149 | %if %{build_compat32} |
---|
150 | %files -n compat32-%{name} |
---|
151 | %defattr(-, root, root,-) |
---|
152 | %{_libdir}/libharfbuzz*.so.* |
---|
153 | |
---|
154 | %files -n compat32-%{name}-devel |
---|
155 | %defattr(-, root, root,-) |
---|
156 | %{_libdir}/libharfbuzz*.so |
---|
157 | %endif |
---|
158 | |
---|
159 | |
---|
160 | %changelog |
---|
161 | * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-2 |
---|
162 | - built with icu-67. |
---|
163 | |
---|
164 | * Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-1 |
---|
165 | - new upstream release. |
---|
166 | - built with icu-66. |
---|
167 | |
---|
168 | * Sun Oct 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.2-1 |
---|
169 | - new upstream release. |
---|
170 | - built with icu-65. |
---|
171 | |
---|
172 | * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-2 |
---|
173 | - rebuilt with libicu-60.2. |
---|
174 | |
---|
175 | * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-1 |
---|
176 | - new upstream release. |
---|
177 | |
---|
178 | * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.7-1 |
---|
179 | - new upstream release. |
---|
180 | |
---|
181 | * Thu Oct 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.6-1 |
---|
182 | - new upstream release |
---|
183 | |
---|
184 | * Mon Apr 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.40-1 |
---|
185 | - new upstream release |
---|
186 | |
---|
187 | * Sat Nov 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.36-1 |
---|
188 | - new upstream release |
---|
189 | - moved icu subpackage to System Environment/Libraries Group |
---|
190 | |
---|
191 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.35-1 |
---|
192 | - new upstream release |
---|
193 | |
---|
194 | * Fri Mar 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.27-1 |
---|
195 | - new upstream release |
---|
196 | |
---|
197 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.25-1 |
---|
198 | - new upstream release |
---|
199 | |
---|
200 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.21-1 |
---|
201 | - new upstream release |
---|
202 | - add BuildRequires: libicu-devel |
---|
203 | - add icu, icu-devel, and docs subpackages |
---|
204 | |
---|
205 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.14-1 |
---|
206 | - new upstream release |
---|
207 | |
---|
208 | * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1 |
---|
209 | - new upstream release |
---|
210 | |
---|
211 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1 |
---|
212 | - new upstream release |
---|
213 | |
---|
214 | * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1 |
---|
215 | - initial build |
---|
216 | |
---|