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