45ac78
%define apiver 1.4
45ac78
# first two digits of version
45ac78
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
45ac78
45ac78
%global glibmm_version 2.48.0
45ac78
%global cairomm_version 1.2.2
45ac78
%global pango_version 1.45.1
45ac78
45ac78
Name:           pangomm
45ac78
Version:        2.46.1
45ac78
Release:        1%{?dist}
45ac78
Summary:        C++ interface for Pango
45ac78
45ac78
License:        LGPLv2+
45ac78
URL:            https://www.gtkmm.org/
45ac78
Source0:        https://download.gnome.org/sources/pangomm/%{release_version}/%{name}-%{version}.tar.xz
45ac78
45ac78
BuildRequires:  pkgconfig(cairomm-1.0) >= %{cairomm_version}
45ac78
BuildRequires:  doxygen
45ac78
BuildRequires:  gcc-c++
45ac78
BuildRequires:  glibmm24-devel >= %{glibmm_version}
45ac78
BuildRequires:  libxslt
45ac78
BuildRequires:  m4
45ac78
BuildRequires:  meson
45ac78
BuildRequires:  mm-common
45ac78
BuildRequires:  pango-devel >= %{pango_version}
45ac78
45ac78
Requires:       glibmm24%{?_isa} >= %{glibmm_version}
45ac78
Requires:       cairomm1.0%{?_isa} >= %{cairomm_version}
45ac78
Requires:       pango%{?_isa} >= %{pango_version}
45ac78
45ac78
%description
45ac78
pangomm provides a C++ interface to the Pango library. Highlights
45ac78
include typesafe callbacks, widgets extensible via inheritance and a
45ac78
comprehensive set of widget classes that can be freely combined to
45ac78
quickly create complex user interfaces.
45ac78
45ac78
45ac78
%package devel
45ac78
Summary:        Headers for developing programs that will use %{name}
45ac78
Requires:       %{name}%{?_isa} = %{version}-%{release}
45ac78
45ac78
%description devel
45ac78
This package contains the libraries and header files needed for
45ac78
developing pangomm applications.
45ac78
45ac78
45ac78
%package          doc
45ac78
Summary:          Developer's documentation for the pangomm library
45ac78
BuildArch:        noarch
45ac78
Requires:         %{name} = %{version}-%{release}
45ac78
Requires:         libsigc++20-doc
45ac78
Requires:         glibmm24-doc
45ac78
45ac78
%description      doc
45ac78
This package contains developer's documentation for the pangomm
45ac78
library. Pangomm is the C++ API for the Pango font layout library.
45ac78
45ac78
The documentation can be viewed either through the devhelp
45ac78
documentation browser or through a web browser.
45ac78
45ac78
%prep
45ac78
%setup -q
45ac78
45ac78
45ac78
%build
45ac78
%meson -Dbuild-documentation=true
45ac78
%meson_build
45ac78
45ac78
45ac78
%install
45ac78
%meson_install
45ac78
45ac78
45ac78
%files
45ac78
%license COPYING
45ac78
%doc AUTHORS NEWS README
45ac78
%{_libdir}/libpangomm-%{apiver}.so.1*
45ac78
45ac78
45ac78
%files devel
45ac78
%{_includedir}/pangomm-%{apiver}
45ac78
%{_libdir}/libpangomm-%{apiver}.so
45ac78
%{_libdir}/pkgconfig/*.pc
45ac78
%{_libdir}/pangomm-%{apiver}
45ac78
45ac78
%files doc
45ac78
%doc %{_docdir}/pangomm-%{apiver}/
45ac78
%{_datadir}/devhelp/
45ac78
45ac78
%changelog
45ac78
* Tue Aug 24 2021 Kalev Lember <klember@redhat.com> - 2.46.1-1
45ac78
- Update to 2.46.1
45ac78
45ac78
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.42.2-5
45ac78
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
45ac78
  Related: rhbz#1991688
45ac78
45ac78
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.42.2-4
45ac78
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
45ac78
45ac78
* Fri Feb 12 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 2.42.2-3
45ac78
- Use pkgconfig to BR the required cairomm API/ABI version 1.0 (vs. 1.16); use
45ac78
  cairomm1.0, which may be a virtual Provides, in the manual lib Requires
45ac78
45ac78
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.42.2-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
45ac78
45ac78
* Mon Dec 14 2020 Kalev Lember <klember@redhat.com> - 2.42.2-1
45ac78
- Update to 2.42.2
45ac78
- Update source URLs
45ac78
- Switch to meson build system
45ac78
- Tighten soname globs
45ac78
45ac78
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.42.1-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
45ac78
45ac78
* Fri Mar 27 2020 Kalev Lember <klember@redhat.com> - 2.42.1-1
45ac78
- Update to 2.42.1
45ac78
45ac78
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.2-4
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
45ac78
45ac78
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.2-3
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
45ac78
45ac78
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.2-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
45ac78
45ac78
* Wed Jan 23 2019 Kalev Lember <klember@redhat.com> - 2.40.2-1
45ac78
- Update to 2.40.2
45ac78
45ac78
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-6
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
45ac78
45ac78
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-5
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
45ac78
45ac78
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-4
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
45ac78
45ac78
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-3
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
45ac78
45ac78
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
45ac78
45ac78
* Sun Aug 21 2016 Kalev Lember <klember@redhat.com> - 2.40.1-1
45ac78
- Update to 2.40.1
45ac78
45ac78
* Wed Mar 30 2016 Kalev Lember <klember@redhat.com> - 2.40.0-1
45ac78
- Update to 2.40.0
45ac78
45ac78
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.39.1-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
45ac78
45ac78
* Mon Nov 30 2015 Kalev Lember <klember@redhat.com> - 2.39.1-1
45ac78
- Update to 2.39.1
45ac78
45ac78
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 2.38.1-1
45ac78
- Update to 2.38.1
45ac78
- Use make_install macro
45ac78
- Set minimum versions for required libraries
45ac78
- Tighten -devel deps with the _isa macro
45ac78
45ac78
* Tue Sep 15 2015 Richard Hughes <rhughes@redhat.com> - 2.37.2-1
45ac78
- Update to 2.37.2
45ac78
45ac78
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36.0-3
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
45ac78
45ac78
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.36.0-2
45ac78
- Rebuilt for GCC 5 C++11 ABI change
45ac78
45ac78
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 2.36.0-1
45ac78
- Update to 2.36.0
45ac78
- Use license macro for the COPYING file
45ac78
- Drop large ChangeLog file
45ac78
45ac78
* Fri Feb 13 2015 Richard Hughes <rhughes@redhat.com> - 2.35.1-1
45ac78
- Update to 2.35.1
45ac78
45ac78
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34.0-4
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
45ac78
45ac78
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34.0-3
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
45ac78
45ac78
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34.0-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
45ac78
45ac78
* Mon Apr 29 2013 Kalev Lember <kalevlember@gmail.com> - 2.34.0-1
45ac78
- Update to 2.34.0
45ac78
45ac78
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28.4-3
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
45ac78
45ac78
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28.4-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
45ac78
45ac78
* Mon Feb 27 2012 Kalev Lember <kalevlember@gmail.com> - 2.28.4-1
45ac78
- Update to 2.28.4
45ac78
45ac78
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28.3-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
45ac78
45ac78
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 2.28.3-1
45ac78
- Update to 2.28.3
45ac78
45ac78
* Thu Mar 31 2011 Kalev Lember <kalev@smartlink.ee> - 2.28.2-1
45ac78
- Update to 2.28.2
45ac78
45ac78
* Fri Mar 25 2011 Kalev Lember <kalev@smartlink.ee> - 2.28.1-1
45ac78
- Update to 2.28.1
45ac78
- Removed old obsoletes for gtkmm24
45ac78
45ac78
* Wed Mar 02 2011 Kalev Lember <kalev@smartlink.ee> - 2.27.1-3
45ac78
- Own /usr/share/doc/pangomm-1.4/ dir
45ac78
- Require base package from -doc subpackage
45ac78
45ac78
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.27.1-2
45ac78
- split doc into subpackage
45ac78
- fix documentation location
45ac78
- co-own /usr/share/devhelp
45ac78
45ac78
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.1-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
45ac78
45ac78
* Thu Jan 13 2011 Kalev Lember <kalev@smartlink.ee> - 2.27.1-1
45ac78
- Update to 2.27.1
45ac78
- Use macro for figuring out first two digits of version
45ac78
45ac78
* Wed Sep 29 2010 jkeating - 2.26.2-3
45ac78
- Rebuilt for gcc bug 634757
45ac78
45ac78
* Tue Sep 14 2010 Kalev Lember <kalev@smartlink.ee> - 2.26.2-2
45ac78
- Co-own /usr/share/gtk-doc/ directory (#604407)
45ac78
- Dropped pkgconfig dep from -devel subpackage which is now automatically added
45ac78
45ac78
* Mon Jul 05 2010 Kalev Lember <kalev@smartlink.ee> - 2.26.2-1
45ac78
- Update to 2.26.2
45ac78
45ac78
* Tue Apr 13 2010 Haïkel Guémar <hguemar@fedoraproject.org> -2.26.0-2
45ac78
- Rebuilt for F-13
45ac78
45ac78
* Fri Sep 25 2009 Denis Leroy <denis@poolshark.org> - 2.26.0-1
45ac78
- Update to upstream 2.26.0
45ac78
45ac78
* Mon Sep 14 2009 Denis Leroy <denis@poolshark.org> - 2.25.1.3-1
45ac78
- Update to upstream 2.25.1.3
45ac78
- Package pangomm libdir directory with config include header
45ac78
- Fix documentation location
45ac78
45ac78
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.0-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
45ac78
45ac78
* Wed Apr  1 2009 Denis Leroy <denis@poolshark.org> - 2.24.0-1
45ac78
- Update to upstream 2.24.0
45ac78
45ac78
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14.1-2
45ac78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
45ac78
45ac78
* Wed Nov 26 2008 Denis Leroy <denis@poolshark.org> - 2.14.1-1
45ac78
- Update to 2.14.1
45ac78
- Devhelp patch upstreamed
45ac78
45ac78
* Sun Oct 12 2008 Denis Leroy <denis@poolshark.org> - 2.14.0-2
45ac78
- Added patch to fix devhelp main page
45ac78
45ac78
* Tue Sep 23 2008 Denis Leroy <denis@poolshark.org> - 2.14.0-1
45ac78
- Update to stable 2.14.0
45ac78
45ac78
* Fri Aug 29 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-3
45ac78
- Obsoletes older gtkmm to avoid libpangomm conflict 
45ac78
45ac78
* Wed Aug 27 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-2
45ac78
- Spec review fixes
45ac78
45ac78
* Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-1
45ac78
- First version