2007-01-05 16:49:43 +01:00
|
|
|
#
|
2011-03-01 10:13:14 +01:00
|
|
|
# spec file for package pango
|
2007-01-05 16:49:43 +01:00
|
|
|
#
|
2019-04-18 15:35:31 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-05 16:49:43 +01:00
|
|
|
#
|
2008-08-28 21:52:06 +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.
|
|
|
|
|
2019-04-18 15:35:31 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-05 16:49:43 +01:00
|
|
|
#
|
|
|
|
|
2012-03-28 08:05:24 +02:00
|
|
|
|
2007-01-05 16:49:43 +01:00
|
|
|
Name: pango
|
2019-04-18 15:35:31 +02:00
|
|
|
Version: 1.43.0
|
2011-12-21 05:15:11 +01:00
|
|
|
Release: 0
|
2011-03-01 09:00:04 +01:00
|
|
|
Summary: Library for Layout and Rendering of Text
|
2018-03-09 11:00:50 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2018-03-12 11:47:28 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-13 09:20:19 +01:00
|
|
|
URL: http://www.pango.org/
|
2019-04-18 15:35:31 +02:00
|
|
|
Source0: https://download.gnome.org/sources/pango/1.43/%{name}-%{version}.tar.xz
|
2011-03-01 09:00:04 +01:00
|
|
|
Source2: macros.pango
|
|
|
|
Source99: baselibs.conf
|
2018-07-22 20:58:44 +02:00
|
|
|
|
2008-10-06 17:20:31 +02:00
|
|
|
BuildRequires: gcc-c++
|
2008-09-13 13:41:20 +02:00
|
|
|
BuildRequires: gtk-doc
|
2017-08-22 10:40:24 +02:00
|
|
|
BuildRequires: help2man
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig
|
2013-06-23 16:14:18 +02:00
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.12.10
|
2018-03-09 11:00:50 +01:00
|
|
|
BuildRequires: pkgconfig(fontconfig) >= 2.11.91
|
2010-08-07 11:37:03 +02:00
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2018-03-09 11:00:50 +01:00
|
|
|
BuildRequires: pkgconfig(fribidi) >= 0.19.7
|
2012-09-23 19:23:42 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.33.12
|
2018-03-09 11:00:50 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.33.12
|
2010-08-07 11:37:03 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2018-07-22 20:58:44 +02:00
|
|
|
BuildRequires: pkgconfig(harfbuzz) >= 1.4.2
|
2011-11-23 12:22:51 +01:00
|
|
|
BuildRequires: pkgconfig(libthai) >= 0.1.9
|
2012-09-27 17:08:43 +02:00
|
|
|
BuildRequires: pkgconfig(xft) >= 2.0.0
|
2010-08-07 11:37:03 +02:00
|
|
|
BuildRequires: pkgconfig(xrender)
|
2011-03-01 09:00:04 +01: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 16:49:43 +01:00
|
|
|
Group: System/Libraries
|
2011-03-01 09:00:04 +01:00
|
|
|
Provides: %{name} = %{version}
|
2011-04-20 13:14:19 +02:00
|
|
|
Obsoletes: %{name} < %{version}
|
2016-08-04 15:03:55 +02:00
|
|
|
Obsoletes: pango-modules < %{version}
|
|
|
|
Provides: pango-modules = %{version}
|
2009-01-09 01:43:59 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: pango-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-05 16:49:43 +01:00
|
|
|
|
2011-03-01 09:00:04 +01:00
|
|
|
%description -n libpango-1_0-0
|
2007-01-05 16:49:43 +01:00
|
|
|
Pango is a library for layout and rendering of text, with an emphasis
|
2011-03-01 09:00:04 +01:00
|
|
|
on internationalization. It can be used anywhere that text layout
|
|
|
|
is needed.
|
2010-10-12 23:23:11 +02:00
|
|
|
|
2011-03-01 09:00:04 +01:00
|
|
|
Pango forms the core of text and font handling for GTK+.
|
2010-10-12 23:23:11 +02:00
|
|
|
|
2011-12-12 16:47:09 +01:00
|
|
|
%package -n typelib-1_0-Pango-1_0
|
2018-03-12 11:47:28 +01:00
|
|
|
Summary: Introspection bindings for pango, a library for text layout and rendering
|
2011-12-12 16:47:09 +01: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 05:15:11 +01:00
|
|
|
This package provides the GObject Introspection bindings for Pango.
|
|
|
|
|
2011-03-01 09:00:04 +01:00
|
|
|
%package tools
|
2018-03-12 11:47:28 +01:00
|
|
|
Summary: Tools for pango, a library for text layout and rendering
|
2011-03-01 09:00:04 +01: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 23:23:11 +02:00
|
|
|
|
2011-03-01 09:00:04 +01:00
|
|
|
Pango forms the core of text and font handling for GTK+.
|
2008-05-22 01:40:29 +02:00
|
|
|
|
2007-01-05 16:49:43 +01:00
|
|
|
%package devel
|
2018-03-12 11:47:28 +01:00
|
|
|
Summary: Development files for pango, a library for text layout and rendering
|
2007-01-05 16:49:43 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2012-09-07 19:02:21 +02:00
|
|
|
Requires: libpango-1_0-0 = %{version}
|
|
|
|
Requires: typelib-1_0-Pango-1_0 = %{version}
|
2017-08-31 17:16:22 +02:00
|
|
|
Provides: pango-doc = %{version}
|
|
|
|
Obsoletes: pango-doc < %{version}
|
2009-01-09 01:43:59 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
2012-09-07 19:04:36 +02:00
|
|
|
Obsoletes: pango-devel-64bit
|
2009-01-09 01:43:59 +01:00
|
|
|
%endif
|
2007-01-05 16:49:43 +01:00
|
|
|
|
|
|
|
%description devel
|
2011-03-01 09:00:04 +01: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 12:43:47 +02:00
|
|
|
|
2011-03-01 09:00:04 +01:00
|
|
|
Pango forms the core of text and font handling for GTK+.
|
2010-10-15 12:43:47 +02:00
|
|
|
|
2011-03-01 09:00:04 +01:00
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
2010-10-15 12:43:47 +02:00
|
|
|
|
2007-01-05 16:49:43 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2017-08-22 10:40:24 +02:00
|
|
|
%meson \
|
2018-04-25 13:59:41 +02:00
|
|
|
-Denable_docs=true \
|
|
|
|
-Dgir=true \
|
|
|
|
%{nil}
|
2017-08-22 10:40:24 +02:00
|
|
|
%meson_build
|
2007-01-05 16:49:43 +01:00
|
|
|
|
|
|
|
%install
|
2017-08-22 10:40:24 +02:00
|
|
|
%meson_install
|
2011-03-01 09:00:04 +01:00
|
|
|
# Install rpm macros
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
2012-09-07 19:02:21 +02:00
|
|
|
cp %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm
|
2017-08-22 10:40:24 +02:00
|
|
|
# Remove tests, we have no need for them - FIXME if any one can figure out how to disable build of these with meson == awesome
|
|
|
|
rm -rf %{buildroot}%{_libexecdir}/installed-tests
|
|
|
|
rm -rf %{buildroot}%{_datadir}/installed-tests
|
2007-01-05 16:49:43 +01:00
|
|
|
|
2015-09-04 13:29:41 +02:00
|
|
|
%post -n libpango-1_0-0 -p /sbin/ldconfig
|
2011-03-01 09:00:04 +01:00
|
|
|
%postun -n libpango-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libpango-1_0-0
|
2017-08-22 10:40:24 +02:00
|
|
|
%license COPYING
|
2019-04-18 15:35:31 +02:00
|
|
|
%doc NEWS README.md
|
2007-01-05 16:49:43 +01:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
2011-12-12 16:47:09 +01: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
|
|
|
|
|
2011-03-01 09:00:04 +01:00
|
|
|
%files tools
|
2018-07-22 20:58:44 +02:00
|
|
|
%{_bindir}/pango-list
|
2011-03-01 09:00:04 +01:00
|
|
|
%{_bindir}/pango-view
|
2017-08-31 17:16:22 +02:00
|
|
|
%{_mandir}/man1/pango-view.1%{ext_man}
|
2011-03-01 09:00:04 +01:00
|
|
|
|
2007-01-05 16:49:43 +01:00
|
|
|
%files devel
|
2019-04-18 15:35:31 +02:00
|
|
|
%doc CODING_STYLE.md THANKS
|
2018-03-09 11:00:50 +01:00
|
|
|
%doc %{_datadir}/gtk-doc/html/pango/
|
2007-01-05 16:49:43 +01:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2010-09-19 01:21:29 +02:00
|
|
|
%{_includedir}/pango-1.0/
|
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2011-03-01 09:00:04 +01:00
|
|
|
%{_sysconfdir}/rpm/macros.pango
|
2007-12-18 18:54:24 +01:00
|
|
|
|
2007-02-19 23:39:03 +01:00
|
|
|
%changelog
|