]> git.pld-linux.org Git - packages/gtkmm.git/blob - gtkmm.spec
907cf78d6d412910d1eb3cfa973480c7b971fc33
[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.4.3
6 Release:        1
7 License:        LGPL
8 Group:          X11/Libraries
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.4/%{name}-%{version}.tar.bz2
10 # Source0-md5:  985cef6d763928f0105185a3625e7479
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.3
17 BuildRequires:  graphviz
18 BuildRequires:  gtk+2-devel >= 2:2.4.3
19 BuildRequires:  libsigc++-devel >= 1:2.0.3
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}
28 Requires:       cpp
29 Requires:       glibmm >= 2.4.3
30 Obsoletes:      Gtk--
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
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.
40
41 %description -l pl
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).
45
46 %package devel
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.3
54 Requires:       gtk+2-devel >= 2:2.4.3
55 Requires:       libsigc++-devel >= 1:2.0.3
56
57 %description devel
58 Header files and development documentation for GTK-- library.
59
60 %description devel -l pl
61 Pliki nag³ówkowe i dokumentacja dla programistów do biblioteki GTK--.
62
63 %package doc
64 Summary:        Reference documentation and examples for GTK-- and GDK--
65 Summary(pl):    Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--
66 Group:          Documentation
67 Requires:       devhelp
68
69 %description doc
70 Reference documentation and examples for GTK-- and GDK--.
71
72 %description doc -l pl
73 Szczegó³owa dokumentacja i przyk³ady dla GTK-- i GDK--.
74
75 %package static
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}
80
81 %description static
82 GTK-- and GDK-- static libraries.
83
84 %description static -l pl
85 Biblioteki statyczne GTK-- i GDK--.
86
87 %package atk
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.3
92
93 %description atk
94 A C++ interface for atk library.
95
96 %description atk -l pl
97 Interfejs C++ dla biblioteki atk.
98
99 %package atk-devel
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.1
105 Requires:       glibmm-devel >= 2.4.3
106
107 %description atk-devel
108 A C++ interface for atk library - header files.
109
110 %description atk-devel -l pl
111 Interfejs C++ dla biblioteki atk - pliki nag³ówkowe.
112
113 %package atk-static
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}
118
119 %description atk-static
120 A C++ interface for atk library - static version.
121
122 %description atk-static -l pl
123 Interfejs C++ dla biblioteki atk - wersja statyczna.
124
125 %package pango
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.3
130
131 %description pango
132 A C++ interface for pango library.
133
134 %description pango -l pl
135 Interfejs C++ dla biblioteki pango.
136
137 %package pango-devel
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.3
143 Requires:       pango-devel >= 1.4.0
144
145 %description pango-devel
146 A C++ interface for pango library - header files.
147
148 %description pango-devel -l pl
149 Interfejs C++ dla biblioteki pango - pliki nag³ówkowe.
150
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}
156
157 %description pango-static
158 A C++ interface for pango library - static version.
159
160 %description pango-static -l pl
161 Interfejs C++ dla biblioteki pango - wersja statyczna.
162
163 %prep
164 %setup -q
165 %patch0 -p1
166
167 %build
168 %{__libtoolize}
169 %{__aclocal} -I scripts
170 %{__autoconf}
171 %{__autoheader}
172 %{__automake}
173 # exceptions and rtti are used in this package --misiek
174 %configure \
175         --enable-static=yes
176 %{__make}
177
178 %install
179 rm -rf $RPM_BUILD_ROOT
180 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
181
182 %{__make} install \
183         DESTDIR=$RPM_BUILD_ROOT \
184         pkgconfigdir=%{_pkgconfigdir}
185
186 mv -f $RPM_BUILD_ROOT%{_docdir}/gtkmm-2.4/{examples,tests} \
187         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
188
189 %clean
190 rm -rf $RPM_BUILD_ROOT
191
192 %post   -p /sbin/ldconfig
193 %postun -p /sbin/ldconfig
194
195 %post   atk -p /sbin/ldconfig
196 %postun atk -p /sbin/ldconfig
197
198 %post   pango -p /sbin/ldconfig
199 %postun pango -p /sbin/ldconfig
200
201 %files
202 %defattr(644,root,root,755)
203 %doc AUTHORS ChangeLog CHANGES NEWS PORTING README
204 %attr(755,root,root) %{_libdir}/libg[dt]kmm*.so.*.*
205
206 %files devel
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
213
214 %files doc
215 %defattr(644,root,root,755)
216 %doc %{_docdir}/gtkmm-2.4
217 %{_examplesdir}/%{name}-%{version}
218 %doc %{_datadir}/devhelp/books/gtkmm-2.4
219
220 %files static
221 %defattr(644,root,root,755)
222 %{_libdir}/libg[dt]kmm*.a
223
224 %files atk
225 %defattr(644,root,root,755)
226 %attr(755,root,root) %{_libdir}/libatkmm*.so.*.*
227
228 %files atk-devel
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
234
235 %files atk-static
236 %defattr(644,root,root,755)
237 %{_libdir}/libatkmm*.a
238
239 %files pango
240 %defattr(644,root,root,755)
241 %attr(755,root,root) %{_libdir}/libpangomm*.so.*.*
242
243 %files pango-devel
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
249
250 %files pango-static
251 %defattr(644,root,root,755)
252 %{_libdir}/libpangomm*.a
This page took 0.054644 seconds and 2 git commands to generate.