2008-09-24 17:19:30 +02:00
|
|
|
#
|
2011-04-21 10:23:29 +02:00
|
|
|
# spec file for package pangomm
|
2008-09-24 17:19:30 +02:00
|
|
|
#
|
2021-09-28 17:46:19 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2008-09-24 17:19:30 +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.
|
|
|
|
|
2018-12-13 16:17:10 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-09-24 17:19:30 +02:00
|
|
|
#
|
|
|
|
|
2011-07-11 09:04:49 +02:00
|
|
|
|
2020-12-21 11:19:46 +01:00
|
|
|
%define base_ver 2.48
|
2018-03-09 11:01:16 +01:00
|
|
|
# Update baselibs.conf when changing the version here
|
2020-12-21 11:19:46 +01:00
|
|
|
%define libname lib%{name}-2_48-1
|
2019-10-04 17:54:39 +02:00
|
|
|
|
2008-09-24 17:19:30 +02:00
|
|
|
Name: pangomm
|
2021-12-07 11:20:25 +01:00
|
|
|
Version: 2.48.2
|
2012-02-13 13:41:10 +01:00
|
|
|
Release: 0
|
2008-09-24 17:19:30 +02:00
|
|
|
Summary: C++ interface for pango
|
2021-09-28 17:46:19 +02:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-only
|
2012-02-13 13:41:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-09 11:01:16 +01:00
|
|
|
URL: https://www.gtkmm.org
|
2021-12-07 11:20:25 +01:00
|
|
|
# Source0 disabled, we are using source service
|
|
|
|
#Source0: https://download.gnome.org/sources/%%{name}/%%{base_ver}/%%{name}-%%{version}.tar.xz
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2015-03-20 10:47:07 +01:00
|
|
|
Source99: baselibs.conf
|
2021-09-28 17:46:19 +02:00
|
|
|
# PATCH-FIX-UPSTREAM pangomm-docs-without-timestamp.patch -- Do not add timestamp to generated doc files.
|
|
|
|
Patch0: pangomm-docs-without-timestamp.patch
|
2018-12-13 16:17:10 +01:00
|
|
|
|
2019-10-04 17:54:39 +02:00
|
|
|
BuildRequires: c++_compiler
|
2020-12-21 11:19:46 +01:00
|
|
|
BuildRequires: doxygen
|
2011-04-21 10:23:29 +02:00
|
|
|
BuildRequires: fdupes
|
2020-12-21 11:19:46 +01:00
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: meson
|
2021-12-07 11:20:25 +01:00
|
|
|
# m4, mm-common and perl(XML::Parser) only needed due to git-checkout
|
|
|
|
BuildRequires: m4
|
|
|
|
BuildRequires: mm-common
|
2018-03-09 11:01:16 +01:00
|
|
|
BuildRequires: pkgconfig
|
2020-12-21 11:19:46 +01:00
|
|
|
BuildRequires: xsltproc
|
2021-12-07 11:20:25 +01:00
|
|
|
BuildRequires: perl(XML::Parser)
|
2016-12-06 12:50:43 +01:00
|
|
|
BuildRequires: pkgconfig(cairomm-1.16) >= 1.2.2
|
2020-12-21 11:19:46 +01:00
|
|
|
BuildRequires: pkgconfig(giomm-2.68)
|
|
|
|
BuildRequires: pkgconfig(glibmm-2.68)
|
2018-12-13 16:17:10 +01:00
|
|
|
BuildRequires: pkgconfig(pangocairo) >= 1.31.0
|
2018-03-09 11:01:16 +01:00
|
|
|
Recommends: %{name}-doc = %{version}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%description
|
2018-03-11 15:25:49 +01:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2018-03-09 11:01:16 +01:00
|
|
|
%package -n %{libname}
|
2018-03-11 15:25:49 +01:00
|
|
|
Summary: C++ interface for Pango
|
2018-03-09 11:01:16 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-12-05 15:09:53 +01:00
|
|
|
Group: System/Libraries
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2018-03-09 11:01:16 +01:00
|
|
|
%description -n %{libname}
|
2018-03-11 15:25:49 +01:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%package devel
|
2018-03-11 15:25:49 +01:00
|
|
|
Summary: Development files for pangomm, a C++ API for Pango
|
2018-03-09 11:01:16 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2012-02-13 13:41:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-09 11:01:16 +01:00
|
|
|
Requires: %{libname} >= %{version}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%description devel
|
2018-03-11 15:25:49 +01:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%package doc
|
2018-03-11 15:25:49 +01:00
|
|
|
Summary: Developer documentation for pangomm, a C++ interface for Pango
|
2018-03-09 11:01:16 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2016-12-05 15:09:53 +01:00
|
|
|
Group: Documentation/HTML
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%description doc
|
2018-03-11 15:25:49 +01:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
2019-10-04 17:54:39 +02:00
|
|
|
This package contains the developer documentation.
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%prep
|
2019-10-04 17:54:39 +02:00
|
|
|
%autosetup -p1
|
2021-09-28 17:46:19 +02:00
|
|
|
chmod -x NEWS
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%build
|
2020-12-21 11:19:46 +01:00
|
|
|
%meson \
|
2021-12-07 11:20:25 +01:00
|
|
|
-Dmaintainer-mode=true \
|
2020-12-21 11:19:46 +01:00
|
|
|
-Dbuild-documentation=true \
|
2019-10-04 17:54:39 +02:00
|
|
|
%{nil}
|
2020-12-21 11:19:46 +01:00
|
|
|
%meson_build
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%install
|
2020-12-21 11:19:46 +01:00
|
|
|
%meson_install
|
2017-09-09 12:26:55 +02:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2018-03-09 11:01:16 +01:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2018-03-09 11:01:16 +01:00
|
|
|
%files -n %{libname}
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
|
|
|
%{_libdir}/libpangomm-%{base_ver}.so.*
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%files devel
|
2018-03-09 11:01:16 +01:00
|
|
|
%license COPYING.tools
|
|
|
|
%{_includedir}/pangomm-%{base_ver}/
|
|
|
|
%{_libdir}/libpangomm-%{base_ver}.so
|
|
|
|
%{_libdir}/pkgconfig/pangomm-%{base_ver}.pc
|
|
|
|
%{_libdir}/pangomm-%{base_ver}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%files doc
|
2018-03-09 11:01:16 +01:00
|
|
|
%doc AUTHORS README
|
|
|
|
%{_datadir}/devhelp/books/pangomm-%{base_ver}/
|
|
|
|
%{_datadir}/doc/pangomm-%{base_ver}/
|
2009-04-01 17:39:31 +02:00
|
|
|
# Avoid BuildRequires on devhelp
|
|
|
|
%dir %{_datadir}/devhelp
|
|
|
|
%dir %{_datadir}/devhelp/books
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%changelog
|