SHA256
1
0
forked from pool/harfbuzz
harfbuzz/harfbuzz.spec
Dominique Leuenberger fae778baa5 Accepting request 227682 from home:mgorse:branches:GNOME:Factory
- Update to version 0.9.27: 
  + Don't use "register" storage class specifier
  + Wrap definition of free_langs() with HAVE_ATEXIT
  + Add coretext_aat shaper and hb_coretext_face_create()
    constructor
  + If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
  + Only do fallback Hebrew composition if no GPOS 'mark' available
  + Allow bootstrapping without gtk-doc
  + Use AM_MISSING_PROG for ragel and git
  + Typo in ucdn's Makefile.am
  + Improve MemoryBarrier() implementation

OBS-URL: https://build.opensuse.org/request/show/227682
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=45
2014-04-02 10:55:49 +00:00

121 lines
3.3 KiB
RPMSpec

#
# spec file for package harfbuzz
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: harfbuzz
Version: 0.9.27
Release: 0
Summary: An OpenType text shaping engine
License: MIT
Group: Productivity/Text/Utilities
Url: http://www.freedesktop.org/wiki/Software/HarfBuzz
Source: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
BuildRequires: gcc-c++
BuildRequires: pkgconfig(cairo) >= 1.8.0
BuildRequires: pkgconfig(cairo-ft)
BuildRequires: pkgconfig(freetype2) >= 2.3.8
BuildRequires: pkgconfig(glib-2.0) >= 2.16
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(graphite2)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(icu-le)
BuildRequires: pkgconfig(icu-uc)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
HarfBuzz is an OpenType text shaping engine.
%package -n libharfbuzz0
Summary: An OpenType text shaping engine
Group: System/Libraries
%description -n libharfbuzz0
HarfBuzz is an OpenType text shaping engine.
%package -n libharfbuzz-icu0
Summary: An OpenType text shaping engine - ICU library
Group: System/Libraries
%description -n libharfbuzz-icu0
HarfBuzz is an OpenType text shaping engine.
%package tools
Summary: An OpenType text shaping engine -- Tools
Group: Productivity/Text/Utilities
%description tools
HarfBuzz is an OpenType text shaping engine.
%package devel
Summary: An OpenType text shaping engine -- Development Files
Group: Development/Libraries/C and C++
Requires: libharfbuzz-icu0 = %{version}
Requires: libharfbuzz0 = %{version}
%description devel
HarfBuzz is an OpenType text shaping engine.
%prep
%setup -q
%build
%configure \
--disable-static \
--with-glib \
--with-freetype \
--with-cairo \
--with-icu \
--with-graphite2
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libharfbuzz0 -p /sbin/ldconfig
%post -n libharfbuzz-icu0 -p /sbin/ldconfig
%postun -n libharfbuzz0 -p /sbin/ldconfig
%postun -n libharfbuzz-icu0 -p /sbin/ldconfig
%files -n libharfbuzz0
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README THANKS
%{_libdir}/libharfbuzz.so.0*
%files -n libharfbuzz-icu0
%defattr(-,root,root)
%{_libdir}/libharfbuzz-icu.so.0*
%files tools
%defattr(-,root,root)
%{_bindir}/hb-ot-shape-closure
%{_bindir}/hb-shape
%{_bindir}/hb-view
%files devel
%defattr(-,root,root)
%docdir %{_datadir}/gtk-doc
%{_datadir}/gtk-doc/html/harfbuzz/
%{_includedir}/harfbuzz/
%{_libdir}/*.so
%{_libdir}/pkgconfig/harfbuzz.pc
%{_libdir}/pkgconfig/harfbuzz-icu.pc
%changelog