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: c612c008f7d8930b03d36418b6d6ba82
11 Patch0: %{name}-link.patch
12 URL: http://gtkmm.sourceforge.net/
13 BuildRequires: atk-devel >= 1.2.0
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: esound-devel
17 BuildRequires: glib2-devel >= 2.2.1
18 BuildRequires: gtk+2-devel >= 2.2.1
19 BuildRequires: libsigc++-devel >= 1.2.1
20 BuildRequires: libstdc++-devel >= 5:3.3.1
21 BuildRequires: libtool >= 2:1.4d-3
22 BuildRequires: pango-devel >= 1.2.1
23 BuildRequires: perl >= 5.6
24 BuildRequires: pkgconfig
25 BuildRequires: rpm-perlprov >= 3.0.3-16
26 BuildRequires: zlib-devel
27 Requires: %{name}-atk = %{version}-%{release}
28 Requires: %{name}-glib = %{version}-%{release}
29 Requires: %{name}-pango = %{version}-%{release}
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
36 library. The interface provides a convenient interface for C++
37 programmers to create GUIs with GTK+'s flexible object-oriented
38 framework. Features include type safe callbacks, widgets that are
39 extensible using inheritance and over 110 classes that can be freely
40 combined to quickly create complex user interfaces.
43 GTK-- jest wrapperem C++ dla Gimp ToolKit (GTK). GTK jest bibliotek±
44 s³u¿±c± do tworzenia graficznych interfejsów. W pakiecie znajduje siê
45 tak¿e biblioteka GDK-- - wrapper C++ dla GDK (General Drawing Kit).
48 Summary: GTK-- and GDK-- header files, development documentation
49 Summary(pl): Pliki nag³ówkowe GTK-- i GDK--, dokumentacja dla programistów
50 Group: X11/Development/Libraries
51 Requires: %{name} = %{version}-%{release}
52 Requires: %{name}-atk-devel = %{version}-%{release}
53 Requires: %{name}-pango-devel = %{version}-%{release}
54 Requires: gtk+2-devel >= 2.2.1
57 Header files and development documentation for GTK-- library.
59 %description devel -l pl
60 Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
63 Summary: Reference documentation and examples for GTK-- and GDK--
64 Summary(pl): Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--
68 Reference documentation and examples for GTK-- and GDK--.
70 %description doc -l pl
71 Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--.
74 Summary: GTK-- and GDK-- static libraries
75 Summary(pl): Biblioteki statyczne GTK-- i GDK--
76 Group: X11/Development/Libraries
77 Requires: %{name}-devel = %{version}-%{release}
80 GTK-- and GDK-- static libraries.
82 %description static -l pl
83 Biblioteki statyczne GTK-- i GDK--.
86 Summary: A C++ interface for atk library
87 Summary(pl): Interfejs C++ dla biblioteki atk
88 Group: X11/Development/Libraries
89 Requires: %{name}-glib = %{version}-%{release}
92 A C++ interface for atk library.
94 %description atk -l pl
95 Interfejs C++ dla biblioteki atk.
98 Summary: A C++ interface for atk library - header files
99 Summary(pl): Interfejs C++ dla biblioteki atk - pliki nag³ówkowe
100 Group: X11/Development/Libraries
101 Requires: %{name}-atk = %{version}-%{release}
102 Requires: %{name}-glib-devel = %{version}-%{release}
103 Requires: atk-devel >= 1.2.0
105 %description atk-devel
106 A C++ interface for atk library - header files.
108 %description atk-devel -l pl
109 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
112 Summary: A C++ interface for atk library - static version
113 Summary(pl): Interfejs C++ dla biblioteki atk - wersja statyczna
114 Group: X11/Development/Libraries
115 Requires: %{name}-atk-devel = %{version}-%{release}
117 %description atk-static
118 A C++ interface for atk library - static version.
120 %description atk-static -l pl
121 Interfejs C++ dla biblioteki atk - wersja statyczna.
124 Summary: A C++ interface for glib library
125 Summary(pl): Interfejs C++ dla biblioteki glib
126 Group: X11/Development/Libraries
129 A C++ interface for glib library.
131 %description glib -l pl
132 Interfejs C++ dla biblioteki glib.
135 Summary: A C++ interface for glib library - header files
136 Summary(pl): Interfejs C++ dla biblioteki glib - pliki nag³ówkowe
137 Group: X11/Development/Libraries
138 Requires: %{name}-glib = %{version}-%{release}
139 Requires: glib2-devel >= 2.2.1
140 Requires: libsigc++-devel >= 1.2.1
141 Requires: libstdc++-devel >= 5:3.3.1
143 %description glib-devel
144 A C++ interface for glib library - header files.
146 %description glib-devel -l pl
147 Interfejs C++ dla biblioteki glib - pliki nag³ówkowe.
150 Summary: A C++ interface for glib library - static version
151 Summary(pl): Interfejs C++ dla biblioteki glib - wersja statyczna
152 Group: X11/Development/Libraries
153 Requires: %{name}-glib-devel = %{version}-%{release}
155 %description glib-static
156 A C++ interface for glib library - static version.
158 %description glib-static -l pl
159 Interfejs C++ dla biblioteki glib - wersja statyczna.
162 Summary: A C++ interface for pango library
163 Summary(pl): Interfejs C++ dla biblioteki pango
164 Group: X11/Development/Libraries
165 Requires: %{name}-glib = %{version}-%{release}
168 A C++ interface for pango library.
170 %description pango -l pl
171 Interfejs C++ dla biblioteki pango.
174 Summary: A C++ interface for pango library - header files
175 Summary(pl): Interfejs C++ dla biblioteki pango - pliki nag³ówkowe
176 Group: X11/Development/Libraries
177 Requires: %{name}-glib-devel = %{version}-%{release}
178 Requires: %{name}-pango = %{version}-%{release}
179 Requires: pango-devel >= 1.2.1
181 %description pango-devel
182 A C++ interface for pango library - header files.
184 %description pango-devel -l pl
185 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
187 %package pango-static
188 Summary: A C++ interface for pango library - static version
189 Summary(pl): Interfejs C++ dla biblioteki pango - wersja statyczna
190 Group: X11/Development/Libraries
191 Requires: %{name}-pango-devel = %{version}-%{release}
193 %description pango-static
194 A C++ interface for pango library - static version.
196 %description pango-static -l pl
197 Interfejs C++ dla biblioteki pango - wersja statyczna.
205 %{__aclocal} -I scripts
209 # exceptions and rtti are used in this package --misiek
215 rm -rf $RPM_BUILD_ROOT
216 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
219 DESTDIR=$RPM_BUILD_ROOT \
220 pkgconfigdir=%{_pkgconfigdir}
222 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.0/docs installed-docs
223 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.0/examples/* \
224 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
227 rm -rf $RPM_BUILD_ROOT
229 %post -p /sbin/ldconfig
230 %postun -p /sbin/ldconfig
232 %post atk -p /sbin/ldconfig
233 %postun atk -p /sbin/ldconfig
235 %post glib -p /sbin/ldconfig
236 %postun glib -p /sbin/ldconfig
238 %post pango -p /sbin/ldconfig
239 %postun pango -p /sbin/ldconfig
242 %defattr(644,root,root,755)
243 %doc README ChangeLog AUTHORS NEWS
244 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
249 %{_libdir}/libg[dt]kmm*.la
251 %{_libdir}/gtkmm-*/include/g[dt]kmm*
252 %dir %{_libdir}/gtkmm-2.0/proc
253 %{_libdir}/gtkmm-*/proc/m4
254 %{_libdir}/gtkmm-*/proc/pm
255 %attr(755,root,root) %{_libdir}/gtkmm-*/proc/gtkmmproc
256 %attr(755,root,root) %{_libdir}/gtkmm-*/proc/*.pl
258 %{_includedir}/gtkmm-2.0/g[dt]kmm*
259 %{_pkgconfigdir}/g[dt]kmm*.pc
262 %defattr(644,root,root,755)
263 %doc installed-docs/*
264 %{_examplesdir}/%{name}-%{version}
267 %defattr(644,root,root,755)
268 %{_libdir}/libg[dt]kmm*.a
271 %defattr(644,root,root,755)
272 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_libdir}/libatkmm*.so
277 %{_libdir}/libatkmm*.la
278 %{_pkgconfigdir}/atkmm*.pc
279 %{_includedir}/gtkmm-2.0/atkmm*
282 %defattr(644,root,root,755)
283 %{_libdir}/libatkmm*.a
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_libdir}/libglibmm*.so.*.*
290 %defattr(644,root,root,755)
291 %attr(755,root,root) %{_libdir}/libglibmm*.so
292 %{_libdir}/libglibmm*.la
294 %dir %{_libdir}/gtkmm-2.0
295 %dir %{_libdir}/gtkmm-2.0/include
296 %{_libdir}/gtkmm-*/include/glibmm*
298 %dir %{_includedir}/gtkmm-2.0
299 %{_includedir}/gtkmm-2.0/glibmm*
300 %{_pkgconfigdir}/glibmm*.pc
303 %defattr(644,root,root,755)
304 %{_libdir}/libglibmm*.a
307 %defattr(644,root,root,755)
308 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
311 %defattr(644,root,root,755)
312 %attr(755,root,root) %{_libdir}/libpangomm*.so
313 %{_libdir}/libpangomm*.la
314 %{_pkgconfigdir}/pangomm*.pc
315 %{_includedir}/gtkmm-2.0/pangomm*
318 %defattr(644,root,root,755)
319 %{_libdir}/libpangomm*.a