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