2008-09-24 17:19:30 +02:00
|
|
|
#
|
2011-04-21 10:23:29 +02:00
|
|
|
# spec file for package pangomm
|
2008-09-24 17:19:30 +02:00
|
|
|
#
|
2013-02-14 14:06:38 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-09-24 17:19:30 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2011-07-11 09:04:49 +02:00
|
|
|
|
2011-04-21 10:23:29 +02:00
|
|
|
# Update baselibs.conf when changing this
|
|
|
|
%define so_ver -1_4-1
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
Name: pangomm
|
2013-05-05 13:56:52 +02:00
|
|
|
Version: 2.34.0
|
2012-02-13 13:41:10 +01:00
|
|
|
Release: 0
|
2008-09-24 17:19:30 +02:00
|
|
|
Summary: C++ interface for pango
|
2013-02-14 14:06:38 +01:00
|
|
|
License: GPL-2.0+ and LGPL-2.0+
|
2012-02-13 13:41:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-09-24 17:19:30 +02:00
|
|
|
Url: http://www.gtkmm.org
|
2013-05-05 13:56:52 +02:00
|
|
|
Source: http://download.gnome.org/sources/pangomm/2.34/%{name}-%{version}.tar.xz
|
2011-04-21 10:23:29 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2013-05-05 13:56:52 +02:00
|
|
|
BuildRequires: pkgconfig(cairomm-1.0) >= 1.2.2
|
|
|
|
BuildRequires: pkgconfig(glibmm-2.4) >= 2.36.0
|
|
|
|
BuildRequires: pkgconfig(pangocairo) >= 1.23.0
|
2008-09-24 17:19:30 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
pangomm provides a C++ interface to the pango library.
|
|
|
|
|
2011-04-21 10:23:29 +02:00
|
|
|
%package -n libpangomm%{so_ver}
|
2011-07-11 09:04:49 +02:00
|
|
|
|
2008-09-24 17:19:30 +02:00
|
|
|
Summary: C++ interface for pango
|
2012-02-13 13:41:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2011-04-21 10:23:29 +02:00
|
|
|
%description -n libpangomm%{so_ver}
|
2008-09-24 17:19:30 +02:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
|
|
|
|
|
|
|
%package devel
|
2011-04-21 10:23:29 +02:00
|
|
|
Summary: C++ interface for pango -- Development Files
|
2012-02-13 13:41:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-04-21 10:23:29 +02:00
|
|
|
Requires: libpangomm%{so_ver} = %{version}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
pangomm provides a C++ interface to the pango library.
|
|
|
|
|
|
|
|
%package doc
|
2011-04-21 10:23:29 +02:00
|
|
|
Summary: C++ interface for pango -- Developer Documentation
|
2012-02-13 13:41:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
pangomm provides a C++ interface to the pango library.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
2011-04-21 10:23:29 +02:00
|
|
|
%configure --disable-static
|
2008-09-24 17:19:30 +02:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2011-04-21 10:23:29 +02:00
|
|
|
rm %{buildroot}%{_libdir}/*.la
|
|
|
|
%fdupes %{buildroot}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%clean
|
2011-04-21 10:23:29 +02:00
|
|
|
rm -rf %{buildroot}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2011-04-21 10:23:29 +02:00
|
|
|
%post -n libpangomm%{so_ver} -p /sbin/ldconfig
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2011-04-21 10:23:29 +02:00
|
|
|
%postun -n libpangomm%{so_ver} -p /sbin/ldconfig
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2011-04-21 10:23:29 +02:00
|
|
|
%files -n libpangomm%{so_ver}
|
2008-09-24 17:19:30 +02:00
|
|
|
%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)
|
2011-04-21 10:23:29 +02:00
|
|
|
%{_datadir}/devhelp/books/pangomm-1.4/
|
|
|
|
%{_datadir}/doc/pangomm-1.4/
|
2009-04-01 17:39:31 +02:00
|
|
|
# Avoid BuildRequires on devhelp
|
|
|
|
%dir %{_datadir}/devhelp
|
|
|
|
%dir %{_datadir}/devhelp/books
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%changelog
|