X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=harfbuzz.spec;h=28cb98a2bdf2e3d0443c82dd95f93550e0935457;hb=9d136b7ae37e4c038cd22fbec11388c85ccfbc66;hp=6d156b363b19cc878b5242323760f43eed5b3375;hpb=ff0b194c25277909e031f70ad1f49d2b4f1e68cc;p=packages%2Fharfbuzz.git diff --git a/harfbuzz.spec b/harfbuzz.spec index 6d156b3..28cb98a 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -3,33 +3,40 @@ %bcond_without static_libs # static libraries build %bcond_without graphite2 # Graphite2 library usage %bcond_without icu # ICU integration -%bcond_without tests # "make check" call +%bcond_with tests # "make check" call (cmap14 test fails as of 2.6.2 +otsanitizer-8.0.0 +fonttools-3.44.0) 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.38 +Version: 2.6.8 Release: 2 License: MIT Group: Libraries -Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2 -# Source0-md5: 8839e574be8089c0de83768798bf7916 -URL: http://www.freedesktop.org/wiki/HarfBuzz +Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/%{name}-%{version}.tar.xz +# Source0-md5: c8d4f2aeed6e576bd42f9dc6def1b1ae +URL: https://harfbuzz.github.io/ BuildRequires: autoconf >= 2.64 -BuildRequires: automake >= 1:1.11.1 +BuildRequires: automake >= 1:1.13.0 BuildRequires: cairo-devel >= 1.8.0 -BuildRequires: freetype-devel >= 1:2.3.8 -BuildRequires: glib2-devel >= 1:2.16 +# hb-fc-list is disabled in util/Makefile.am +#BuildRequires: fontconfig-devel +%{?with_tests:BuildRequires: fonttools} +BuildRequires: freetype-devel >= 1:2.9 +BuildRequires: glib2-devel >= 1:2.38 BuildRequires: gobject-introspection-devel >= 1.34.0 -%{?with_graphite2:BuildRequires: graphite2-devel} +%{?with_graphite2:BuildRequires: graphite2-devel >= 1.2.0} BuildRequires: gtk-doc >= 1.15 %{?with_icu:BuildRequires: libicu-devel} -BuildRequires: libstdc++-devel +BuildRequires: libstdc++-devel >= 6:4.9 BuildRequires: libtool >= 2:2.2 -BuildRequires: pkgconfig >= 1:0.20 +%{?with_tests:BuildRequires: otsanitizer >= 8} +BuildRequires: pkgconfig >= 1:0.27 BuildRequires: sed >= 4.0 -Requires: freetype >= 1:2.3.8 -Requires: glib2 >= 1:2.16 +BuildRequires: tar >= 1:1.22 +BuildRequires: xz +Requires: freetype >= 1:2.9 +Requires: glib2 >= 1:2.38 +%{?with_graphite2:Requires: graphite2 >= 1.2.0} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -44,9 +51,9 @@ Summary: Header files for HarfBuzz library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki HarfBuzz Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: freetype-devel >= 1:2.3.8 -Requires: glib2-devel >= 1:2.16 -%{?with_graphite2:Requires: graphite2-devel} +Requires: freetype-devel >= 1:2.9 +Requires: glib2-devel >= 1:2.38 +%{?with_graphite2:Requires: graphite2-devel >= 1.2.0} Requires: libstdc++-devel %description devel @@ -85,7 +92,6 @@ Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do biblioteki Harfbuzz Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-gobject = %{version}-%{release} -Requires: glib2-devel >= 1:2.12.2 %description gobject-devel This is the package containing the header files for Harfbuzz GObject @@ -145,6 +151,43 @@ Static HarfBuzz ICU library. %description icu-static -l pl.UTF-8 Biblioteka statyczna HarfBuzz ICU. +%package subset +Summary: HarfBuzz text shaping library - font subsetter +Summary(pl.UTF-8): Biblioteka HarfBuzz do rysowania tekstu - font subsetter +Group: Libraries +Requires: %{name} = %{version}-%{release} + +%description subset +HarfBuzz text shaping library - font subsetter. + +%description subset -l pl.UTF-8 +Biblioteka HarfBuzz do rysowania tekstu - font subsetter. + +%package subset-devel +Summary: Header files for HarfBuzz subset library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki HarfBuzz subset +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-subset = %{version}-%{release} + +%description subset-devel +Header files for HarfBuzz subset library. + +%description subset-devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki HarfBuzz subset. + +%package subset-static +Summary: Static HarfBuzz subset library +Summary(pl.UTF-8): Biblioteka statyczna HarfBuzz subset +Group: Development/Libraries +Requires: %{name}-subset-devel = %{version}-%{release} + +%description subset-static +Static HarfBuzz subset library. + +%description subset-static -l pl.UTF-8 +Biblioteka statyczna HarfBuzz subset. + %package progs Summary: HarfBuzz command-line utilities Summary(pl.UTF-8): Narzędzia HarfBuzz uruchamiane z linii poleceń @@ -175,11 +218,6 @@ Dokumentacja API bibliotek HarfBuzz. %prep %setup -q -# missing dependencies -cat >> src/harfbuzz.pc.in <