[6890] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: Text shaping library |
---|
| 4 | Name: harfbuzz |
---|
[12344] | 5 | Version: 2.6.4 |
---|
[12386] | 6 | Release: 2%{?_dist_release} |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | Vendor: Project Vine |
---|
| 9 | Distribution: Vine Linux |
---|
| 10 | |
---|
[6890] | 11 | License: MIT |
---|
| 12 | URL: http://www.freedesktop.org/wiki/Software/HarfBuzz |
---|
[12263] | 13 | Source0: https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.xz |
---|
[9123] | 14 | |
---|
[6890] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9123] | 16 | BuildRequires: glib2-devel |
---|
| 17 | BuildRequires: cairo-devel |
---|
| 18 | BuildRequires: freetype2-devel |
---|
| 19 | BuildRequires: libicu-devel |
---|
[6890] | 20 | |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | HarfBuzz is an OpenType text shaping engine. |
---|
| 24 | |
---|
| 25 | |
---|
[9123] | 26 | %package devel |
---|
[6890] | 27 | Summary: Development tools for %{name} |
---|
| 28 | Summary(ja): %{name} の開発環境 |
---|
| 29 | Group: Development/Libraries |
---|
| 30 | Requires: %{name} = %{version}-%{release} |
---|
[12263] | 31 | Requires: %{name}-icu = %{version}-%{release} |
---|
[6890] | 32 | Requires: pkgconfig |
---|
[12263] | 33 | Requires: libicu-devel |
---|
| 34 | Provides: %{name}-icu-devel = %{version}-%{release} |
---|
| 35 | Obsoletes: %{name}-icu-devel < 2.0.0 |
---|
[6890] | 36 | |
---|
| 37 | %description devel |
---|
| 38 | Header files and libraries for building a extension library for the |
---|
| 39 | %{name}. |
---|
| 40 | |
---|
| 41 | |
---|
[7938] | 42 | %package icu |
---|
| 43 | Summary: ICU library for %{name} |
---|
| 44 | Summary(ja): %{name} 用 ICU ライブラリ |
---|
[12263] | 45 | Group: System Environment/Libraries |
---|
[7938] | 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 | |
---|
[6890] | 63 | # compat32 |
---|
| 64 | %package -n compat32-%{name} |
---|
[9123] | 65 | Summary: Text shaping library |
---|
[6890] | 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 \ |
---|
[12263] | 92 | --with-gobject \ |
---|
[6890] | 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 | |
---|
[7938] | 113 | %post icu -p /sbin/ldconfig |
---|
[6890] | 114 | |
---|
[7938] | 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 | |
---|
[6890] | 122 | %files |
---|
| 123 | %defattr(-,root,root,-) |
---|
[12263] | 124 | %license COPYING |
---|
| 125 | %doc ChangeLog NEWS README |
---|
[6890] | 126 | %{_bindir}/hb-ot-shape-closure |
---|
| 127 | %{_bindir}/hb-shape |
---|
[12263] | 128 | %{_bindir}/hb-subset |
---|
[6890] | 129 | %{_bindir}/hb-view |
---|
| 130 | %{_libdir}/libharfbuzz.so.* |
---|
[12263] | 131 | %{_libdir}/libharfbuzz-gobject.so.* |
---|
| 132 | %{_libdir}/libharfbuzz-subset.so.* |
---|
[6890] | 133 | |
---|
| 134 | %files devel |
---|
| 135 | %defattr(-,root,root,-) |
---|
| 136 | %{_includedir}/%{name} |
---|
[12263] | 137 | %{_libdir}/cmake/harfbuzz |
---|
| 138 | %{_libdir}/libharfbuzz*.so |
---|
| 139 | %{_libdir}/pkgconfig/%{name}*.pc |
---|
[6890] | 140 | |
---|
[7938] | 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 | |
---|
[6890] | 149 | %if %{build_compat32} |
---|
| 150 | %files -n compat32-%{name} |
---|
| 151 | %defattr(-, root, root,-) |
---|
[12263] | 152 | %{_libdir}/libharfbuzz*.so.* |
---|
[6890] | 153 | |
---|
| 154 | %files -n compat32-%{name}-devel |
---|
| 155 | %defattr(-, root, root,-) |
---|
[12263] | 156 | %{_libdir}/libharfbuzz*.so |
---|
[6890] | 157 | %endif |
---|
| 158 | |
---|
| 159 | |
---|
| 160 | %changelog |
---|
[12386] | 161 | * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.6.4-2 |
---|
| 162 | - built with icu-67. |
---|
| 163 | |
---|
[12344] | 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 | |
---|
[12263] | 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 | |
---|
[11366] | 172 | * Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-2 |
---|
| 173 | - rebuilt with libicu-60.2. |
---|
| 174 | |
---|
[11340] | 175 | * Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.4-1 |
---|
| 176 | - new upstream release. |
---|
| 177 | |
---|
[10496] | 178 | * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.7-1 |
---|
| 179 | - new upstream release. |
---|
| 180 | |
---|
[9791] | 181 | * Thu Oct 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.6-1 |
---|
| 182 | - new upstream release |
---|
| 183 | |
---|
[9506] | 184 | * Mon Apr 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.40-1 |
---|
| 185 | - new upstream release |
---|
| 186 | |
---|
[9123] | 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 | |
---|
[9073] | 191 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.35-1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
[8353] | 194 | * Fri Mar 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.27-1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
[8084] | 197 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.25-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
[7938] | 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 | |
---|
[7633] | 205 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.14-1 |
---|
| 206 | - new upstream release |
---|
| 207 | |
---|
[7294] | 208 | * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1 |
---|
| 209 | - new upstream release |
---|
| 210 | |
---|
[7119] | 211 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1 |
---|
| 212 | - new upstream release |
---|
| 213 | |
---|
[6890] | 214 | * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1 |
---|
| 215 | - initial build |
---|
| 216 | |
---|