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.4/%{name}-%{version}.tar.bz2
10 # Source0-md5: f7448e8ae6e749fb2a8a16aa26dbaf30
11 Patch0: %{name}-link.patch
12 URL: http://gtkmm.sourceforge.net/
13 BuildRequires: atk-devel >= 1.6.0
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: glibmm-devel >= 2.4.1
17 BuildRequires: graphviz
18 BuildRequires: gtk+2-devel >= 2:2.4.0
19 BuildRequires: libsigc++-devel >= 1:2.0.1
20 BuildRequires: libstdc++-devel >= 5:3.3.1
21 BuildRequires: libtool >= 2:1.4d-3
22 BuildRequires: pango-devel >= 1.4.0
23 BuildRequires: perl-base >= 5.6
24 BuildRequires: pkgconfig
25 BuildRequires: rpm-perlprov >= 3.0.3-16
26 Requires: %{name}-atk = %{version}-%{release}
27 Requires: %{name}-pango = %{version}-%{release}
29 Requires: glibmm >= 2.4.1
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
35 library. The interface provides a convenient interface for C++
36 programmers to create GUIs with GTK+'s flexible object-oriented
37 framework. Features include type safe callbacks, widgets that are
38 extensible using inheritance and over 110 classes that can be freely
39 combined to quickly create complex user interfaces.
42 GTK-- jest wrapperem C++ dla Gimp ToolKit (GTK). GTK jest bibliotek±
43 s³u¿±c± do tworzenia graficznych interfejsów. W pakiecie znajduje siê
44 tak¿e biblioteka GDK-- - wrapper C++ dla GDK (General Drawing Kit).
47 Summary: GTK-- and GDK-- header files, development documentation
48 Summary(pl): Pliki nag³ówkowe GTK-- i GDK--, dokumentacja dla programistów
49 Group: X11/Development/Libraries
50 Requires: %{name} = %{version}-%{release}
51 Requires: %{name}-atk-devel = %{version}-%{release}
52 Requires: %{name}-pango-devel = %{version}-%{release}
53 Requires: glibmm-devel >= 2.4.1
54 Requires: gtk+2-devel >= 2:2.4.0
55 Requires: libsigc++-devel >= 1:2.0.1
58 Header files and development documentation for GTK-- library.
60 %description devel -l pl
61 Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
64 Summary: Reference documentation and examples for GTK-- and GDK--
65 Summary(pl): Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--
70 Reference documentation and examples for GTK-- and GDK--.
72 %description doc -l pl
73 Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--.
76 Summary: GTK-- and GDK-- static libraries
77 Summary(pl): Biblioteki statyczne GTK-- i GDK--
78 Group: X11/Development/Libraries
79 Requires: %{name}-devel = %{version}-%{release}
82 GTK-- and GDK-- static libraries.
84 %description static -l pl
85 Biblioteki statyczne GTK-- i GDK--.
88 Summary: A C++ interface for atk library
89 Summary(pl): Interfejs C++ dla biblioteki atk
90 Group: X11/Development/Libraries
91 Requires: glibmm >= 2.4.1
94 A C++ interface for atk library.
96 %description atk -l pl
97 Interfejs C++ dla biblioteki atk.
100 Summary: A C++ interface for atk library - header files
101 Summary(pl): Interfejs C++ dla biblioteki atk - pliki nag³ówkowe
102 Group: X11/Development/Libraries
103 Requires: %{name}-atk = %{version}-%{release}
104 Requires: atk-devel >= 1.6.0
105 Requires: glibmm-devel >= 2.4.1
107 %description atk-devel
108 A C++ interface for atk library - header files.
110 %description atk-devel -l pl
111 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
114 Summary: A C++ interface for atk library - static version
115 Summary(pl): Interfejs C++ dla biblioteki atk - wersja statyczna
116 Group: X11/Development/Libraries
117 Requires: %{name}-atk-devel = %{version}-%{release}
119 %description atk-static
120 A C++ interface for atk library - static version.
122 %description atk-static -l pl
123 Interfejs C++ dla biblioteki atk - wersja statyczna.
126 Summary: A C++ interface for pango library
127 Summary(pl): Interfejs C++ dla biblioteki pango
128 Group: X11/Development/Libraries
129 Requires: glibmm >= 2.4.1
132 A C++ interface for pango library.
134 %description pango -l pl
135 Interfejs C++ dla biblioteki pango.
138 Summary: A C++ interface for pango library - header files
139 Summary(pl): Interfejs C++ dla biblioteki pango - pliki nag³ówkowe
140 Group: X11/Development/Libraries
141 Requires: %{name}-pango = %{version}-%{release}
142 Requires: glibmm-devel >= 2.4.1
143 Requires: pango-devel >= 1.4.0
145 %description pango-devel
146 A C++ interface for pango library - header files.
148 %description pango-devel -l pl
149 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
151 %package pango-static
152 Summary: A C++ interface for pango library - static version
153 Summary(pl): Interfejs C++ dla biblioteki pango - wersja statyczna
154 Group: X11/Development/Libraries
155 Requires: %{name}-pango-devel = %{version}-%{release}
157 %description pango-static
158 A C++ interface for pango library - static version.
160 %description pango-static -l pl
161 Interfejs C++ dla biblioteki pango - wersja statyczna.
169 %{__aclocal} -I scripts
173 # exceptions and rtti are used in this package --misiek
179 rm -rf $RPM_BUILD_ROOT
180 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
183 DESTDIR=$RPM_BUILD_ROOT \
184 pkgconfigdir=%{_pkgconfigdir}
186 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.4/{examples,tests} \
187 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
190 rm -rf $RPM_BUILD_ROOT
192 %post -p /sbin/ldconfig
193 %postun -p /sbin/ldconfig
195 %post atk -p /sbin/ldconfig
196 %postun atk -p /sbin/ldconfig
198 %post pango -p /sbin/ldconfig
199 %postun pango -p /sbin/ldconfig
202 %defattr(644,root,root,755)
203 %doc AUTHORS ChangeLog CHANGES NEWS PORTING README
204 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
207 %defattr(644,root,root,755)
208 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
209 %{_libdir}/libg[dt]kmm*.la
210 %{_libdir}/g[dt]kmm-2.4
211 %{_includedir}/g[dt]kmm-2.4
212 %{_pkgconfigdir}/g[dt]kmm*.pc
215 %defattr(644,root,root,755)
216 %doc %{_docdir}/gtkmm-2.4
217 %{_examplesdir}/%{name}-%{version}
218 %doc %{_datadir}/devhelp/books/gtkmm-2.4
221 %defattr(644,root,root,755)
222 %{_libdir}/libg[dt]kmm*.a
225 %defattr(644,root,root,755)
226 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
229 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_libdir}/libatkmm*.so
231 %{_libdir}/libatkmm*.la
232 %{_pkgconfigdir}/atkmm*.pc
233 %{_includedir}/atkmm-1.6
236 %defattr(644,root,root,755)
237 %{_libdir}/libatkmm*.a
240 %defattr(644,root,root,755)
241 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
244 %defattr(644,root,root,755)
245 %attr(755,root,root) %{_libdir}/libpangomm*.so
246 %{_libdir}/libpangomm*.la
247 %{_pkgconfigdir}/pangomm*.pc
248 %{_includedir}/pangomm-1.4
251 %defattr(644,root,root,755)
252 %{_libdir}/libpangomm*.a