e709e3
%global apiver 1.6
e709e3
# first two digits of version
e709e3
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
e709e3
e709e3
%global glibmm24_version 2.46.1
e709e3
e709e3
Name:           atkmm
e709e3
Version:        2.24.2
e709e3
Release:        7%{?dist}
e709e3
Summary:        C++ interface for the ATK library
e709e3
e709e3
Group:          System Environment/Libraries
e709e3
License:        LGPLv2+
e709e3
URL:            http://www.gtkmm.org/
e709e3
Source0:        http://ftp.gnome.org/pub/GNOME/sources/atkmm/%{release_version}/atkmm-%{version}.tar.xz
e709e3
e709e3
BuildRequires:  atk-devel
e709e3
BuildRequires:  glibmm24-devel >= %{glibmm24_version}
e709e3
e709e3
Requires:       glibmm24%{?_isa} >= %{glibmm24_version}
e709e3
e709e3
%description
e709e3
atkmm provides a C++ interface for the ATK library. Highlights
e709e3
include typesafe callbacks, widgets extensible via inheritance and a
e709e3
comprehensive set of widget classes that can be freely combined to
e709e3
quickly create complex user interfaces.
e709e3
e709e3
e709e3
%package devel
e709e3
Summary:        Development files for %{name}
e709e3
Group:          Development/Libraries
e709e3
Requires:       %{name} = %{version}-%{release}
e709e3
e709e3
%description devel
e709e3
The %{name}-devel package contains libraries and header files for
e709e3
developing applications that use %{name}.
e709e3
e709e3
e709e3
%package        doc
e709e3
Summary:        Developer's documentation for the atkmm library
e709e3
Group:          Documentation
e709e3
BuildArch:      noarch
e709e3
Requires:       %{name} = %{version}-%{release}
e709e3
Requires:       glibmm24-doc
e709e3
e709e3
%description    doc
e709e3
This package contains developer's documentation for the atkmm
e709e3
library. Atkmm is the C++ API for the ATK accessibility toolkit library.
e709e3
e709e3
The documentation can be viewed either through the devhelp
e709e3
documentation browser or through a web browser.
e709e3
e709e3
e709e3
%prep
e709e3
%setup -q
e709e3
e709e3
e709e3
%build
e709e3
%configure --disable-static
e709e3
make %{?_smp_mflags}
e709e3
e709e3
e709e3
%install
e709e3
%make_install
e709e3
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
e709e3
e709e3
e709e3
%post -p /sbin/ldconfig
e709e3
e709e3
%postun -p /sbin/ldconfig
e709e3
e709e3
e709e3
%files
e709e3
%license COPYING
e709e3
%doc AUTHORS NEWS README
e709e3
%{_libdir}/*.so.*
e709e3
e709e3
%files devel
e709e3
%{_includedir}/atkmm-%{apiver}/
e709e3
%{_libdir}/*.so
e709e3
%{_libdir}/pkgconfig/*.pc
e709e3
%{_libdir}/atkmm-%{apiver}/
e709e3
e709e3
%files doc
e709e3
%doc %{_docdir}/atkmm-%{apiver}/
e709e3
%doc %{_datadir}/devhelp/
e709e3
e709e3
e709e3
%changelog
e709e3
* Tue Oct 20 2020 Tomas Popela <tpopela@redhat.com> - 2.24.2-7
e709e3
- Rebuild for annobin fixes
e709e3
- Resolves: rhbz#1703969
e709e3
e709e3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.2-6
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e709e3
e709e3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.2-5
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e709e3
e709e3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.2-4
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e709e3
e709e3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.2-3
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e709e3
e709e3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.2-2
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e709e3
e709e3
* Mon Nov 30 2015 Kalev Lember <klember@redhat.com> - 2.24.2-1
e709e3
- Update to 2.24.2
e709e3
e709e3
* Tue Sep 22 2015 Kalev Lember <klember@redhat.com> - 2.24.1-1
e709e3
- Update to 2.24.1
e709e3
- Drop conflicts with old gtkmm24 versions
e709e3
- Use make_install macro
e709e3
e709e3
* Tue Sep 15 2015 Richard Hughes <rhughes@redhat.com> - 2.23.3-1
e709e3
- Update to 2.23.3
e709e3
e709e3
* Tue Jun 30 2015 Kalev Lember <klember@redhat.com> - 2.23.1-1
e709e3
- Update to 2.23.1
e709e3
- Set minimum required glibmm24 version
e709e3
- Use license macro for COPYING
e709e3
e709e3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.7-6
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e709e3
e709e3
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.22.7-5
e709e3
- Rebuilt for GCC 5 C++11 ABI change
e709e3
e709e3
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.7-4
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e709e3
e709e3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.7-3
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e709e3
e709e3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.7-2
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e709e3
e709e3
* Mon Apr 29 2013 Kalev Lember <kalevlember@gmail.com> - 2.22.7-1
e709e3
- Update to 2.22.7
e709e3
- Drop -devel package deps that rpmbuild takes care of automatically
e709e3
e709e3
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.6-3
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e709e3
e709e3
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.6-2
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e709e3
e709e3
* Mon Feb 27 2012 Kalev Lember <kalevlember@gmail.com> - 2.22.6-1
e709e3
- Update to 2.22.6
e709e3
- Switch to .xz tarballs
e709e3
e709e3
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.5-2
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e709e3
e709e3
* Thu Mar 31 2011 Kalev Lember <kalev@smartlink.ee> - 2.22.5-1
e709e3
- Update to 2.22.5
e709e3
e709e3
* Fri Mar 25 2011 Kalev Lember <kalev@smartlink.ee> - 2.22.4-1
e709e3
- Update to 2.22.4
e709e3
e709e3
* Tue Mar 01 2011 Kalev Lember <kalev@smartlink.ee> - 2.22.2-4
e709e3
- Spec cleanup
e709e3
- Actually co-own /usr/share/devhelp/ directory
e709e3
- Require base package from -doc subpackage
e709e3
e709e3
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.22.2-3
e709e3
- split doc into subpackage
e709e3
- fix documentation location
e709e3
- co-own /usr/share/devhelp
e709e3
e709e3
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.2-2
e709e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e709e3
e709e3
* Thu Jan 13 2011 Kalev Lember <kalev@smartlink.ee> - 2.22.2-1
e709e3
- Update to 2.22.2
e709e3
e709e3
* Tue Sep 28 2010 Kalev Lember <kalev@smartlink.ee> - 2.22.0-1
e709e3
- Update to 2.22.0
e709e3
e709e3
* Tue Sep 14 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.2-2
e709e3
- Co-own /usr/share/gtk-doc/ directory (#604169)
e709e3
e709e3
* Wed Jun 30 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.2-1
e709e3
- Update to 2.21.2
e709e3
e709e3
* Sat Jun 26 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.1-2
e709e3
- added missing Conflicts: gtkmm24-devel to -devel subpackage
e709e3
- calculate two-digit download directory from three-digit package version
e709e3
e709e3
* Wed Jun 23 2010 Kalev Lember <kalev@smartlink.ee> - 2.21.1-1
e709e3
- Initial RPM release