- force gcc 3.3.1 (to avoid buggy 3.3)
- separated -doc from -devel (over 10 times larger than the rest of -devel)
Changed files:
gtkmm-gcc33.patch -> 1.2
gtkmm.spec -> 1.60
+++ /dev/null
-diff -aurN gtkmm-2.2.3.orig/glib/glibmm/ustring.h gtkmm-2.2.3/glib/glibmm/ustring.h
---- gtkmm-2.2.3.orig/glib/glibmm/ustring.h 2003-04-21 00:40:43.000000000 +0200
-+++ gtkmm-2.2.3/glib/glibmm/ustring.h 2003-06-12 20:19:55.000000000 +0200
-@@ -520,7 +520,7 @@
-
- //! @}
-
--private:
-+public:
-
- #ifndef DOXYGEN_SHOULD_SKIP_THIS
-
-@@ -533,6 +533,7 @@
-
- #endif /* DOXYGEN_SHOULD_SKIP_THIS */
-
-+private:
- std::string string_;
- };
-
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.2/gtkmm-%{version}.tar.bz2
# Source0-md5: 4db1d133eda1e9f507d023f0e5042809
Patch0: %{name}-link.patch
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.2/gtkmm-%{version}.tar.bz2
# Source0-md5: 4db1d133eda1e9f507d023f0e5042809
Patch0: %{name}-link.patch
-Patch1: %{name}-gcc33.patch
URL: http://gtkmm.sourceforge.net/
BuildRequires: atk-devel >= 1.2.0
URL: http://gtkmm.sourceforge.net/
BuildRequires: atk-devel >= 1.2.0
+BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: esound-devel
BuildRequires: glib2-devel >= 2.2.1
BuildRequires: gtk+2-devel >= 2.2.1
BuildRequires: libsigc++-devel >= 1.2.1
BuildRequires: automake
BuildRequires: esound-devel
BuildRequires: glib2-devel >= 2.2.1
BuildRequires: gtk+2-devel >= 2.2.1
BuildRequires: libsigc++-devel >= 1.2.1
-BuildRequires: libstdc++-devel
-BuildRequires: libtool
+BuildRequires: libstdc++-devel >= 5:3.3.1
+BuildRequires: libtool >= 2:1.4d-3
BuildRequires: pango-devel >= 1.2.1
BuildRequires: perl >= 5.6
BuildRequires: pkgconfig
BuildRequires: pango-devel >= 1.2.1
BuildRequires: perl >= 5.6
BuildRequires: pkgconfig
Group: X11/Development/Libraries
Requires: %{name} = %{version}
Requires: %{name}-atk-devel = %{version}
Group: X11/Development/Libraries
Requires: %{name} = %{version}
Requires: %{name}-atk-devel = %{version}
-Requires: %{name}-glib-devel = %{version}
Requires: %{name}-pango-devel = %{version}
Requires: gtk+2-devel >= 2.2.1
Requires: %{name}-pango-devel = %{version}
Requires: gtk+2-devel >= 2.2.1
-Requires: libsigc++-devel >= 1.2.1
%description devel
Header files and development documentation for GTK-- library.
%description devel
Header files and development documentation for GTK-- library.
%description devel -l pl
Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
%description devel -l pl
Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
+%package doc
+Summary: Reference documentation and examples for GTK-- and GDK--
+Summary(pl): Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--
+Group: Documentation
+
+%description doc
+Reference documentation and examples for GTK-- and GDK--.
+
+%description doc -l pl
+Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--.
+
%package static
Summary: GTK-- and GDK-- static libraries
Summary(pl): Biblioteki statyczne GTK-- i GDK--
%package static
Summary: GTK-- and GDK-- static libraries
Summary(pl): Biblioteki statyczne GTK-- i GDK--
Requires: %{name}-glib-devel = %{version}
Requires: glib2-devel >= 2.2.1
Requires: libsigc++-devel >= 1.2.1
Requires: %{name}-glib-devel = %{version}
Requires: glib2-devel >= 2.2.1
Requires: libsigc++-devel >= 1.2.1
+Requires: libstdc++-devel >= 5:3.3.1
%description glib-devel
A C++ interface for glib library - header files.
%description glib-devel
A C++ interface for glib library - header files.
%prep
%setup -q
%patch0 -p1
%prep
%setup -q
%patch0 -p1
%files devel
%defattr(644,root,root,755)
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
%{_libdir}/libg[dt]kmm*.la
%attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
%{_libdir}/libg[dt]kmm*.la
%{_includedir}/gtkmm-2.0/g[dt]kmm*
%{_pkgconfigdir}/g[dt]kmm*.pc
%{_includedir}/gtkmm-2.0/g[dt]kmm*
%{_pkgconfigdir}/g[dt]kmm*.pc
+
+%files doc
+%defattr(644,root,root,755)
+%doc installed-docs/*
%{_examplesdir}/%{name}-%{version}
%files static
%{_examplesdir}/%{name}-%{version}
%files static