2012-09-07 17:29:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package harfbuzz
|
|
|
|
#
|
2017-01-09 12:30:24 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-09-07 17:29:55 +02:00
|
|
|
#
|
|
|
|
# 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
|
2017-12-22 14:17:34 +01:00
|
|
|
Version: 1.7.4
|
2012-09-07 17:29:55 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: An OpenType text shaping engine
|
|
|
|
License: MIT
|
|
|
|
Group: Productivity/Text/Utilities
|
2017-10-30 17:15:46 +01:00
|
|
|
Url: https://www.freedesktop.org/wiki/Software/HarfBuzz
|
|
|
|
Source: https://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2
|
2012-09-07 17:29:55 +02:00
|
|
|
Source99: baselibs.conf
|
|
|
|
BuildRequires: gcc-c++
|
2015-04-13 09:41:08 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-09-07 17:29:55 +02:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.8.0
|
|
|
|
BuildRequires: pkgconfig(cairo-ft)
|
2015-05-18 11:50:35 +02:00
|
|
|
BuildRequires: pkgconfig(freetype2) >= 12.0.6
|
2017-10-30 17:15:46 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.19.1
|
2013-05-31 20:35:13 +02:00
|
|
|
BuildRequires: pkgconfig(graphite2)
|
2012-09-07 17:29:55 +02:00
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(icu-uc)
|
2016-02-22 17:57:56 +01:00
|
|
|
Conflicts: cantarell-fonts < 0.0.23
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2013-05-31 20:35:13 +02:00
|
|
|
%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.
|
2017-02-28 22:39:07 +01:00
|
|
|
This package contains the ICU library.
|
2013-05-31 20:35:13 +02:00
|
|
|
|
2012-09-07 17:29:55 +02:00
|
|
|
%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++
|
2013-05-31 20:35:13 +02:00
|
|
|
Requires: libharfbuzz-icu0 = %{version}
|
2012-09-07 17:29:55 +02:00
|
|
|
Requires: libharfbuzz0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
HarfBuzz is an OpenType text shaping engine.
|
2017-02-28 22:39:07 +01:00
|
|
|
This package contains the development files.
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%prep
|
2015-04-13 09:41:08 +02:00
|
|
|
%setup -q -n harfbuzz-%{version}
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2013-05-31 20:35:13 +02:00
|
|
|
--disable-static \
|
|
|
|
--with-glib \
|
|
|
|
--with-freetype \
|
|
|
|
--with-cairo \
|
|
|
|
--with-icu \
|
|
|
|
--with-graphite2
|
2012-09-07 17:29:55 +02:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2015-04-13 09:41:08 +02:00
|
|
|
|
2012-09-07 17:29:55 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
%post -n libharfbuzz0 -p /sbin/ldconfig
|
2015-04-13 09:41:08 +02:00
|
|
|
|
2013-09-07 15:21:56 +02:00
|
|
|
%post -n libharfbuzz-icu0 -p /sbin/ldconfig
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%postun -n libharfbuzz0 -p /sbin/ldconfig
|
2015-04-13 09:41:08 +02:00
|
|
|
|
2013-09-07 15:21:56 +02:00
|
|
|
%postun -n libharfbuzz-icu0 -p /sbin/ldconfig
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%files -n libharfbuzz0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING NEWS README THANKS
|
|
|
|
%{_libdir}/libharfbuzz.so.0*
|
|
|
|
|
2013-05-31 20:35:13 +02:00
|
|
|
%files -n libharfbuzz-icu0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libharfbuzz-icu.so.0*
|
|
|
|
|
2012-09-07 17:29:55 +02:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/hb-ot-shape-closure
|
|
|
|
%{_bindir}/hb-shape
|
|
|
|
%{_bindir}/hb-view
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/harfbuzz/
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/harfbuzz.pc
|
2015-04-13 09:41:08 +02:00
|
|
|
%docdir %{_datadir}/gtk-doc
|
|
|
|
%{_datadir}/gtk-doc/html/harfbuzz/
|
2013-05-31 20:35:13 +02:00
|
|
|
%{_libdir}/pkgconfig/harfbuzz-icu.pc
|
2012-09-07 17:29:55 +02:00
|
|
|
|
|
|
|
%changelog
|