]> git.pld-linux.org Git - packages/gtkmm.git/blob - gtkmm.spec
51ca0dab587edda563762b8e26771d64362786f8
[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.9
6 Release:        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:  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}
30 Requires:       cpp
31 Obsoletes:      Gtk--
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
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.
41
42 %description -l pl
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).
46
47 %package devel
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
55
56 %description devel
57 Header files and development documentation for GTK-- library.
58
59 %description devel -l pl
60 Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
61
62 %package doc
63 Summary:        Reference documentation and examples for GTK-- and GDK--
64 Summary(pl):    Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--
65 Group:          Documentation
66
67 %description doc
68 Reference documentation and examples for GTK-- and GDK--.
69
70 %description doc -l pl
71 Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--.
72
73 %package static
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}
78
79 %description static
80 GTK-- and GDK-- static libraries.
81
82 %description static -l pl
83 Biblioteki statyczne GTK-- i GDK--.
84
85 %package atk
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}
90
91 %description atk
92 A C++ interface for atk library.
93
94 %description atk -l pl
95 Interfejs C++ dla biblioteki atk.
96
97 %package atk-devel
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
104
105 %description atk-devel
106 A C++ interface for atk library - header files.
107
108 %description atk-devel -l pl
109 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
110
111 %package atk-static
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}
116
117 %description atk-static
118 A C++ interface for atk library - static version.
119
120 %description atk-static -l pl
121 Interfejs C++ dla biblioteki atk - wersja statyczna.
122
123 %package glib
124 Summary:        A C++ interface for glib library
125 Summary(pl):    Interfejs C++ dla biblioteki glib
126 Group:          X11/Development/Libraries
127
128 %description glib
129 A C++ interface for glib library.
130
131 %description glib -l pl
132 Interfejs C++ dla biblioteki glib.
133
134 %package glib-devel
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
142
143 %description glib-devel
144 A C++ interface for glib library - header files.
145
146 %description glib-devel -l pl
147 Interfejs C++ dla biblioteki glib - pliki nag³ówkowe.
148
149 %package glib-static
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}
154
155 %description glib-static
156 A C++ interface for glib library - static version.
157
158 %description glib-static -l pl
159 Interfejs C++ dla biblioteki glib - wersja statyczna.
160
161 %package pango
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}
166
167 %description pango
168 A C++ interface for pango library.
169
170 %description pango -l pl
171 Interfejs C++ dla biblioteki pango.
172
173 %package pango-devel
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
180
181 %description pango-devel
182 A C++ interface for pango library - header files.
183
184 %description pango-devel -l pl
185 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
186
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}
192
193 %description pango-static
194 A C++ interface for pango library - static version.
195
196 %description pango-static -l pl
197 Interfejs C++ dla biblioteki pango - wersja statyczna.
198
199 %prep
200 %setup -q
201 %patch0 -p1
202
203 %build
204 %{__libtoolize}
205 %{__aclocal} -I scripts
206 %{__autoconf}
207 %{__autoheader}
208 %{__automake}
209 # exceptions and rtti are used in this package --misiek
210 %configure \
211         --enable-static=yes
212 %{__make}
213
214 %install
215 rm -rf $RPM_BUILD_ROOT
216 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
217
218 %{__make} install \
219         DESTDIR=$RPM_BUILD_ROOT \
220         pkgconfigdir=%{_pkgconfigdir}
221
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}
225
226 %clean
227 rm -rf $RPM_BUILD_ROOT
228
229 %post   -p /sbin/ldconfig
230 %postun -p /sbin/ldconfig
231
232 %post   atk -p /sbin/ldconfig
233 %postun atk -p /sbin/ldconfig
234
235 %post   glib -p /sbin/ldconfig
236 %postun glib -p /sbin/ldconfig
237
238 %post   pango -p /sbin/ldconfig
239 %postun pango -p /sbin/ldconfig
240
241 %files
242 %defattr(644,root,root,755)
243 %doc README ChangeLog AUTHORS NEWS
244 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
245
246 %files devel
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so
249 %{_libdir}/libg[dt]kmm*.la
250
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
257
258 %{_includedir}/gtkmm-2.0/g[dt]kmm*
259 %{_pkgconfigdir}/g[dt]kmm*.pc
260
261 %files doc
262 %defattr(644,root,root,755)
263 %doc installed-docs/*
264 %{_examplesdir}/%{name}-%{version}
265
266 %files static
267 %defattr(644,root,root,755)
268 %{_libdir}/libg[dt]kmm*.a
269
270 %files atk
271 %defattr(644,root,root,755)
272 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
273
274 %files atk-devel
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*
280
281 %files atk-static
282 %defattr(644,root,root,755)
283 %{_libdir}/libatkmm*.a
284
285 %files glib
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_libdir}/libglibmm*.so.*.*
288
289 %files glib-devel
290 %defattr(644,root,root,755)
291 %attr(755,root,root) %{_libdir}/libglibmm*.so
292 %{_libdir}/libglibmm*.la
293
294 %dir %{_libdir}/gtkmm-2.0
295 %dir %{_libdir}/gtkmm-2.0/include
296 %{_libdir}/gtkmm-*/include/glibmm*
297
298 %dir %{_includedir}/gtkmm-2.0
299 %{_includedir}/gtkmm-2.0/glibmm*
300 %{_pkgconfigdir}/glibmm*.pc
301
302 %files glib-static
303 %defattr(644,root,root,755)
304 %{_libdir}/libglibmm*.a
305
306 %files pango
307 %defattr(644,root,root,755)
308 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
309
310 %files pango-devel
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*
316
317 %files pango-static
318 %defattr(644,root,root,755)
319 %{_libdir}/libpangomm*.a
This page took 0.067197 seconds and 2 git commands to generate.