File pangomm.spec of Package pangomm

#
# spec file for package pangomm (Version 2.26.0)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           pangomm
BuildRequires:  cairomm-devel
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  glibmm2-devel
BuildRequires:  libsigc++2-devel
BuildRequires:  pango-devel
BuildRequires:  update-desktop-files
Version:        2.26.0
Release:        1
Group:          Development/Libraries/C and C++
License:        GPL v2 or later ; LGPL v2.0 or later
Summary:        C++ interface for pango
Url:            http://www.gtkmm.org
Source:         %{name}-%{version}.tar.bz2
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libpangomm-1_4-1 = %{version}-%{release}

%description
pangomm provides a C++ interface to the pango library.



Authors:
--------
    Murray Cumming <murrayc@usa.net>
    Daniel Elstner <daniel.elstner@gmx.net>

%package -n libpangomm-1_4-1
License:        GPL v2 or later ; LGPL v2.0 or later
Group:          Development/Libraries/C and C++
Summary:        C++ interface for pango

%description -n libpangomm-1_4-1
pangomm provides a C++ interface to the pango library.

%package devel
License:        GPL v2 or later ; LGPL v2.0 or later
Group:          Development/Libraries/C and C++
Summary:        C++ interface for pango
Requires:       libpangomm-1_4-1 = %{version} glibmm2-devel cairomm-devel atk-devel pango-devel

%description devel
pangomm provides a C++ interface to the pango library.

%package doc
License:        GPL v2 or later ; LGPL v2.0 or later
Group:          Development/Libraries/C and C++
Summary:        C++ interface for pango
Requires:       %{name}-devel = %{version}

%description doc
pangomm provides a C++ interface to the pango library.

%prep
%setup

%build
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post -n libpangomm-1_4-1 -p /sbin/ldconfig

%postun -n libpangomm-1_4-1 -p /sbin/ldconfig

%files -n libpangomm-1_4-1
%defattr (-, root, root)
%doc AUTHORS NEWS README
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/pangomm-1.4

%files doc
%defattr (-, root, root)
%{_datadir}/devhelp/books/pangomm-1.4
%{_datadir}/doc/pangomm-1.4
# Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books

%changelog
openSUSE Build Service is sponsored by