2016-12-05 14:03:00 +01:00
|
|
|
#
|
2018-03-05 15:00:05 +01:00
|
|
|
# spec file for package pangomm1_4
|
2016-12-05 14:03:00 +01:00
|
|
|
#
|
2022-09-21 18:12:55 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2016-12-05 14:03:00 +01: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.
|
|
|
|
|
2018-12-13 16:17:13 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-05 14:03:00 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define so_ver -1_4-1
|
|
|
|
%define _name pangomm
|
2020-12-21 11:19:23 +01:00
|
|
|
|
2018-03-05 15:00:05 +01:00
|
|
|
Name: pangomm1_4
|
2022-09-21 18:12:55 +02:00
|
|
|
Version: 2.46.3
|
2016-12-05 14:03:00 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: C++ interface for pango
|
2018-03-05 15:00:05 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
2016-12-05 14:03:00 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-05 15:00:05 +01:00
|
|
|
URL: http://www.gtkmm.org
|
2021-12-13 17:26:04 +01:00
|
|
|
Source0: https://download.gnome.org/sources/pangomm/2.46/%{_name}-%{version}.tar.xz
|
2021-09-28 17:36:39 +02:00
|
|
|
# PATCH-FIX-OPENSUSE pangomm1_4-docs-without-timestamp.patch dimstar@opensuse.org -- Do not add timestamps to generated doc files
|
|
|
|
Patch0: pangomm1_4-docs-without-timestamp.patch
|
2020-12-21 11:19:23 +01:00
|
|
|
BuildRequires: c++_compiler
|
|
|
|
BuildRequires: doxygen
|
2016-12-05 14:03:00 +01:00
|
|
|
BuildRequires: fdupes
|
2020-12-21 11:19:23 +01:00
|
|
|
BuildRequires: graphviz
|
2022-09-21 18:12:55 +02:00
|
|
|
BuildRequires: meson >= 0.55.0
|
2018-03-05 15:00:05 +01:00
|
|
|
BuildRequires: pkgconfig
|
2020-12-21 11:19:23 +01:00
|
|
|
BuildRequires: xsltproc
|
2016-12-05 14:03:00 +01:00
|
|
|
BuildRequires: pkgconfig(cairomm-1.0) >= 1.2.2
|
|
|
|
BuildRequires: pkgconfig(glibmm-2.4) >= 2.48.0
|
2021-01-27 17:15:36 +01:00
|
|
|
BuildRequires: pkgconfig(pangocairo) >= 1.45.1
|
2016-12-05 14:03:00 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
pangomm provides a C++ interface to the pango library.
|
|
|
|
|
|
|
|
%package -n libpangomm%{so_ver}
|
|
|
|
Summary: C++ interface for pango
|
2016-12-05 15:09:49 +01:00
|
|
|
Group: System/Libraries
|
2016-12-05 14:03:00 +01:00
|
|
|
|
|
|
|
%description -n libpangomm%{so_ver}
|
|
|
|
pangomm provides a C++ interface to the pango library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: C++ interface for pango -- Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libpangomm%{so_ver} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
pangomm provides a C++ interface to the pango library.
|
|
|
|
|
|
|
|
%prep
|
2020-12-21 11:19:23 +01:00
|
|
|
%autosetup -p1 -n %{_name}-%{version}
|
2021-09-28 17:02:28 +02:00
|
|
|
chmod -x NEWS
|
2016-12-05 14:03:00 +01:00
|
|
|
|
|
|
|
%build
|
2020-12-21 11:19:23 +01:00
|
|
|
%meson \
|
2021-10-11 19:19:46 +02:00
|
|
|
-Dbuild-documentation=false \
|
2020-12-21 11:19:23 +01:00
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2016-12-05 14:03:00 +01:00
|
|
|
|
|
|
|
%install
|
2020-12-21 11:19:23 +01:00
|
|
|
%meson_install
|
|
|
|
%fdupes %{buildroot}/%{prefix}
|
2016-12-05 14:03:00 +01:00
|
|
|
|
|
|
|
%post -n libpangomm%{so_ver} -p /sbin/ldconfig
|
|
|
|
%postun -n libpangomm%{so_ver} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libpangomm%{so_ver}
|
2018-12-13 16:17:13 +01:00
|
|
|
%license COPYING
|
2022-09-21 18:12:55 +02:00
|
|
|
%doc AUTHORS NEWS README.md
|
2016-12-05 14:03:00 +01:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/pangomm-1.4
|
|
|
|
|
|
|
|
%changelog
|