1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Summary: Text shaping library |
---|
4 | Name: harfbuzz |
---|
5 | Version: 0.9.9 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}/%{name}-%{version}.tar.bz2 |
---|
8 | License: MIT |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://www.freedesktop.org/wiki/Software/HarfBuzz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | Packager: Takemikaduchi |
---|
17 | |
---|
18 | BuildRequires: glib2-devel |
---|
19 | BuildRequires: cairo-devel |
---|
20 | BuildRequires: freetype2-devel |
---|
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: pkgconfig |
---|
33 | |
---|
34 | %description devel |
---|
35 | Header files and libraries for building a extension library for the |
---|
36 | %{name}. |
---|
37 | |
---|
38 | |
---|
39 | # compat32 |
---|
40 | %package -n compat32-%{name} |
---|
41 | Summary: A set of Thai language support routines |
---|
42 | Group: System Environment/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | |
---|
45 | %description -n compat32-%{name} |
---|
46 | HarfBuzz is an OpenType text shaping engine. |
---|
47 | |
---|
48 | |
---|
49 | %package -n compat32-%{name}-devel |
---|
50 | Summary: Development tools for %{name} |
---|
51 | Summary(ja): %{name} の開発環境 |
---|
52 | Group: Development/Libraries |
---|
53 | Requires: compat32-%{name} = %{version}-%{release} |
---|
54 | Requires: pkgconfig |
---|
55 | |
---|
56 | %description -n compat32-%{name}-devel |
---|
57 | Header files and libraries for building a extension library for the |
---|
58 | %{name}. |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | %prep |
---|
63 | %setup -q |
---|
64 | |
---|
65 | |
---|
66 | %build |
---|
67 | %configure \ |
---|
68 | --disable-static |
---|
69 | |
---|
70 | %{__make} %{?_smp_mflags} |
---|
71 | |
---|
72 | |
---|
73 | %install |
---|
74 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
75 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
76 | |
---|
77 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
78 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
79 | |
---|
80 | |
---|
81 | %clean |
---|
82 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
83 | |
---|
84 | %post -p /sbin/ldconfig |
---|
85 | |
---|
86 | %postun -p /sbin/ldconfig |
---|
87 | |
---|
88 | |
---|
89 | %files |
---|
90 | %defattr(-,root,root,-) |
---|
91 | %doc COPYING ChangeLog NEWS README |
---|
92 | %{_bindir}/hb-ot-shape-closure |
---|
93 | %{_bindir}/hb-shape |
---|
94 | %{_bindir}/hb-view |
---|
95 | %{_libdir}/libharfbuzz.so.* |
---|
96 | |
---|
97 | %files devel |
---|
98 | %defattr(-,root,root,-) |
---|
99 | %{_includedir}/%{name} |
---|
100 | %{_libdir}/libharfbuzz.so |
---|
101 | %{_libdir}/pkgconfig/%{name}.pc |
---|
102 | |
---|
103 | %if %{build_compat32} |
---|
104 | %files -n compat32-%{name} |
---|
105 | %defattr(-, root, root,-) |
---|
106 | %{_libdir}/libharfbuzz.so.* |
---|
107 | |
---|
108 | %files -n compat32-%{name}-devel |
---|
109 | %defattr(-, root, root,-) |
---|
110 | %{_libdir}/libharfbuzz.so |
---|
111 | %endif |
---|
112 | |
---|
113 | |
---|
114 | %changelog |
---|
115 | * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1 |
---|
122 | - initial build |
---|
123 | |
---|