Blame SPECS/atkmm.spec

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