2007-01-05 15:49:43 +00:00
|
|
|
#
|
2011-03-01 09:13:14 +00:00
|
|
|
# spec file for package pango
|
2007-01-05 15:49:43 +00:00
|
|
|
#
|
2021-01-22 18:15:49 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-01-05 15:49:43 +00:00
|
|
|
#
|
2008-08-28 19:52:06 +00: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.
|
|
|
|
|
2019-04-18 13:35:31 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-05 15:49:43 +00:00
|
|
|
#
|
|
|
|
|
2012-03-28 06:05:24 +00:00
|
|
|
|
2007-01-05 15:49:43 +00:00
|
|
|
Name: pango
|
2021-04-22 07:43:34 +00:00
|
|
|
Version: 1.48.4
|
2011-12-21 04:15:11 +00:00
|
|
|
Release: 0
|
2011-03-01 08:00:04 +00:00
|
|
|
Summary: Library for Layout and Rendering of Text
|
2018-03-09 10:00:50 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2018-03-12 10:47:28 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-10-04 15:54:30 +00:00
|
|
|
URL: https://pango.gnome.org/
|
2019-10-14 19:09:10 +00:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2011-03-01 08:00:04 +00:00
|
|
|
Source2: macros.pango
|
|
|
|
Source99: baselibs.conf
|
2019-10-04 15:54:30 +00:00
|
|
|
|
2008-10-06 15:20:31 +00:00
|
|
|
BuildRequires: gcc-c++
|
2017-08-22 08:40:24 +00:00
|
|
|
BuildRequires: help2man
|
2021-01-22 18:15:49 +00:00
|
|
|
BuildRequires: meson >= 0.55.3
|
2017-08-22 08:40:24 +00:00
|
|
|
BuildRequires: pkgconfig
|
2013-06-23 14:14:18 +00:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.12.10
|
2018-03-09 10:00:50 +00:00
|
|
|
BuildRequires: pkgconfig(fontconfig) >= 2.11.91
|
2010-08-07 09:37:03 +00:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2018-03-09 10:00:50 +00:00
|
|
|
BuildRequires: pkgconfig(fribidi) >= 0.19.7
|
2021-01-22 18:15:49 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.62
|
2019-09-04 09:07:08 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.59.2
|
2010-08-07 09:37:03 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2019-09-04 09:07:08 +00:00
|
|
|
BuildRequires: pkgconfig(harfbuzz) >= 2.0
|
2011-11-23 11:22:51 +00:00
|
|
|
BuildRequires: pkgconfig(libthai) >= 0.1.9
|
2012-09-27 15:08:43 +00:00
|
|
|
BuildRequires: pkgconfig(xft) >= 2.0.0
|
2010-08-07 09:37:03 +00:00
|
|
|
BuildRequires: pkgconfig(xrender)
|
2011-03-01 08:00:04 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Pango is a library for layout and rendering of text, with an emphasis
|
|
|
|
on internationalization. It can be used anywhere that text layout
|
|
|
|
is needed.
|
|
|
|
|
|
|
|
Pango forms the core of text and font handling for GTK+.
|
|
|
|
|
|
|
|
%package -n libpango-1_0-0
|
|
|
|
Summary: Library for Layout and Rendering of Text
|
2007-01-05 15:49:43 +00:00
|
|
|
Group: System/Libraries
|
2011-03-01 08:00:04 +00:00
|
|
|
Provides: %{name} = %{version}
|
2011-04-20 11:14:19 +00:00
|
|
|
Obsoletes: %{name} < %{version}
|
2016-08-04 13:03:55 +00:00
|
|
|
Obsoletes: pango-modules < %{version}
|
|
|
|
Provides: pango-modules = %{version}
|
2009-01-09 00:43:59 +00:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: pango-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-05 15:49:43 +00:00
|
|
|
|
2011-03-01 08:00:04 +00:00
|
|
|
%description -n libpango-1_0-0
|
2007-01-05 15:49:43 +00:00
|
|
|
Pango is a library for layout and rendering of text, with an emphasis
|
2011-03-01 08:00:04 +00:00
|
|
|
on internationalization. It can be used anywhere that text layout
|
|
|
|
is needed.
|
2010-10-12 21:23:11 +00:00
|
|
|
|
2011-03-01 08:00:04 +00:00
|
|
|
Pango forms the core of text and font handling for GTK+.
|
2010-10-12 21:23:11 +00:00
|
|
|
|
2011-12-12 15:47:09 +00:00
|
|
|
%package -n typelib-1_0-Pango-1_0
|
2018-03-12 10:47:28 +00:00
|
|
|
Summary: Introspection bindings for pango, a library for text layout and rendering
|
2011-12-12 15:47:09 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Pango-1_0
|
|
|
|
Pango is a library for layout and rendering of text, with an emphasis
|
|
|
|
on internationalization. It can be used anywhere that text layout
|
|
|
|
is needed.
|
|
|
|
|
|
|
|
Pango forms the core of text and font handling for GTK+.
|
|
|
|
|
2011-12-21 04:15:11 +00:00
|
|
|
This package provides the GObject Introspection bindings for Pango.
|
|
|
|
|
2011-03-01 08:00:04 +00:00
|
|
|
%package tools
|
2018-03-12 10:47:28 +00:00
|
|
|
Summary: Tools for pango, a library for text layout and rendering
|
2011-03-01 08:00:04 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Pango is a library for layout and rendering of text, with an emphasis
|
|
|
|
on internationalization. It can be used anywhere that text layout
|
|
|
|
is needed.
|
2010-10-12 21:23:11 +00:00
|
|
|
|
2011-03-01 08:00:04 +00:00
|
|
|
Pango forms the core of text and font handling for GTK+.
|
2008-05-21 23:40:29 +00:00
|
|
|
|
2007-01-05 15:49:43 +00:00
|
|
|
%package devel
|
2018-03-12 10:47:28 +00:00
|
|
|
Summary: Development files for pango, a library for text layout and rendering
|
2007-01-05 15:49:43 +00:00
|
|
|
Group: Development/Libraries/GNOME
|
2012-09-07 17:02:21 +00:00
|
|
|
Requires: libpango-1_0-0 = %{version}
|
|
|
|
Requires: typelib-1_0-Pango-1_0 = %{version}
|
2017-08-31 15:16:22 +00:00
|
|
|
Provides: pango-doc = %{version}
|
|
|
|
Obsoletes: pango-doc < %{version}
|
2009-01-09 00:43:59 +00:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
2012-09-07 17:04:36 +00:00
|
|
|
Obsoletes: pango-devel-64bit
|
2009-01-09 00:43:59 +00:00
|
|
|
%endif
|
2007-01-05 15:49:43 +00:00
|
|
|
|
|
|
|
%description devel
|
2011-03-01 08:00:04 +00:00
|
|
|
Pango is a library for layout and rendering of text, with an emphasis
|
|
|
|
on internationalization. It can be used anywhere that text layout
|
|
|
|
is needed.
|
2010-10-15 10:43:47 +00:00
|
|
|
|
2011-03-01 08:00:04 +00:00
|
|
|
Pango forms the core of text and font handling for GTK+.
|
2010-10-15 10:43:47 +00:00
|
|
|
|
2011-03-01 08:00:04 +00:00
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
2010-10-15 10:43:47 +00:00
|
|
|
|
2007-01-05 15:49:43 +00:00
|
|
|
%prep
|
2019-10-04 15:54:30 +00:00
|
|
|
%autosetup -p1
|
2007-01-05 15:49:43 +00:00
|
|
|
|
|
|
|
%build
|
2017-08-22 08:40:24 +00:00
|
|
|
%meson \
|
2020-11-09 19:33:54 +00:00
|
|
|
-Dintrospection=enabled \
|
2019-10-04 15:54:30 +00:00
|
|
|
-Dinstall-tests=false \
|
2018-04-25 11:59:41 +00:00
|
|
|
%{nil}
|
2017-08-22 08:40:24 +00:00
|
|
|
%meson_build
|
2007-01-05 15:49:43 +00:00
|
|
|
|
|
|
|
%install
|
2017-08-22 08:40:24 +00:00
|
|
|
%meson_install
|
2019-10-04 15:54:30 +00:00
|
|
|
|
2011-03-01 08:00:04 +00:00
|
|
|
# Install rpm macros
|
2019-05-10 10:22:18 +00:00
|
|
|
mkdir -p %{buildroot}%_rpmmacrodir
|
|
|
|
cp %{SOURCE2} %{buildroot}%_rpmmacrodir
|
2007-01-05 15:49:43 +00:00
|
|
|
|
2015-09-04 11:29:41 +00:00
|
|
|
%post -n libpango-1_0-0 -p /sbin/ldconfig
|
2011-03-01 08:00:04 +00:00
|
|
|
%postun -n libpango-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libpango-1_0-0
|
2017-08-22 08:40:24 +00:00
|
|
|
%license COPYING
|
2019-04-18 13:35:31 +00:00
|
|
|
%doc NEWS README.md
|
2019-10-04 15:54:30 +00:00
|
|
|
%{_libdir}/libpango-1.0.so.*
|
|
|
|
%{_libdir}/libpangocairo-1.0.so.*
|
|
|
|
%{_libdir}/libpangoft2-1.0.so.*
|
|
|
|
%{_libdir}/libpangoxft-1.0.so.*
|
2007-01-05 15:49:43 +00:00
|
|
|
|
2011-12-12 15:47:09 +00:00
|
|
|
%files -n typelib-1_0-Pango-1_0
|
|
|
|
%{_libdir}/girepository-1.0/Pango-1.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/PangoCairo-1.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/PangoFT2-1.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/PangoXft-1.0.typelib
|
2019-09-04 09:07:08 +00:00
|
|
|
%{_libdir}/girepository-1.0/PangoFc-1.0.typelib
|
|
|
|
%{_libdir}/girepository-1.0/PangoOT-1.0.typelib
|
2011-12-12 15:47:09 +00:00
|
|
|
|
2011-03-01 08:00:04 +00:00
|
|
|
%files tools
|
2018-07-22 18:58:44 +00:00
|
|
|
%{_bindir}/pango-list
|
2011-03-01 08:00:04 +00:00
|
|
|
%{_bindir}/pango-view
|
2017-08-31 15:16:22 +00:00
|
|
|
%{_mandir}/man1/pango-view.1%{ext_man}
|
2011-03-01 08:00:04 +00:00
|
|
|
|
2007-01-05 15:49:43 +00:00
|
|
|
%files devel
|
2019-04-18 13:35:31 +00:00
|
|
|
%doc CODING_STYLE.md THANKS
|
2019-05-10 10:22:18 +00:00
|
|
|
%_rpmmacrodir/macros.pango
|
2019-10-04 15:54:30 +00:00
|
|
|
%{_includedir}/pango-1.0/
|
|
|
|
%{_libdir}/libpango-1.0.so
|
|
|
|
%{_libdir}/libpangocairo-1.0.so
|
|
|
|
%{_libdir}/libpangoft2-1.0.so
|
2021-03-18 09:15:51 +00:00
|
|
|
%{_libdir}/libpangoxft-1.0.so
|
2019-10-04 15:54:30 +00:00
|
|
|
%{_libdir}/pkgconfig/pango.pc
|
|
|
|
%{_libdir}/pkgconfig/pangocairo.pc
|
|
|
|
%{_libdir}/pkgconfig/pangoft2.pc
|
|
|
|
%{_libdir}/pkgconfig/pangoxft.pc
|
2020-08-24 13:36:01 +00:00
|
|
|
%{_libdir}/pkgconfig/pangofc.pc
|
|
|
|
%{_libdir}/pkgconfig/pangoot.pc
|
2019-10-04 15:54:30 +00:00
|
|
|
%{_datadir}/gir-1.0/Pango-1.0.gir
|
|
|
|
%{_datadir}/gir-1.0/PangoCairo-1.0.gir
|
|
|
|
%{_datadir}/gir-1.0/PangoFT2-1.0.gir
|
|
|
|
%{_datadir}/gir-1.0/PangoFc-1.0.gir
|
|
|
|
%{_datadir}/gir-1.0/PangoOT-1.0.gir
|
|
|
|
%{_datadir}/gir-1.0/PangoXft-1.0.gir
|
2007-12-18 17:54:24 +00:00
|
|
|
|
2007-02-19 22:39:03 +00:00
|
|
|
%changelog
|