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: 7cf0914a7cc677554d756ab481e72990
11 Patch0: %{name}-DESTDIR.patch
12 Patch1: %{name}-link.patch
13 Patch2: %{name}-acfix.patch
14 URL: http://gtkmm.sourceforge.net/
15 BuildRequires: atk-devel >= 1.2.0
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: esound-devel
19 BuildRequires: glib2-devel >= 2.2.1
20 BuildRequires: gtk+2-devel >= 2.2.1
21 BuildRequires: libsigc++-devel >= 1.2.1
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool
24 BuildRequires: pango-devel >= 1.2.1
25 BuildRequires: perl >= 5.6
26 BuildRequires: pkgconfig
27 BuildRequires: rpm-perlprov >= 3.0.3-16
28 BuildRequires: zlib-devel
29 Requires: %{name}-glib = %{version}
30 Requires: %{name}-pango = %{version}
31 Requires: %{name}-atk = %{version}
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
38 library. The interface provides a convenient interface for C++
39 programmers to create GUIs with GTK+'s flexible object-oriented
40 framework. Features include type safe callbacks, widgets that are
41 extensible using inheritance and over 110 classes that can be freely
42 combined to quickly create complex user interfaces.
45 GTK-- jest wrapperem C++ dla Gimp ToolKit (GTK). GTK jest bibliotek±
46 s³u¿±c± do tworzenia graficznych interfejsów. W pakiecie znajduje siê
47 tak¿e biblioteka GDK-- - wrapper C++ dla GDK (General Drawing Kit).
50 Summary: GTK-- and GDK-- header files, development documentation
51 Summary(pl): Pliki nag³ówkowe GTK-- i GDK--, dokumentacja dla programistów
52 Group: X11/Development/Libraries
53 Requires: %{name} = %{version}
54 Requires: %{name}-glib-devel = %{version}
55 Requires: %{name}-pango-devel = %{version}
56 Requires: %{name}-atk-devel = %{version}
57 Requires: gtk+2-devel >= 2.2.1
58 Requires: libsigc++-devel >= 1.2.1
61 Header files and development documentation for GTK-- library.
63 %description devel -l pl
64 Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
67 Summary: GTK-- and GDK-- static libraries
68 Summary(pl): Biblioteki statyczne GTK-- i GDK--
69 Group: X11/Development/Libraries
70 Requires: %{name}-devel = %{version}
73 GTK-- and GDK-- static libraries.
75 %description static -l pl
76 Biblioteki statyczne GTK-- i GDK--.
79 Summary: A C++ interface for atk library
80 Summary(pl): Interfejs C++ dla biblioteki atk
81 Group: X11/Development/Libraries
82 Requires: %{name}-glib = %{version}
85 A C++ interface for atk library.
87 %description atk -l pl
88 Interfejs C++ dla biblioteki atk.
91 Summary: A C++ interface for atk library - header files
92 Summary(pl): Interfejs C++ dla biblioteki atk - pliki nag³ówkowe
93 Group: X11/Development/Libraries
94 Requires: %{name}-atk = %{version}
95 Requires: %{name}-glib-devel = %{version}
96 Requires: atk-devel >= 1.2.0
98 %description atk-devel
99 A C++ interface for atk library - header files.
101 %description atk-devel -l pl
102 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
105 Summary: A C++ interface for atk library - static version
106 Summary(pl): Interfejs C++ dla biblioteki atk - wersja statyczna
107 Group: X11/Development/Libraries
108 Requires: %{name}-atk-devel = %{version}
110 %description atk-static
111 A C++ interface for atk library - static version.
113 %description atk-static -l pl
114 Interfejs C++ dla biblioteki atk - wersja statyczna.
117 Summary: A C++ interface for glib library
118 Summary(pl): Interfejs C++ dla biblioteki glib
119 Group: X11/Development/Libraries
122 A C++ interface for glib library.
124 %description glib -l pl
125 Interfejs C++ dla biblioteki glib.
128 Summary: A C++ interface for glib library - header files
129 Summary(pl): Interfejs C++ dla biblioteki glib - pliki nag³ówkowe
130 Group: X11/Development/Libraries
131 Requires: %{name}-glib-devel = %{version}
132 Requires: glib2-devel >= 2.2.1
133 Requires: libsigc++-devel >= 1.2.1
135 %description glib-devel
136 A C++ interface for glib library - header files.
138 %description glib-devel -l pl
139 Interfejs C++ dla biblioteki glib - pliki nag³ówkowe.
142 Summary: A C++ interface for glib library - static version
143 Summary(pl): Interfejs C++ dla biblioteki glib - wersja statyczna
144 Group: X11/Development/Libraries
145 Requires: %{name}-glib-devel = %{version}
147 %description glib-static
148 A C++ interface for glib library - static version.
150 %description glib-static -l pl
151 Interfejs C++ dla biblioteki glib - wersja statyczna.
154 Summary: A C++ interface for pango library
155 Summary(pl): Interfejs C++ dla biblioteki pango
156 Group: X11/Development/Libraries
157 Requires: %{name}-glib = %{version}
160 A C++ interface for pango library.
162 %description pango -l pl
163 Interfejs C++ dla biblioteki pango.
166 Summary: A C++ interface for pango library - header files
167 Summary(pl): Interfejs C++ dla biblioteki pango - pliki nag³ówkowe
168 Group: X11/Development/Libraries
169 Requires: %{name}-pango = %{version}
170 Requires: %{name}-glib-devel = %{version}
171 Requires: pango-devel >= 1.2.1
173 %description pango-devel
174 A C++ interface for pango library - header files.
176 %description pango-devel -l pl
177 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
179 %package pango-static
180 Summary: A C++ interface for pango library - static version
181 Summary(pl): Interfejs C++ dla biblioteki pango - wersja statyczna
182 Group: X11/Development/Libraries
183 Requires: %{name}-pango-devel = %{version}
185 %description pango-static
186 A C++ interface for pango library - static version.
188 %description pango-static -l pl
189 Interfejs C++ dla biblioteki pango - wersja statyczna.
192 %setup -q -n gtkmm-%{version}
199 %{__aclocal} -I scripts
203 # exceptions and rtti are used in this package --misiek
209 rm -rf $RPM_BUILD_ROOT
212 DESTDIR=$RPM_BUILD_ROOT \
213 pkgconfigdir=%{_pkgconfigdir}
215 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.0/docs installed-docs
216 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
217 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.0/examples/* \
218 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
221 rm -rf $RPM_BUILD_ROOT
223 %post -p /sbin/ldconfig
224 %postun -p /sbin/ldconfig
226 %post -n %{name}-atk -p /sbin/ldconfig
227 %postun -n %{name}-atk -p /sbin/ldconfig
229 %post -n %{name}-glib -p /sbin/ldconfig
230 %postun -n %{name}-glib -p /sbin/ldconfig
232 %post -n %{name}-pango -p /sbin/ldconfig
233 %postun -n %{name}-pango -p /sbin/ldconfig
236 %defattr(644,root,root,755)
237 %doc README ChangeLog AUTHORS NEWS
238 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
241 %defattr(644,root,root,755)
242 %doc installed-docs/*
243 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
244 %{_libdir}/libg[dt]kmm*.la
246 %{_libdir}/gtkmm-*/include/g[dt]kmm*
247 %dir %{_libdir}/gtkmm-2.0/proc
248 %{_libdir}/gtkmm-*/proc/m4
249 %{_libdir}/gtkmm-*/proc/pm
250 %attr(755,root,root) %{_libdir}/gtkmm-*/proc/gtkmmproc
251 %attr(755,root,root) %{_libdir}/gtkmm-*/proc/*.pl
253 %{_includedir}/gtkmm-2.0/g[dt]kmm*
254 %{_pkgconfigdir}/g[dt]kmm*.pc
255 %{_examplesdir}/%{name}-%{version}
258 %defattr(644,root,root,755)
259 %{_libdir}/libg[dt]kmm*.a
262 %defattr(644,root,root,755)
263 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
266 %defattr(644,root,root,755)
267 %attr(755,root,root) %{_libdir}/libatkmm*.so
268 %{_libdir}/libatkmm*.la
269 %{_pkgconfigdir}/atkmm*.pc
270 %{_includedir}/gtkmm-2.0/atkmm*
273 %defattr(644,root,root,755)
274 %{_libdir}/libatkmm*.a
277 %defattr(644,root,root,755)
278 %attr(755,root,root) %{_libdir}/libglibmm*.so.*.*
281 %defattr(644,root,root,755)
282 %attr(755,root,root) %{_libdir}/libglibmm*.so
283 %{_libdir}/libglibmm*.la
285 %dir %{_libdir}/gtkmm-2.0
286 %dir %{_libdir}/gtkmm-2.0/include
287 %{_libdir}/gtkmm-*/include/glibmm*
289 %dir %{_includedir}/gtkmm-2.0
290 %{_includedir}/gtkmm-2.0/glibmm*
291 %{_pkgconfigdir}/glibmm*.pc
294 %defattr(644,root,root,755)
295 %{_libdir}/libglibmm*.a
298 %defattr(644,root,root,755)
299 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
302 %defattr(644,root,root,755)
303 %attr(755,root,root) %{_libdir}/libpangomm*.so
304 %{_libdir}/libpangomm*.la
305 %{_pkgconfigdir}/pangomm*.pc
306 %{_includedir}/gtkmm-2.0/pangomm*
309 %defattr(644,root,root,755)
310 %{_libdir}/libpangomm*.a