Initial build of the new parallel installable pangomm-2.48 ABI version
This commit is contained in:
parent
3a4a586487
commit
fbd9e474f9
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/pangomm-2.48.1.tar.xz
|
93
pangomm2.48.spec
Normal file
93
pangomm2.48.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user