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