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