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: 7aedecbf6878a7fa88b0ed636a7b9342
11 Patch0: %{name}-link.patch
12 URL: http://gtkmm.sourceforge.net/
13 BuildRequires: atk-devel >= 1.6.1
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: glibmm-devel >= 2.4.4
17 BuildRequires: graphviz
18 BuildRequires: gtk+2-devel >= 2:2.4.4
19 BuildRequires: libstdc++-devel >= 5:3.3.1
20 BuildRequires: libtool >= 2:1.4d-3
21 BuildRequires: pango-devel >= 1:1.4.0
22 BuildRequires: perl-base >= 1:5.6.0
23 BuildRequires: pkgconfig
24 BuildRequires: rpm-perlprov >= 3.0.3-16
25 Requires: %{name}-atk = %{version}-%{release}
26 Requires: %{name}-pango = %{version}-%{release}
28 Requires: glibmm >= 2.4.4
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This package provides a C++ interface for GTK+ (the Gimp ToolKit) GUI
34 library. The interface provides a convenient interface for C++
35 programmers to create GUIs with GTK+'s flexible object-oriented
36 framework. Features include type safe callbacks, widgets that are
37 extensible using inheritance and over 110 classes that can be freely
38 combined to quickly create complex user interfaces.
41 GTK-- jest wrapperem C++ dla Gimp ToolKit (GTK). GTK+ jest bibliotek±
42 s³u¿±c± do tworzenia graficznych interfejsów. W pakiecie znajduje siê
43 tak¿e biblioteka GDK-- - wrapper C++ dla GDK (General Drawing Kit).
46 Summary: GTK-- and GDK-- header files, development documentation
47 Summary(pl): Pliki nag³ówkowe GTK-- i GDK--, dokumentacja dla programistów
48 Group: X11/Development/Libraries
49 Requires: %{name} = %{version}-%{release}
50 Requires: %{name}-atk-devel = %{version}-%{release}
51 Requires: %{name}-pango-devel = %{version}-%{release}
52 Requires: glibmm-devel >= 2.4.4
53 Requires: gtk+2-devel >= 2:2.4.4
54 Requires: libsigc++-devel >= 1:2.0.3
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--
69 Reference documentation and examples for GTK-- and GDK--.
71 %description doc -l pl
72 Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--.
75 Summary: GTK-- and GDK-- static libraries
76 Summary(pl): Biblioteki statyczne GTK-- i GDK--
77 Group: X11/Development/Libraries
78 Requires: %{name}-devel = %{version}-%{release}
81 GTK-- and GDK-- static libraries.
83 %description static -l pl
84 Biblioteki statyczne GTK-- i GDK--.
87 Summary: A C++ interface for atk library
88 Summary(pl): Interfejs C++ dla biblioteki atk
89 Group: X11/Development/Libraries
90 Requires: glibmm >= 2.4.4
93 A C++ interface for atk library.
95 %description atk -l pl
96 Interfejs C++ dla biblioteki atk.
99 Summary: A C++ interface for atk library - header files
100 Summary(pl): Interfejs C++ dla biblioteki atk - pliki nag³ówkowe
101 Group: X11/Development/Libraries
102 Requires: %{name}-atk = %{version}-%{release}
103 Requires: atk-devel >= 1.6.1
104 Requires: glibmm-devel >= 2.4.4
106 %description atk-devel
107 A C++ interface for atk library - header files.
109 %description atk-devel -l pl
110 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
113 Summary: A C++ interface for atk library - static version
114 Summary(pl): Interfejs C++ dla biblioteki atk - wersja statyczna
115 Group: X11/Development/Libraries
116 Requires: %{name}-atk-devel = %{version}-%{release}
118 %description atk-static
119 A C++ interface for atk library - static version.
121 %description atk-static -l pl
122 Interfejs C++ dla biblioteki atk - wersja statyczna.
125 Summary: A C++ interface for pango library
126 Summary(pl): Interfejs C++ dla biblioteki pango
127 Group: X11/Development/Libraries
128 Requires: glibmm >= 2.4.4
131 A C++ interface for pango library.
133 %description pango -l pl
134 Interfejs C++ dla biblioteki pango.
137 Summary: A C++ interface for pango library - header files
138 Summary(pl): Interfejs C++ dla biblioteki pango - pliki nag³ówkowe
139 Group: X11/Development/Libraries
140 Requires: %{name}-pango = %{version}-%{release}
141 Requires: glibmm-devel >= 2.4.4
142 Requires: pango-devel >= 1:1.4.0
144 %description pango-devel
145 A C++ interface for pango library - header files.
147 %description pango-devel -l pl
148 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
150 %package pango-static
151 Summary: A C++ interface for pango library - static version
152 Summary(pl): Interfejs C++ dla biblioteki pango - wersja statyczna
153 Group: X11/Development/Libraries
154 Requires: %{name}-pango-devel = %{version}-%{release}
156 %description pango-static
157 A C++ interface for pango library - static version.
159 %description pango-static -l pl
160 Interfejs C++ dla biblioteki pango - wersja statyczna.
168 %{__aclocal} -I scripts
172 # exceptions and rtti are used in this package --misiek
178 rm -rf $RPM_BUILD_ROOT
179 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
182 DESTDIR=$RPM_BUILD_ROOT \
183 pkgconfigdir=%{_pkgconfigdir}
185 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.4/{examples,tests} \
186 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
189 rm -rf $RPM_BUILD_ROOT
191 %post -p /sbin/ldconfig
192 %postun -p /sbin/ldconfig
194 %post atk -p /sbin/ldconfig
195 %postun atk -p /sbin/ldconfig
197 %post pango -p /sbin/ldconfig
198 %postun pango -p /sbin/ldconfig
201 %defattr(644,root,root,755)
202 %doc AUTHORS ChangeLog CHANGES NEWS PORTING README
203 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
206 %defattr(644,root,root,755)
207 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
208 %{_libdir}/libg[dt]kmm*.la
209 %{_libdir}/g[dt]kmm-2.4
210 %{_includedir}/g[dt]kmm-2.4
211 %{_pkgconfigdir}/g[dt]kmm*.pc
214 %defattr(644,root,root,755)
215 %doc %{_docdir}/gtkmm-2.4
216 %{_examplesdir}/%{name}-%{version}
217 %doc %{_datadir}/devhelp/books/gtkmm-2.4
220 %defattr(644,root,root,755)
221 %{_libdir}/libg[dt]kmm*.a
224 %defattr(644,root,root,755)
225 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_libdir}/libatkmm*.so
230 %{_libdir}/libatkmm*.la
231 %{_pkgconfigdir}/atkmm*.pc
232 %{_includedir}/atkmm-1.6
235 %defattr(644,root,root,755)
236 %{_libdir}/libatkmm*.a
239 %defattr(644,root,root,755)
240 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
243 %defattr(644,root,root,755)
244 %attr(755,root,root) %{_libdir}/libpangomm*.so
245 %{_libdir}/libpangomm*.la
246 %{_pkgconfigdir}/pangomm*.pc
247 %{_includedir}/pangomm-1.4
250 %defattr(644,root,root,755)
251 %{_libdir}/libpangomm*.a