cdb0e0
%define apiver 1.4
cdb0e0
# first two digits of version
cdb0e0
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
cdb0e0
cdb0e0
%global glibmm_version 2.48.0
cdb0e0
%global cairomm_version 1.2.2
cdb0e0
%global pango_version 1.38.0
cdb0e0
cdb0e0
Name:           pangomm
cdb0e0
Version:        2.40.1
7b158f
Release:        6%{?dist}
cdb0e0
Summary:        C++ interface for Pango
cdb0e0
cdb0e0
Group:          System Environment/Libraries
cdb0e0
License:        LGPLv2+
cdb0e0
URL:            http://www.gtkmm.org/
cdb0e0
Source0:        http://ftp.gnome.org/pub/GNOME/sources/pangomm/%{release_version}/%{name}-%{version}.tar.xz
cdb0e0
cdb0e0
BuildRequires:  glibmm24-devel >= %{glibmm_version}
cdb0e0
BuildRequires:  cairomm-devel >= %{cairomm_version}
cdb0e0
BuildRequires:  pango-devel >= %{pango_version}
cdb0e0
BuildRequires:  doxygen graphviz
cdb0e0
cdb0e0
Requires:       glibmm24%{?_isa} >= %{glibmm_version}
cdb0e0
Requires:       cairomm%{?_isa} >= %{cairomm_version}
cdb0e0
Requires:       pango%{?_isa} >= %{pango_version}
cdb0e0
cdb0e0
%description
cdb0e0
pangomm provides a C++ interface to the Pango library. Highlights
cdb0e0
include typesafe callbacks, widgets extensible via inheritance and a
cdb0e0
comprehensive set of widget classes that can be freely combined to
cdb0e0
quickly create complex user interfaces.
cdb0e0
cdb0e0
cdb0e0
%package devel
cdb0e0
Summary:        Headers for developing programs that will use %{name}
cdb0e0
Group:          Development/Libraries
cdb0e0
Requires:       %{name}%{?_isa} = %{version}-%{release}
cdb0e0
cdb0e0
%description devel
cdb0e0
This package contains the libraries and header files needed for
cdb0e0
developing pangomm applications.
cdb0e0
cdb0e0
cdb0e0
%package          doc
cdb0e0
Summary:          Developer's documentation for the pangomm library
cdb0e0
Group:            Documentation
cdb0e0
BuildArch:        noarch
cdb0e0
Requires:         %{name} = %{version}-%{release}
cdb0e0
Requires:         libsigc++20-doc
cdb0e0
Requires:         glibmm24-doc
cdb0e0
cdb0e0
%description      doc
cdb0e0
This package contains developer's documentation for the pangomm
cdb0e0
library. Pangomm is the C++ API for the Pango font layout library.
cdb0e0
cdb0e0
The documentation can be viewed either through the devhelp
cdb0e0
documentation browser or through a web browser.
cdb0e0
cdb0e0
%prep
cdb0e0
%setup -q
cdb0e0
cdb0e0
cdb0e0
%build
cdb0e0
%configure --disable-static
cdb0e0
make %{?_smp_mflags}
cdb0e0
cdb0e0
cdb0e0
%install
cdb0e0
%make_install
cdb0e0
cdb0e0
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
cdb0e0
cdb0e0
cdb0e0
%post -p /sbin/ldconfig
cdb0e0
cdb0e0
cdb0e0
%postun -p /sbin/ldconfig
cdb0e0
cdb0e0
cdb0e0
%files
cdb0e0
%license COPYING
cdb0e0
%doc AUTHORS NEWS README
cdb0e0
%{_libdir}/*.so.*
cdb0e0
cdb0e0
cdb0e0
%files devel
cdb0e0
%{_includedir}/pangomm-%{apiver}
cdb0e0
%{_libdir}/*.so
cdb0e0
%{_libdir}/pkgconfig/*.pc
cdb0e0
%{_libdir}/pangomm-%{apiver}
cdb0e0
cdb0e0
%files doc
cdb0e0
%doc %{_docdir}/pangomm-%{apiver}/
cdb0e0
%{_datadir}/devhelp/
cdb0e0
cdb0e0
%changelog
7b158f
* Thu Oct 15 2020 Tomas Popela <tpopela@redhat.com> - 2.40.1-6
7b158f
- Rebuild for the annobin fixes
7b158f
- Resolves: rhbz#1704100
7b158f
cdb0e0
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-5
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cdb0e0
cdb0e0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-4
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cdb0e0
cdb0e0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-3
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cdb0e0
cdb0e0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.1-2
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cdb0e0
cdb0e0
* Sun Aug 21 2016 Kalev Lember <klember@redhat.com> - 2.40.1-1
cdb0e0
- Update to 2.40.1
cdb0e0
cdb0e0
* Wed Mar 30 2016 Kalev Lember <klember@redhat.com> - 2.40.0-1
cdb0e0
- Update to 2.40.0
cdb0e0
cdb0e0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.39.1-2
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cdb0e0
cdb0e0
* Mon Nov 30 2015 Kalev Lember <klember@redhat.com> - 2.39.1-1
cdb0e0
- Update to 2.39.1
cdb0e0
cdb0e0
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 2.38.1-1
cdb0e0
- Update to 2.38.1
cdb0e0
- Use make_install macro
cdb0e0
- Set minimum versions for required libraries
cdb0e0
- Tighten -devel deps with the _isa macro
cdb0e0
cdb0e0
* Tue Sep 15 2015 Richard Hughes <rhughes@redhat.com> - 2.37.2-1
cdb0e0
- Update to 2.37.2
cdb0e0
cdb0e0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36.0-3
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cdb0e0
cdb0e0
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.36.0-2
cdb0e0
- Rebuilt for GCC 5 C++11 ABI change
cdb0e0
cdb0e0
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 2.36.0-1
cdb0e0
- Update to 2.36.0
cdb0e0
- Use license macro for the COPYING file
cdb0e0
- Drop large ChangeLog file
cdb0e0
cdb0e0
* Fri Feb 13 2015 Richard Hughes <rhughes@redhat.com> - 2.35.1-1
cdb0e0
- Update to 2.35.1
cdb0e0
cdb0e0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34.0-4
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cdb0e0
cdb0e0
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34.0-3
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cdb0e0
cdb0e0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.34.0-2
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cdb0e0
cdb0e0
* Mon Apr 29 2013 Kalev Lember <kalevlember@gmail.com> - 2.34.0-1
cdb0e0
- Update to 2.34.0
cdb0e0
cdb0e0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28.4-3
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cdb0e0
cdb0e0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28.4-2
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cdb0e0
cdb0e0
* Mon Feb 27 2012 Kalev Lember <kalevlember@gmail.com> - 2.28.4-1
cdb0e0
- Update to 2.28.4
cdb0e0
cdb0e0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.28.3-2
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cdb0e0
cdb0e0
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 2.28.3-1
cdb0e0
- Update to 2.28.3
cdb0e0
cdb0e0
* Thu Mar 31 2011 Kalev Lember <kalev@smartlink.ee> - 2.28.2-1
cdb0e0
- Update to 2.28.2
cdb0e0
cdb0e0
* Fri Mar 25 2011 Kalev Lember <kalev@smartlink.ee> - 2.28.1-1
cdb0e0
- Update to 2.28.1
cdb0e0
- Removed old obsoletes for gtkmm24
cdb0e0
cdb0e0
* Wed Mar 02 2011 Kalev Lember <kalev@smartlink.ee> - 2.27.1-3
cdb0e0
- Own /usr/share/doc/pangomm-1.4/ dir
cdb0e0
- Require base package from -doc subpackage
cdb0e0
cdb0e0
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.27.1-2
cdb0e0
- split doc into subpackage
cdb0e0
- fix documentation location
cdb0e0
- co-own /usr/share/devhelp
cdb0e0
cdb0e0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27.1-2
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cdb0e0
cdb0e0
* Thu Jan 13 2011 Kalev Lember <kalev@smartlink.ee> - 2.27.1-1
cdb0e0
- Update to 2.27.1
cdb0e0
- Use macro for figuring out first two digits of version
cdb0e0
cdb0e0
* Wed Sep 29 2010 jkeating - 2.26.2-3
cdb0e0
- Rebuilt for gcc bug 634757
cdb0e0
cdb0e0
* Tue Sep 14 2010 Kalev Lember <kalev@smartlink.ee> - 2.26.2-2
cdb0e0
- Co-own /usr/share/gtk-doc/ directory (#604407)
cdb0e0
- Dropped pkgconfig dep from -devel subpackage which is now automatically added
cdb0e0
cdb0e0
* Mon Jul 05 2010 Kalev Lember <kalev@smartlink.ee> - 2.26.2-1
cdb0e0
- Update to 2.26.2
cdb0e0
cdb0e0
* Tue Apr 13 2010 Haïkel Guémar <hguemar@fedoraproject.org> -2.26.0-2
cdb0e0
- Rebuilt for F-13
cdb0e0
cdb0e0
* Fri Sep 25 2009 Denis Leroy <denis@poolshark.org> - 2.26.0-1
cdb0e0
- Update to upstream 2.26.0
cdb0e0
cdb0e0
* Mon Sep 14 2009 Denis Leroy <denis@poolshark.org> - 2.25.1.3-1
cdb0e0
- Update to upstream 2.25.1.3
cdb0e0
- Package pangomm libdir directory with config include header
cdb0e0
- Fix documentation location
cdb0e0
cdb0e0
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.0-2
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cdb0e0
cdb0e0
* Wed Apr  1 2009 Denis Leroy <denis@poolshark.org> - 2.24.0-1
cdb0e0
- Update to upstream 2.24.0
cdb0e0
cdb0e0
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14.1-2
cdb0e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cdb0e0
cdb0e0
* Wed Nov 26 2008 Denis Leroy <denis@poolshark.org> - 2.14.1-1
cdb0e0
- Update to 2.14.1
cdb0e0
- Devhelp patch upstreamed
cdb0e0
cdb0e0
* Sun Oct 12 2008 Denis Leroy <denis@poolshark.org> - 2.14.0-2
cdb0e0
- Added patch to fix devhelp main page
cdb0e0
cdb0e0
* Tue Sep 23 2008 Denis Leroy <denis@poolshark.org> - 2.14.0-1
cdb0e0
- Update to stable 2.14.0
cdb0e0
cdb0e0
* Fri Aug 29 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-3
cdb0e0
- Obsoletes older gtkmm to avoid libpangomm conflict 
cdb0e0
cdb0e0
* Wed Aug 27 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-2
cdb0e0
- Spec review fixes
cdb0e0
cdb0e0
* Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 2.13.7-1
cdb0e0
- First version