pangomm/pangomm.spec

162 lines
4.3 KiB
RPMSpec

#
# spec file for package pangomm (Version 2.24.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
# Only for directory ownership:
BuildRequires: devhelp
Version: 2.24.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.
Authors:
--------
Murray Cumming <murrayc@usa.net>
Daniel Elstner <daniel.elstner@gmx.net>
%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.
Authors:
--------
Murray Cumming <murrayc@usa.net>
Daniel Elstner <daniel.elstner@gmx.net>
%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.
Authors:
--------
Murray Cumming <murrayc@usa.net>
Daniel Elstner <daniel.elstner@gmx.net>
%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
%changelog
* Tue Mar 10 2009 vuntz@novell.com
- Update to version 2.24.0:
+ Layout: Added show_in_cairo_context(). bgo#560232.
+ Build: Allow pangomm to build outside the source tree.
bgo#570322
+ License Header consistency.
* Mon Dec 08 2008 mboman@suse.de
- Update to version 2.14.1:
+ Windows build: Use the new DLL naming convention, like boost.
+ Corrected the index page for DevHelp (bgo#559896)
* Wed Oct 22 2008 maw@suse.de
- Make debug packages require a specific %%{version}-%%{release}.
* Fri Oct 03 2008 mboman@suse.de
- Update to version 2.14.0:
+ Language: Added get_scripts().
+ README and COPYING fixes.
+ Fixed the Windows build with Visual Studio Express
* Thu Sep 18 2008 maw@suse.de
- Update to version 2.13.8:
+ Context: Added set_font_map() because the C function is now
public (non backend-only) API
+ LayoutRun/GlyphItem: Added split() and letter()
+ Renderer: Added draw_glyph_item()
+ CairoFontMap:: Added set_default().
* Thu Sep 18 2008 maw@suse.de
- Initial import of version 2.13.7.