]> git.pld-linux.org Git - packages/gtkmm.git/blob - gtkmm.spec
- added gcc 3.3 patch, build and works now
[packages/gtkmm.git] / gtkmm.spec
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+
4 Name:           gtkmm
5 Version:        2.2.3
6 Release:        0.1
7 License:        LGPL
8 Group:          X11/Libraries
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}
31 Requires:       cpp
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Obsoletes:      Gtk--
34
35 %description
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.
42
43 %description -l pl
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).
47
48 %package devel
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
58
59 %description devel
60 Header files and development documentation for GTK-- library.
61
62 %description devel -l pl
63 Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
64
65 %package static
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}
70
71 %description static
72 GTK-- and GDK-- static libraries.
73
74 %description static -l pl
75 Biblioteki statyczne GTK-- i GDK--.
76
77 %package atk
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}
82
83 %description atk
84 A C++ interface for atk library.
85
86 %description atk -l pl
87 Interfejs C++ dla biblioteki atk.
88
89 %package atk-devel
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
96
97 %description atk-devel
98 A C++ interface for atk library - header files.
99
100 %description atk-devel -l pl
101 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
102
103 %package atk-static
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}
108
109 %description atk-static
110 A C++ interface for atk library - static version.
111
112 %description atk-static -l pl
113 Interfejs C++ dla biblioteki atk - wersja statyczna.
114
115 %package glib
116 Summary:        A C++ interface for glib library
117 Summary(pl):    Interfejs C++ dla biblioteki glib
118 Group:          X11/Development/Libraries
119
120 %description glib
121 A C++ interface for glib library.
122
123 %description glib -l pl
124 Interfejs C++ dla biblioteki glib.
125
126 %package glib-devel
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
133
134 %description glib-devel
135 A C++ interface for glib library - header files.
136
137 %description glib-devel -l pl
138 Interfejs C++ dla biblioteki glib - pliki nag³ówkowe.
139
140 %package glib-static
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}
145
146 %description glib-static
147 A C++ interface for glib library - static version.
148
149 %description glib-static -l pl
150 Interfejs C++ dla biblioteki glib - wersja statyczna.
151
152 %package pango
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}
157
158 %description pango
159 A C++ interface for pango library.
160
161 %description pango -l pl
162 Interfejs C++ dla biblioteki pango.
163
164 %package pango-devel
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
171
172 %description pango-devel
173 A C++ interface for pango library - header files.
174
175 %description pango-devel -l pl
176 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
177
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}
183
184 %description pango-static
185 A C++ interface for pango library - static version.
186
187 %description pango-static -l pl
188 Interfejs C++ dla biblioteki pango - wersja statyczna.
189
190 %prep
191 %setup -q -n gtkmm-%{version}
192 %patch0 -p1
193 %patch1 -p1
194
195 %build
196 %{__libtoolize}
197 %{__aclocal} -I scripts
198 %{__autoconf}
199 %{__autoheader}
200 %{__automake}
201 # exceptions and rtti are used in this package --misiek
202 %configure \
203         --enable-static=yes
204 %{__make}
205
206 %install
207 rm -rf $RPM_BUILD_ROOT
208
209 %{__make} install \
210         DESTDIR=$RPM_BUILD_ROOT \
211         pkgconfigdir=%{_pkgconfigdir}
212
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}
217
218 %clean
219 rm -rf $RPM_BUILD_ROOT
220
221 %post   -p /sbin/ldconfig
222 %postun -p /sbin/ldconfig
223
224 %post   -n %{name}-atk -p /sbin/ldconfig
225 %postun -n %{name}-atk -p /sbin/ldconfig
226
227 %post   -n %{name}-glib -p /sbin/ldconfig
228 %postun -n %{name}-glib -p /sbin/ldconfig
229
230 %post   -n %{name}-pango -p /sbin/ldconfig
231 %postun -n %{name}-pango -p /sbin/ldconfig
232
233 %files
234 %defattr(644,root,root,755)
235 %doc README ChangeLog AUTHORS NEWS
236 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
237
238 %files devel
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
243
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
250
251 %{_includedir}/gtkmm-2.0/g[dt]kmm*
252 %{_pkgconfigdir}/g[dt]kmm*.pc
253 %{_examplesdir}/%{name}-%{version}
254
255 %files static
256 %defattr(644,root,root,755)
257 %{_libdir}/libg[dt]kmm*.a
258
259 %files atk
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
262
263 %files atk-devel
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*
269
270 %files atk-static
271 %defattr(644,root,root,755)
272 %{_libdir}/libatkmm*.a
273
274 %files glib
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_libdir}/libglibmm*.so.*.*
277
278 %files glib-devel
279 %defattr(644,root,root,755)
280 %attr(755,root,root) %{_libdir}/libglibmm*.so
281 %{_libdir}/libglibmm*.la
282
283 %dir %{_libdir}/gtkmm-2.0
284 %dir %{_libdir}/gtkmm-2.0/include
285 %{_libdir}/gtkmm-*/include/glibmm*
286
287 %dir %{_includedir}/gtkmm-2.0
288 %{_includedir}/gtkmm-2.0/glibmm*
289 %{_pkgconfigdir}/glibmm*.pc
290
291 %files glib-static
292 %defattr(644,root,root,755)
293 %{_libdir}/libglibmm*.a
294
295 %files pango
296 %defattr(644,root,root,755)
297 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
298
299 %files pango-devel
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*
305
306 %files pango-static
307 %defattr(644,root,root,755)
308 %{_libdir}/libpangomm*.a
This page took 0.079271 seconds and 3 git commands to generate.