1 %include /usr/lib/rpm/macros.perl
2 Summary: A C++ interface for the GTK+ (a GUI library for X)
3 Summary(pl): Wrapper C++ dla GTK+
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.2/gtkmm-%{version}.tar.bz2
10 # Source0-md5: 59c9860ee33203b9e7435dde09e748f3
11 Patch0: %{name}-link.patch
12 Patch1: %{name}-gcc33.patch
13 URL: http://gtkmm.sourceforge.net/
14 BuildRequires: atk-devel >= 1.2.0
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: esound-devel
18 BuildRequires: glib2-devel >= 2.2.1
19 BuildRequires: gtk+2-devel >= 2.2.1
20 BuildRequires: libsigc++-devel >= 1.2.1
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtool
23 BuildRequires: pango-devel >= 1.2.1
24 BuildRequires: perl >= 5.6
25 BuildRequires: pkgconfig
26 BuildRequires: rpm-perlprov >= 3.0.3-16
27 BuildRequires: zlib-devel
28 Requires: %{name}-glib = %{version}
29 Requires: %{name}-pango = %{version}
30 Requires: %{name}-atk = %{version}
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
37 library. The interface provides a convenient interface for C++
38 programmers to create GUIs with GTK+'s flexible object-oriented
39 framework. Features include type safe callbacks, widgets that are
40 extensible using inheritance and over 110 classes that can be freely
41 combined to quickly create complex user interfaces.
44 GTK-- jest wrapperem C++ dla Gimp ToolKit (GTK). GTK jest bibliotek±
45 s³u¿±c± do tworzenia graficznych interfejsów. W pakiecie znajduje siê
46 tak¿e biblioteka GDK-- - wrapper C++ dla GDK (General Drawing Kit).
49 Summary: GTK-- and GDK-- header files, development documentation
50 Summary(pl): Pliki nag³ówkowe GTK-- i GDK--, dokumentacja dla programistów
51 Group: X11/Development/Libraries
52 Requires: %{name} = %{version}
53 Requires: %{name}-glib-devel = %{version}
54 Requires: %{name}-pango-devel = %{version}
55 Requires: %{name}-atk-devel = %{version}
56 Requires: gtk+2-devel >= 2.2.1
57 Requires: libsigc++-devel >= 1.2.1
60 Header files and development documentation for GTK-- library.
62 %description devel -l pl
63 Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
66 Summary: GTK-- and GDK-- static libraries
67 Summary(pl): Biblioteki statyczne GTK-- i GDK--
68 Group: X11/Development/Libraries
69 Requires: %{name}-devel = %{version}
72 GTK-- and GDK-- static libraries.
74 %description static -l pl
75 Biblioteki statyczne GTK-- i GDK--.
78 Summary: A C++ interface for atk library
79 Summary(pl): Interfejs C++ dla biblioteki atk
80 Group: X11/Development/Libraries
81 Requires: %{name}-glib = %{version}
84 A C++ interface for atk library.
86 %description atk -l pl
87 Interfejs C++ dla biblioteki atk.
90 Summary: A C++ interface for atk library - header files
91 Summary(pl): Interfejs C++ dla biblioteki atk - pliki nag³ówkowe
92 Group: X11/Development/Libraries
93 Requires: %{name}-atk = %{version}
94 Requires: %{name}-glib-devel = %{version}
95 Requires: atk-devel >= 1.2.0
97 %description atk-devel
98 A C++ interface for atk library - header files.
100 %description atk-devel -l pl
101 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
104 Summary: A C++ interface for atk library - static version
105 Summary(pl): Interfejs C++ dla biblioteki atk - wersja statyczna
106 Group: X11/Development/Libraries
107 Requires: %{name}-atk-devel = %{version}
109 %description atk-static
110 A C++ interface for atk library - static version.
112 %description atk-static -l pl
113 Interfejs C++ dla biblioteki atk - wersja statyczna.
116 Summary: A C++ interface for glib library
117 Summary(pl): Interfejs C++ dla biblioteki glib
118 Group: X11/Development/Libraries
121 A C++ interface for glib library.
123 %description glib -l pl
124 Interfejs C++ dla biblioteki glib.
127 Summary: A C++ interface for glib library - header files
128 Summary(pl): Interfejs C++ dla biblioteki glib - pliki nag³ówkowe
129 Group: X11/Development/Libraries
130 Requires: %{name}-glib-devel = %{version}
131 Requires: glib2-devel >= 2.2.1
132 Requires: libsigc++-devel >= 1.2.1
134 %description glib-devel
135 A C++ interface for glib library - header files.
137 %description glib-devel -l pl
138 Interfejs C++ dla biblioteki glib - pliki nag³ówkowe.
141 Summary: A C++ interface for glib library - static version
142 Summary(pl): Interfejs C++ dla biblioteki glib - wersja statyczna
143 Group: X11/Development/Libraries
144 Requires: %{name}-glib-devel = %{version}
146 %description glib-static
147 A C++ interface for glib library - static version.
149 %description glib-static -l pl
150 Interfejs C++ dla biblioteki glib - wersja statyczna.
153 Summary: A C++ interface for pango library
154 Summary(pl): Interfejs C++ dla biblioteki pango
155 Group: X11/Development/Libraries
156 Requires: %{name}-glib = %{version}
159 A C++ interface for pango library.
161 %description pango -l pl
162 Interfejs C++ dla biblioteki pango.
165 Summary: A C++ interface for pango library - header files
166 Summary(pl): Interfejs C++ dla biblioteki pango - pliki nag³ówkowe
167 Group: X11/Development/Libraries
168 Requires: %{name}-pango = %{version}
169 Requires: %{name}-glib-devel = %{version}
170 Requires: pango-devel >= 1.2.1
172 %description pango-devel
173 A C++ interface for pango library - header files.
175 %description pango-devel -l pl
176 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
178 %package pango-static
179 Summary: A C++ interface for pango library - static version
180 Summary(pl): Interfejs C++ dla biblioteki pango - wersja statyczna
181 Group: X11/Development/Libraries
182 Requires: %{name}-pango-devel = %{version}
184 %description pango-static
185 A C++ interface for pango library - static version.
187 %description pango-static -l pl
188 Interfejs C++ dla biblioteki pango - wersja statyczna.
191 %setup -q -n gtkmm-%{version}
197 %{__aclocal} -I scripts
201 # exceptions and rtti are used in this package --misiek
207 rm -rf $RPM_BUILD_ROOT
210 DESTDIR=$RPM_BUILD_ROOT \
211 pkgconfigdir=%{_pkgconfigdir}
213 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.0/docs installed-docs
214 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
215 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.0/examples/* \
216 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
219 rm -rf $RPM_BUILD_ROOT
221 %post -p /sbin/ldconfig
222 %postun -p /sbin/ldconfig
224 %post -n %{name}-atk -p /sbin/ldconfig
225 %postun -n %{name}-atk -p /sbin/ldconfig
227 %post -n %{name}-glib -p /sbin/ldconfig
228 %postun -n %{name}-glib -p /sbin/ldconfig
230 %post -n %{name}-pango -p /sbin/ldconfig
231 %postun -n %{name}-pango -p /sbin/ldconfig
234 %defattr(644,root,root,755)
235 %doc README ChangeLog AUTHORS NEWS
236 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
239 %defattr(644,root,root,755)
240 %doc installed-docs/*
241 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
242 %{_libdir}/libg[dt]kmm*.la
244 %{_libdir}/gtkmm-*/include/g[dt]kmm*
245 %dir %{_libdir}/gtkmm-2.0/proc
246 %{_libdir}/gtkmm-*/proc/m4
247 %{_libdir}/gtkmm-*/proc/pm
248 %attr(755,root,root) %{_libdir}/gtkmm-*/proc/gtkmmproc
249 %attr(755,root,root) %{_libdir}/gtkmm-*/proc/*.pl
251 %{_includedir}/gtkmm-2.0/g[dt]kmm*
252 %{_pkgconfigdir}/g[dt]kmm*.pc
253 %{_examplesdir}/%{name}-%{version}
256 %defattr(644,root,root,755)
257 %{_libdir}/libg[dt]kmm*.a
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
264 %defattr(644,root,root,755)
265 %attr(755,root,root) %{_libdir}/libatkmm*.so
266 %{_libdir}/libatkmm*.la
267 %{_pkgconfigdir}/atkmm*.pc
268 %{_includedir}/gtkmm-2.0/atkmm*
271 %defattr(644,root,root,755)
272 %{_libdir}/libatkmm*.a
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_libdir}/libglibmm*.so.*.*
279 %defattr(644,root,root,755)
280 %attr(755,root,root) %{_libdir}/libglibmm*.so
281 %{_libdir}/libglibmm*.la
283 %dir %{_libdir}/gtkmm-2.0
284 %dir %{_libdir}/gtkmm-2.0/include
285 %{_libdir}/gtkmm-*/include/glibmm*
287 %dir %{_includedir}/gtkmm-2.0
288 %{_includedir}/gtkmm-2.0/glibmm*
289 %{_pkgconfigdir}/glibmm*.pc
292 %defattr(644,root,root,755)
293 %{_libdir}/libglibmm*.a
296 %defattr(644,root,root,755)
297 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
300 %defattr(644,root,root,755)
301 %attr(755,root,root) %{_libdir}/libpangomm*.so
302 %{_libdir}/libpangomm*.la
303 %{_pkgconfigdir}/pangomm*.pc
304 %{_includedir}/gtkmm-2.0/pangomm*
307 %defattr(644,root,root,755)
308 %{_libdir}/libpangomm*.a