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
|
|
|
#
|
2018-03-09 11:01:16 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX 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.
|
|
|
|
|
2018-12-13 16:17:10 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-09-24 17:19:30 +02:00
|
|
|
#
|
|
|
|
|
2011-07-11 09:04:49 +02:00
|
|
|
|
2018-12-13 16:17:10 +01:00
|
|
|
%define base_ver 2.44
|
2018-03-09 11:01:16 +01:00
|
|
|
# Update baselibs.conf when changing the version here
|
2018-12-13 16:17:10 +01:00
|
|
|
%define libname lib%{name}-2_44-1
|
2008-09-24 17:19:30 +02:00
|
|
|
Name: pangomm
|
2018-12-13 16:17:10 +01:00
|
|
|
Version: 2.43.1
|
2012-02-13 13:41:10 +01:00
|
|
|
Release: 0
|
2008-09-24 17:19:30 +02:00
|
|
|
Summary: C++ interface for pango
|
2018-03-09 11:01:16 +01:00
|
|
|
License: LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-3.0-only
|
2012-02-13 13:41:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-09 11:01:16 +01:00
|
|
|
URL: https://www.gtkmm.org
|
2018-12-13 16:17:10 +01:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/2.43/%{name}-%{version}.tar.xz
|
2015-03-20 10:47:07 +01:00
|
|
|
Source99: baselibs.conf
|
2018-12-13 16:17:10 +01:00
|
|
|
|
2011-04-21 10:23:29 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2018-03-09 11:01:16 +01:00
|
|
|
BuildRequires: pkgconfig
|
2016-12-06 12:50:43 +01:00
|
|
|
BuildRequires: pkgconfig(cairomm-1.16) >= 1.2.2
|
2018-12-13 16:17:10 +01:00
|
|
|
BuildRequires: pkgconfig(glibmm-2.60)
|
|
|
|
BuildRequires: pkgconfig(pangocairo) >= 1.31.0
|
2018-03-09 11:01:16 +01:00
|
|
|
Recommends: %{name}-doc = %{version}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%description
|
2018-03-11 15:25:49 +01:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2018-03-09 11:01:16 +01:00
|
|
|
%package -n %{libname}
|
2018-03-11 15:25:49 +01:00
|
|
|
Summary: C++ interface for Pango
|
2018-03-09 11:01:16 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-12-05 15:09:53 +01:00
|
|
|
Group: System/Libraries
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2018-03-09 11:01:16 +01:00
|
|
|
%description -n %{libname}
|
2018-03-11 15:25:49 +01:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%package devel
|
2018-03-11 15:25:49 +01:00
|
|
|
Summary: Development files for pangomm, a C++ API for Pango
|
2018-03-09 11:01:16 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2012-02-13 13:41:10 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-09 11:01:16 +01:00
|
|
|
Requires: %{libname} >= %{version}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%description devel
|
2018-03-11 15:25:49 +01:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%package doc
|
2018-03-11 15:25:49 +01:00
|
|
|
Summary: Developer documentation for pangomm, a C++ interface for Pango
|
2018-03-09 11:01:16 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2016-12-05 15:09:53 +01:00
|
|
|
Group: Documentation/HTML
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%description doc
|
2018-03-11 15:25:49 +01:00
|
|
|
pangomm provides a C++ interface to the pango library.
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%prep
|
2018-03-09 11:01:16 +01:00
|
|
|
%setup -q
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%build
|
2011-04-21 10:23:29 +02:00
|
|
|
%configure --disable-static
|
2016-12-05 15:09:53 +01:00
|
|
|
make %{?_smp_mflags}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%install
|
2016-12-05 15:09:53 +01:00
|
|
|
%make_install
|
2018-03-09 11:01:16 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2017-09-09 12:26:55 +02:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2018-03-09 11:01:16 +01:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
2008-09-24 17:19:30 +02:00
|
|
|
|
2018-03-09 11:01:16 +01:00
|
|
|
%files -n %{libname}
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
|
|
|
%{_libdir}/libpangomm-%{base_ver}.so.*
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%files devel
|
2018-03-09 11:01:16 +01:00
|
|
|
%license COPYING.tools
|
|
|
|
%{_includedir}/pangomm-%{base_ver}/
|
|
|
|
%{_libdir}/libpangomm-%{base_ver}.so
|
|
|
|
%{_libdir}/pkgconfig/pangomm-%{base_ver}.pc
|
|
|
|
%{_libdir}/pangomm-%{base_ver}
|
2008-09-24 17:19:30 +02:00
|
|
|
|
|
|
|
%files doc
|
2018-03-09 11:01:16 +01:00
|
|
|
%doc AUTHORS README
|
|
|
|
%{_datadir}/devhelp/books/pangomm-%{base_ver}/
|
|
|
|
%{_datadir}/doc/pangomm-%{base_ver}/
|
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
|