From: Jakub Bogusz Date: Thu, 6 Jun 2013 06:30:24 +0000 (+0200) Subject: - updated to 0.9.18 X-Git-Tag: auto/th/harfbuzz-0.9.18-1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=d18130a6f33ace1587835d4b0a419d34255a50cf;p=packages%2Fharfbuzz.git - updated to 0.9.18 - icu integration (now built as separate library) moved to subpackages --- diff --git a/harfbuzz.spec b/harfbuzz.spec index afd5309..16da479 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -1,25 +1,28 @@ # # Conditional build: -%bcond_without static_libs # don't build static libraries +%bcond_without static_libs # static libraries build +%bcond_without graphite2 # Graphite2 library usage +%bcond_without icu # ICU integration # Summary: HarfBuzz - internationalized text shaping library Summary(pl.UTF-8): HarfBuzz - biblioteka rysująca tekst z obsługą wielu języków Name: harfbuzz -Version: 0.9.17 +Version: 0.9.18 Release: 1 License: MIT Group: Libraries Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2 -# Source0-md5: c48827713e93539dc7285f9e86ffbdc5 +# Source0-md5: 0bff05fafef4894031b2b64a65ac1899 URL: http://www.freedesktop.org/wiki/HarfBuzz BuildRequires: cairo-devel >= 1.8.0 BuildRequires: freetype-devel >= 2.3.8 BuildRequires: glib2-devel >= 1:2.16 -BuildRequires: graphite2-devel -BuildRequires: libicu-devel +%{?with_graphite2:BuildRequires: graphite2-devel} +%{?with_icu:BuildRequires: libicu-devel} BuildRequires: libstdc++-devel BuildRequires: pkgconfig >= 1:0.20 Requires: cairo >= 1.8.0 +Requires: freetype >= 2.3.8 Requires: glib2 >= 1:2.16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -37,8 +40,7 @@ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: freetype-devel >= 2.3.8 Requires: glib2-devel >= 1:2.16 -Requires: graphite2-devel -Requires: libicu-devel +%{?with_graphite2:Requires: graphite2-devel} Requires: libstdc++-devel %description devel @@ -70,26 +72,67 @@ API and internal documentation for HarfBuzz library. %description apidocs -l pl.UTF-8 Dokumentacja API biblioteki HarfBuzz. +%package icu +Summary: HarfBuzz text shaping library - ICU integration +Summary(pl.UTF-8): Biblioteka HarfBuzz do rysowania tekstu - integracja z ICU +Group: Libraries +Requires: %{name} = %{version}-%{release} + +%description icu +HarfBuzz text shaping library - ICU integration. + +%description icu -l pl.UTF-8 +Biblioteka HarfBuzz do rysowania tekstu - integracja z ICU. + +%package icu-devel +Summary: Header file for HarfBuzz ICU library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki HarfBuzz ICU +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-icu = %{version}-%{release} +Requires: libicu-devel + +%description icu-devel +Header file for HarfBuzz ICU library. + +%description icu-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki HarfBuzz ICU. + +%package icu-static +Summary: Static HarfBuzz ICU library +Summary(pl.UTF-8): Biblioteka statyczna HarfBuzz ICU +Group: Development/Libraries +Requires: %{name}-icu-devel = %{version}-%{release} + +%description icu-static +Static HarfBuzz ICU library. + +%description icu-static -l pl.UTF-8 +Biblioteka statyczna HarfBuzz ICU. + %prep %setup -q +# missing dependencies +cat >> src/harfbuzz.pc.in <> harfbuzz.pc <