2007-01-12 16:15:41 +01:00
|
|
|
#
|
2010-05-14 00:34:45 +02:00
|
|
|
# spec file for package gtkmm2 (Version 2.20.3)
|
2007-01-12 16:15:41 +01:00
|
|
|
#
|
2010-01-18 14:12:09 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-19 12:31:24 +01:00
|
|
|
|
2007-01-12 16:15:41 +01:00
|
|
|
Name: gtkmm2
|
|
|
|
%define _name gtkmm
|
2009-02-06 20:15:12 +01:00
|
|
|
BuildRequires: cairomm-devel fdupes gcc-c++ glibmm2-devel libsigc++2-devel pangomm-devel update-desktop-files
|
|
|
|
BuildRequires: gtk2-devel >= 2.15.1
|
2010-05-14 00:34:45 +02:00
|
|
|
Version: 2.20.3
|
2010-01-18 14:12:09 +01:00
|
|
|
Release: 1
|
2007-01-12 16:15:41 +01:00
|
|
|
Group: System/Libraries
|
2010-04-08 12:33:25 +02:00
|
|
|
License: LGPLv2.1+
|
2007-01-12 16:15:41 +01:00
|
|
|
Summary: C++ Interface for GTK2 (a GUI Library for X)
|
2007-09-19 19:07:16 +02:00
|
|
|
Url: http://www.gtkmm.org/
|
2007-01-12 16:15:41 +01:00
|
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.10/%{_name}-%{version}.tar.bz2
|
|
|
|
Provides: gtkmm24 = %{version}
|
|
|
|
Obsoletes: gtkmm24
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package devel
|
2010-01-15 02:30:09 +01:00
|
|
|
License: LGPLv2.1+
|
2007-01-12 16:15:41 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: C++ Interface for GTK2 (a GUI library for X)
|
2008-09-25 14:40:43 +02:00
|
|
|
Requires: %{name} = %{version} gtk2-devel glibmm2-devel cairomm-devel atk-devel pango-devel pangomm-devel
|
2007-01-12 16:15:41 +01:00
|
|
|
Provides: gtkmm24-devel = %{version}
|
|
|
|
Obsoletes: gtkmm24-devel
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2009-02-06 20:15:12 +01:00
|
|
|
%package doc
|
2010-01-15 02:30:09 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2009-02-06 20:15:12 +01:00
|
|
|
Group: Documentation/HTML
|
|
|
|
Summary: C++ Interface for GTK2 (a GUI Library for X)
|
|
|
|
Requires: glibmm2-doc
|
2010-01-15 02:30:09 +01:00
|
|
|
%if %suse_version > 1120
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2009-02-06 20:15:12 +01:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
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
|
|
|
%prep
|
|
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
# FIXME: cannot autoreconf, HAVE_MKFIFO is missing.
|
|
|
|
#ACLOCAL="aclocal -I scripts" autoreconf -f -i
|
|
|
|
%configure
|
|
|
|
make %{?jobs:-j%jobs} gtkmm_docdir=%{_docdir}/%{name}/docs
|
|
|
|
|
|
|
|
%install
|
2009-09-04 01:44:28 +02:00
|
|
|
%makeinstall
|
2008-01-30 02:43:11 +01:00
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
|
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
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-01-30 02:43:11 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-12 16:15:41 +01:00
|
|
|
|
2008-01-30 02:43:11 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-12 16:15:41 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr (-, root, root)
|
2009-10-06 00:54:11 +02:00
|
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
|
2007-01-12 16:15:41 +01:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/gdkmm-2.4
|
|
|
|
%{_libdir}/gtkmm-2.4
|
2009-02-06 20:15:12 +01:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr (-, root, root)
|
2007-01-12 16:15:41 +01:00
|
|
|
%{_datadir}/devhelp/books/gtkmm-2.4
|
2009-09-04 01:44:28 +02:00
|
|
|
%{_datadir}/doc/gtkmm-2.4
|
2008-03-19 12:31:24 +01:00
|
|
|
%{_datadir}/gtkmm-2.4
|
2009-04-01 17:39:54 +02:00
|
|
|
# Avoid BuildRequires on devhelp
|
|
|
|
%dir %{_datadir}/devhelp
|
|
|
|
%dir %{_datadir}/devhelp/books
|
2008-01-30 02:43:11 +01:00
|
|
|
|
2007-04-12 17:37:52 +02:00
|
|
|
%changelog
|