From fbd9e474f9c8d131dd2b09f7880208b20045a32d Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 14 Sep 2021 21:43:24 +0200 Subject: [PATCH] Initial build of the new parallel installable pangomm-2.48 ABI version --- .gitignore | 1 + pangomm2.48.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 95 insertions(+) create mode 100644 .gitignore create mode 100644 pangomm2.48.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..383011c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pangomm-2.48.1.tar.xz diff --git a/pangomm2.48.spec b/pangomm2.48.spec new file mode 100644 index 0000000..0dc1dd9 --- /dev/null +++ b/pangomm2.48.spec @@ -0,0 +1,93 @@ +%define apiver 2.48 +# first two digits of version +%define release_version %(echo %{version} | awk -F. '{print $1"."$2}') + +%global glibmm_version 2.68.0 +%global cairomm_version 1.15.1 +%global pango_version 1.45.1 + +Name: pangomm2.48 +Version: 2.48.1 +Release: %autorelease +Summary: C++ interface for Pango + +License: LGPLv2+ +URL: https://www.gtkmm.org/ +Source0: https://download.gnome.org/sources/pangomm/%{release_version}/pangomm-%{version}.tar.xz + +BuildRequires: pkgconfig(cairomm-1.16) >= %{cairomm_version} +BuildRequires: doxygen +BuildRequires: gcc-c++ +BuildRequires: glibmm2.68-devel >= %{glibmm_version} +BuildRequires: libxslt +BuildRequires: m4 +BuildRequires: meson +BuildRequires: mm-common +BuildRequires: pango-devel >= %{pango_version} + +Requires: glibmm2.68%{?_isa} >= %{glibmm_version} +Requires: cairomm1.16%{?_isa} >= %{cairomm_version} +Requires: pango%{?_isa} >= %{pango_version} + +%description +pangomm provides a C++ interface to the Pango library. Highlights +include typesafe callbacks, widgets extensible via inheritance and a +comprehensive set of widget classes that can be freely combined to +quickly create complex user interfaces. + + +%package devel +Summary: Headers for developing programs that will use %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package contains the libraries and header files needed for +developing pangomm applications. + + +%package doc +Summary: Developer's documentation for the pangomm library +BuildArch: noarch +Requires: %{name} = %{version}-%{release} +Requires: libsigc++30-doc +Requires: glibmm2.68-doc + +%description doc +This package contains developer's documentation for the pangomm +library. Pangomm is the C++ API for the Pango font layout library. + +The documentation can be viewed either through the devhelp +documentation browser or through a web browser. + +%prep +%autosetup -p1 -n pangomm-%{version} + + +%build +%meson -Dbuild-documentation=true +%meson_build + + +%install +%meson_install + + +%files +%license COPYING +%doc AUTHORS NEWS README +%{_libdir}/libpangomm-%{apiver}.so.1* + + +%files devel +%{_includedir}/pangomm-%{apiver} +%{_libdir}/libpangomm-%{apiver}.so +%{_libdir}/pkgconfig/*.pc +%{_libdir}/pangomm-%{apiver} + +%files doc +%doc %{_docdir}/pangomm-%{apiver}/ +%{_datadir}/devhelp/ + + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..30c775a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pangomm-2.48.1.tar.xz) = c204a1cb7a404f055d62880a760716c5567a835ca495cc5e01589ed59fabb332490e529de716c3438cefbc4428c025d6d01c71e4412b2843e3ab3a3175ccc2f4