2007-01-12 16:15:41 +01:00
|
|
|
#
|
2011-05-04 13:59:21 +02:00
|
|
|
# spec file for package gtkmm2
|
2007-01-12 16:15:41 +01:00
|
|
|
#
|
2015-05-15 14:21:27 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-12 16:15:41 +01:00
|
|
|
#
|
2008-09-05 02:34:33 +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.
|
|
|
|
|
2007-01-12 16:15:41 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-03-19 12:31:24 +01:00
|
|
|
|
2007-01-12 16:15:41 +01:00
|
|
|
Name: gtkmm2
|
|
|
|
%define _name gtkmm
|
2013-06-29 16:19:00 +02:00
|
|
|
Version: 2.24.4
|
2013-03-13 23:51:18 +01:00
|
|
|
Release: 0
|
2007-01-12 16:15:41 +01:00
|
|
|
Summary: C++ Interface for GTK2 (a GUI Library for X)
|
2013-03-13 23:51:18 +01:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/Libraries
|
2007-09-19 19:07:16 +02:00
|
|
|
Url: http://www.gtkmm.org/
|
2013-04-08 09:53:03 +02:00
|
|
|
Source: http://download.gnome.org/sources/gtkmm/2.24/%{_name}-%{version}.tar.xz
|
2015-05-15 14:21:27 +02:00
|
|
|
Source99: baselibs.conf
|
2016-02-01 23:17:36 +01:00
|
|
|
# PATCH-FIX-UPSTREAM gtkmm2-new-glibmm-fixes.patch zaitor@opensuse.org -- Add commits from upstream to support new glibmm.
|
|
|
|
Patch0: gtkmm2-new-glibmm-fixes.patch
|
2013-04-08 09:53:03 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2016-02-01 23:17:36 +01:00
|
|
|
BuildRequires: pkgconfig(atkmm-1.6) >= 2.22.2
|
|
|
|
BuildRequires: pkgconfig(cairomm-1.0)
|
|
|
|
BuildRequires: pkgconfig(giomm-2.4) >= 2.27.93
|
2013-04-08 09:53:03 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.0
|
2016-02-01 23:17:36 +01:00
|
|
|
BuildRequires: pkgconfig(pangomm-1.4) >= 2.27.1
|
|
|
|
BuildRequires: pkgconfig(sigc++-2.0)
|
2007-01-12 16:15:41 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps
|
|
|
|
GTK+ 2. Highlights include typesafe callbacks, widgets extensible via
|
|
|
|
inheritance, and a comprehensive set of widget classes that can be
|
|
|
|
freely combined to quickly create complex user interfaces.
|
|
|
|
|
2010-08-09 22:34:57 +02:00
|
|
|
%package -n libgtkmm-2_4-1
|
|
|
|
Summary: C++ Interface for GTK2 (a GUI library for X)
|
2013-03-13 23:51:18 +01:00
|
|
|
Group: System/Libraries
|
2010-08-09 22:34:57 +02:00
|
|
|
Provides: gtkmm2 = %{version}
|
2010-10-15 16:39:35 +02:00
|
|
|
Obsoletes: gtkmm2 < %{version}
|
2010-08-09 22:34:57 +02:00
|
|
|
Provides: gtkmm24 = %{version}
|
|
|
|
Obsoletes: gtkmm24 < %{version}
|
|
|
|
|
|
|
|
%description -n libgtkmm-2_4-1
|
|
|
|
Gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps
|
|
|
|
GTK+ 2. Highlights include typesafe callbacks, widgets extensible via
|
|
|
|
inheritance and a comprehensive set of widget classes that can be
|
|
|
|
freely combined to quickly create complex user interfaces.
|
|
|
|
|
2007-01-12 16:15:41 +01:00
|
|
|
%package devel
|
|
|
|
Summary: C++ Interface for GTK2 (a GUI library for X)
|
2013-03-13 23:51:18 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-08-09 22:34:57 +02:00
|
|
|
Requires: libgtkmm-2_4-1 = %{version}
|
2007-01-12 16:15:41 +01:00
|
|
|
Provides: gtkmm24-devel = %{version}
|
2010-08-09 22:34:57 +02:00
|
|
|
Obsoletes: gtkmm24-devel < %{version}
|
2011-04-28 23:57:21 +02:00
|
|
|
Provides: %{name}-doc = %{version}
|
|
|
|
Obsoletes: %{name}-doc < %{version}
|
2007-01-12 16:15:41 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps
|
|
|
|
GTK+ 2. Highlights include typesafe callbacks, widgets extensible via
|
|
|
|
inheritance and a comprehensive set of widget classes that can be
|
|
|
|
freely combined to quickly create complex user interfaces.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{_name}-%{version}
|
2016-02-01 23:17:36 +01:00
|
|
|
%patch0 -p1
|
2007-01-12 16:15:41 +01:00
|
|
|
|
|
|
|
%build
|
2016-02-01 23:17:36 +01:00
|
|
|
export CFLAGS="%{optflags} -std=c++11"
|
|
|
|
export CXXFLAGS="%{optflags} -std=c++11"
|
2011-04-28 23:57:21 +02:00
|
|
|
%configure \
|
2013-06-29 16:19:00 +02:00
|
|
|
--disable-static
|
2013-04-08 09:53:03 +02:00
|
|
|
make %{?_smp_mflags} gtkmm_docdir=%{_docdir}/%{name}/docs
|
2007-01-12 16:15:41 +01:00
|
|
|
|
|
|
|
%install
|
2013-04-08 09:53:03 +02:00
|
|
|
%make_install
|
2011-04-28 23:57:21 +02:00
|
|
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
2009-09-04 01:44:28 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-07-30 22:57:38 +02:00
|
|
|
|
2007-01-12 16:15:41 +01:00
|
|
|
%clean
|
2011-04-28 23:57:21 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-12 16:15:41 +01:00
|
|
|
|
2010-08-09 22:34:57 +02:00
|
|
|
%post -n libgtkmm-2_4-1 -p /sbin/ldconfig
|
2007-01-12 16:15:41 +01:00
|
|
|
|
2010-08-09 22:34:57 +02:00
|
|
|
%postun -n libgtkmm-2_4-1 -p /sbin/ldconfig
|
2007-01-12 16:15:41 +01:00
|
|
|
|
2010-08-09 22:34:57 +02:00
|
|
|
%files -n libgtkmm-2_4-1
|
2007-01-12 16:15:41 +01:00
|
|
|
%defattr (-, root, root)
|
2013-06-29 16:19:00 +02:00
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
2007-01-12 16:15:41 +01:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2010-08-09 22:34:57 +02:00
|
|
|
%{_libdir}/gdkmm-2.4/
|
|
|
|
%{_libdir}/gtkmm-2.4/
|
2011-07-09 20:58:53 +02:00
|
|
|
%doc %{_datadir}/devhelp/books/%{_name}-2.4/
|
|
|
|
%doc %{_datadir}/doc/%{_name}-2.4/
|
2009-02-06 20:15:12 +01:00
|
|
|
|
2007-04-12 17:37:52 +02:00
|
|
|
%changelog
|