File atkmm.spec of Package atkmm
#
# spec file for package atkmm
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: atkmm
Version: 2.22.5
Release: 3
License: LGPLv2.1+
Summary: C++ Binding for the ATK library
Url: http://www.gtkmm.org/
Group: System/Libraries
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.21/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig(atk)
BuildRequires: pkgconfig(glibmm-2.4)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort.
%package -n libatkmm-1_6-1
License: LGPLv2.1+
Summary: C++ Binding for the ATK library
Group: System/Libraries
%description -n libatkmm-1_6-1
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort.
%package devel
License: LGPLv2.1+
Summary: C++ Binding for the ATK library
Group: Development/Libraries/C and C++
Requires: libatkmm-1_6-1 = %{version}
%description devel
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort.
%package doc
License: GPLv2+ ; LGPLv2.1+
Summary: C++ Binding for the ATK library
Group: Documentation/HTML
Requires: glibmm2-doc
%if %suse_version > 1120
BuildArch: noarch
%endif
%description doc
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}
%post -n libatkmm-1_6-1 -p /sbin/ldconfig
%postun -n libatkmm-1_6-1 -p /sbin/ldconfig
%files -n libatkmm-1_6-1
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/libatkmm-1.6.so.*
%files devel
%defattr (-, root, root)
%{_includedir}/atkmm-1.6/
%{_libdir}/libatkmm-1.6.so
%{_libdir}/pkgconfig/atkmm-1.6.pc
%dir %{_libdir}/atkmm-1.6
%{_libdir}/atkmm-1.6/include/
%dir %{_libdir}/atkmm-1.6/proc
%{_libdir}/atkmm-1.6/proc/m4/
%files doc
%defattr (-, root, root)
%{_datadir}/devhelp/books/atkmm-1.6/
%{_datadir}/doc/atkmm-1.6/
# Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books
%changelog