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