X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=harfbuzz.spec;h=2fad7843a8aed04c984199af55fe057880c67726;hb=16fffe4d9186fecf15a13272685df0b2ce48378a;hp=b6d2f4fe8e6b8d545a71695692db885a338cc64b;hpb=8758a2c63897bed395d6f0971f9bdd9d3bdd0473;p=packages%2Fharfbuzz.git diff --git a/harfbuzz.spec b/harfbuzz.spec index b6d2f4f..2fad784 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -1,25 +1,30 @@ # # 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.9 +Version: 0.9.26 Release: 1 License: MIT Group: Libraries Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2 -# Source0-md5: e901ffe556d706b7d43b272f83be7f09 +# Source0-md5: a2b6cbd437f22dd5dc93d377696c9204 URL: http://www.freedesktop.org/wiki/HarfBuzz BuildRequires: cairo-devel >= 1.8.0 BuildRequires: freetype-devel >= 2.3.8 -BuildRequires: graphite2-devel BuildRequires: glib2-devel >= 1:2.16 -BuildRequires: libicu-devel +BuildRequires: gobject-introspection-devel >= 1.32.0 +%{?with_graphite2:BuildRequires: graphite2-devel} +BuildRequires: gtk-doc >= 1.15 +%{?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 +42,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 @@ -59,31 +63,76 @@ Static HarfBuzz library. %description static -l pl.UTF-8 Statyczna biblioteka 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. + %package apidocs Summary: HarfBuzz API documentation -Summary(pl.UTF-8): Dokumentacja API biblioteki HarfBuzz +Summary(pl.UTF-8): Dokumentacja API bibliotek HarfBuzz Group: Documentation %description apidocs -API and internal documentation for HarfBuzz library. +API documentation for HarfBuzz libraries. %description apidocs -l pl.UTF-8 -Dokumentacja API biblioteki HarfBuzz. +Dokumentacja API bibliotek HarfBuzz. %prep %setup -q +# missing dependencies +cat >> src/harfbuzz.pc.in <> harfbuzz.pc <